export interface StorageStatus { currentVersion: number; targetVersion: number; running: boolean; backupPath?: string; cleanupPending?: number; lastError?: string; } export declare class StorageStatusError extends Error { readonly status: number; constructor(status: number); } export declare function readStorageStatus(signal: AbortSignal): Promise; /** GET-only recovery, bounded and cancellable. Never retries the migration POST. */ export declare function waitForStorage(signal: AbortSignal, onWait: () => void, options?: { read?: (signal: AbortSignal) => Promise; delayMs?: number; attempts?: number; }): Promise; //# sourceMappingURL=storage-recovery.d.ts.map