/** * GAP-RUN-002: Run Archival and Restore. * * Provides primitives for archiving completed runs to compressed files, * restoring them, and managing archive manifests. */ export interface ArchiveManifest { /** Run ID of the archived run. */ runId: string; /** ISO timestamp when the archive was created. */ archivedAt: string; /** Original run directory path. */ originalDir: string; /** Path to the archive file. */ archivePath: string; /** Size of the compressed archive in bytes. */ compressedSize: number; } /** * Archive a run directory by creating a compressed .json.gz file and a manifest. * Collects all JSON files in the run directory recursively into a single archive. */ export declare function archiveRun(runDir: string, archiveDir: string): Promise; /** * Restore an archive to a target directory. */ export declare function restoreRun(archivePath: string, targetDir: string): Promise; /** * List all archives in a directory by reading manifest files. */ export declare function listArchives(archiveDir: string): Promise; //# sourceMappingURL=runArchival.d.ts.map