export declare const CAPSULE_ROOT: string; export interface CapsuleManifest { schemaVersion: 1; capsuleId: string; project: string; label: string; description?: string; createdAt: string; signedBy?: string; signature?: string; files: Array<{ rel: string; sizeBytes: number; gzBytes: number; sha256: string; }>; totalSizeBytes: number; totalGzBytes: number; } export interface CapsuleMeta { capsuleId: string; path: string; label: string; description?: string; createdAt: string; sizeBytes: number; signedBy?: string; signature?: string; fileCount: number; } export interface CapsuleDiffMinimal { onlyInA: string[]; onlyInB: string[]; changed: string[]; unchanged: string[]; stats: { addedCount: number; removedCount: number; changedCount: number; }; } export declare class BrainTimeCapsule { /** Freeze the current brain state into a labeled capsule. */ freeze(project: string, label: string, opts?: { description?: string; signedBy?: string; }): Promise<{ capsuleId: string; path: string; sizeBytes: number; }>; /** List all capsules for a project, newest first. */ list(project: string): Promise; /** Inspect a capsule without restoring. Returns manifest + a small sample. */ inspect(capsuleId: string): Promise<{ manifest: CapsuleManifest; sample: Record; }>; /** * Restore a capsule into the active brain. Backs up current state first into * an auto-named pre-restore capsule (so the operation is reversible). */ restore(capsuleId: string, opts?: { into?: string; }): Promise<{ restoredAt: string; replacedFiles: string[]; }>; /** * High-level diff between two capsules. For semantic / entity-level diffing, * call BrainDiff.diff() directly — this is a fast file-level summary. */ diff(capsuleA: string, capsuleB: string): Promise; /** Append a signature line to the manifest. No crypto verification — stub. */ seal(capsuleId: string, signature: string): Promise; private resolveCapsule; } export declare function getBrainTimeCapsule(): BrainTimeCapsule; export declare function resetBrainTimeCapsuleForTests(): void; //# sourceMappingURL=brain-time-capsule.d.ts.map