/** Isolated, content-addressed workspace snapshots used for validation. */ export interface SnapshotOptions { includeNodeModules?: boolean; maxFiles?: number; maxBytes?: number; excludeNames?: string[]; } export interface SnapshotFile { path: string; sha256: string; size: number; mode: number; } export interface WorkspaceSnapshot { sourceRoot: string; root: string; files: SnapshotFile[]; excluded: string[]; snapshotHash: string; totalBytes: number; } export declare class SnapshotError extends Error { readonly code: string; constructor(code: string, message: string); } /** * Create a private copy without VCS metadata or credential-bearing files. * Symlinks and special files are rejected instead of copied or dereferenced. */ export declare function createWorkspaceSnapshot(rootInput: string, options?: SnapshotOptions): Promise; export declare function cloneWorkspaceSnapshot(source: WorkspaceSnapshot, options?: SnapshotOptions): Promise; export declare function disposeWorkspaceSnapshot(snapshot: WorkspaceSnapshot): Promise; //# sourceMappingURL=snapshot.d.ts.map