Files
agency/.pnpm-store/v3/files/a0/986098da5cb79d76a6432fda82b67303355063e9d5a39768cc69725fe86f9f16176c31504a877ed16e7c78a5b1faf82d1a8ed8e30f1af6c566c279aaa71720
hanzo-agent 5af6960b87 run project
Run: sess_f37640604ae254cb4d11dc6217f7b721
2026-09-30 00:04:56 +00:00

34 lines
1.4 KiB
Plaintext

import { WaitlistEntry } from './client';
import { SharePlatformId, ShareTarget } from './Share';
export interface WaitlistStatusProps {
/** The entry to render. Server is the source of truth; this is just the view. */
entry: WaitlistEntry;
/** Waitlist slug — needed for share + invite POSTs. */
waitlist: string;
/** Base server URL. Defaults to current origin. */
baseUrl?: string;
/** Override the "You're on the list" headline. */
title?: string;
/** Override the subtitle line under the rank. */
subtitle?: (entry: WaitlistEntry) => string;
/** Hide the share grid. */
hideShare?: boolean;
/** Hide the invite-friends panel. */
hideInvite?: boolean;
/** Hide the points score block. */
hidePoints?: boolean;
/** Restrict / reorder share platforms. */
shareTargets?: Array<SharePlatformId | ShareTarget>;
/**
* Called whenever the user earns points locally (share click, invite send)
* so consumers can keep external caches in sync. Receives the updated entry.
*/
onEntryChange?: (next: WaitlistEntry) => void;
}
/**
* Presentational gamified post-join view: rank, points breakdown, share grid,
* invite panel. State-light by design — pass it an entry, render the entry,
* notify the caller on local point gains. No network on mount, no localStorage.
*/
export declare function WaitlistStatus(props: WaitlistStatusProps): import("react").JSX.Element;