import { type RecoveryMeta } from '@pixerate/editor/persistence'; interface Props { /** `createAutosave(...).recovery`; nothing renders while it is `null`. */ recovery: { meta: RecoveryMeta; } | null; onRestore: () => void; onDiscard: () => void; /** Formats the snapshot time (default `toLocaleString`). */ formatTime?: (time: number) => string; restoreLabel?: string; discardLabel?: string; class?: string; } declare const RecoveryPrompt: import("svelte").Component; type RecoveryPrompt = ReturnType; export default RecoveryPrompt;