export interface ImportResult { destRoot: string; workspaceFiles: number; /** Provider id → number of session-trace files restored. */ restoredByProvider: Record; manifestRestored: boolean; } /** * Restore an agent backup ZIP into a destination folder and wire up its * session state so it resumes there. Mirrors {@link './export'} using the * same shared layout (DRY). * * The workspace `.autodev/` (including `session-state.json`) is restored * verbatim, so connected session IDs travel automatically — the per-provider * `restore()` calls place the matching traces into each host store. */ export declare function restoreAgentBackup(zipPath: string, destRoot: string): Promise; /** * Interactive command flow: pick a backup ZIP, pick a destination folder, * restore, then offer to open the restored workspace. */