import { FC } from 'react'; import { ShareRole, ShareStatus } from './types'; /** Preview payload the consumer resolves for a token before accept/decline. */ export interface SharePreview { resourceType: string; resourceName?: string; role: ShareRole; sharerName?: string; status: ShareStatus; /** Email the invite was addressed to, when the controller exposes it. */ invitedEmail?: string | null; } export interface AcceptSharePageProps { token: string; loadPreview: (token: string) => Promise; accept: (token: string) => Promise; decline: (token: string) => Promise; onAccepted: () => void; currentUserEmail?: string | null; } /** * Generic, controller-driven share-accept page for the `/share/accept/:token` * route. Resolves a preview, then renders the resource + role and Accept/Decline * actions. Handles loading / invalid / expired / already-accepted / wrong-account * states with stable headings (domcontentloaded-friendly for E2E). */ export declare const AcceptSharePage: FC; //# sourceMappingURL=AcceptSharePage.d.ts.map