import type { Context } from '@deepseek-ai/cordis'; import type { ReactElement } from 'react'; import type { ReplayRecoveryDuration } from './replay-recovery-types.ts'; import type { SessionContinuationRemote } from './session-continuation-ui.ts'; export interface ReplayRecoveryRemote { get(agentId: string): Promise<{ ok: boolean; value?: unknown; }>; setEnabled(agentId: string, revision: string, enabled: boolean): Promise<{ ok: boolean; value?: unknown; }>; authorize(agentId: string, revision: string, duration: ReplayRecoveryDuration): Promise<{ ok: boolean; value?: unknown; }>; } export declare function ReplayRecoveryCard({ sessionId, remote, continuation, locale, running, refreshKey }: { sessionId: string; remote: ReplayRecoveryRemote; locale?: string; running?: boolean; refreshKey?: string; continuation?: SessionContinuationRemote; }): ReactElement | null; export declare function registerReplayRecoveryUi(ctx: Context): () => void; //# sourceMappingURL=replay-recovery-ui.d.ts.map