import type { ReactElement } from 'react'; export interface SessionContinuationRemote { get(agentId: string): Promise<{ ok: boolean; value?: unknown; }>; set(agentId: string, revision: number, enabled: boolean | null): Promise<{ ok: boolean; value?: unknown; }>; authorizeNext?(agentId: string, revision: number, enabled: boolean): Promise<{ ok: boolean; value?: unknown; }>; defaults?(): Promise<{ ok: boolean; value?: unknown; }>; setDefault?(revision: number, enabled: boolean): Promise<{ ok: boolean; value?: unknown; }>; } export declare function SessionContinuationCard({ sessionId, remote, locale, running, onEnabledChange, expanded, recovery, onCancel }: { sessionId: string; remote: SessionContinuationRemote | undefined; locale?: string; running?: boolean; expanded?: boolean; recovery?: boolean; onCancel?(): void; onEnabledChange?(enabled: boolean): void; }): ReactElement; export declare function ContinuationDefaultCard({ remote, locale, onSaved }: { remote?: SessionContinuationRemote; locale?: string; onSaved?(): void; }): ReactElement; export declare function useSessionContinuationSwitch({ sessionId, remote, locale, changesAccount, running }: { sessionId: string; remote?: SessionContinuationRemote; locale?: string; running?: boolean; changesAccount(accountId: string | null): Promise; }): { beforeAccountChange(accountId: string | null, signal?: AbortSignal): Promise; content: ReactElement; }; //# sourceMappingURL=session-continuation-ui.d.ts.map