export declare const SNAPSHOT_HASH_CAP: number; interface FileSnapshot { readonly size: number; readonly digest?: string; readonly mtimeMs?: number; readonly kind: string; readonly target?: FileSnapshot; } export type WorktreeSnapshot = ReadonlyMap; /** Include ignored files and symlink targets; realpath ancestry breaks directory loops. */ export declare function snapshotWorktree(root: string): Promise; /** Cache storage may not exist before the first dispatch; other read errors fail closed. */ export declare function snapshotOptionalDirectory(root: string): Promise; export declare function changedSnapshotPaths(before: WorktreeSnapshot, after: WorktreeSnapshot): string[]; export {};