import { type CheckPolicy, type CheckIdentity } from './classic-check-policy.js'; import { type CheckManifestEntry } from './classic-check-manifest.js'; /** Hash dirty or untracked paths in bounded batches, preserving Git's input order. */ export declare function hashGitPaths(root: string, paths: readonly string[]): Map | null; export declare function checkEnvironmentFingerprint(argv: string[], cwd: string, policy?: CheckPolicy, legacy?: boolean): Promise; export interface CheckSnapshot { digest: string; entries: CheckManifestEntry[]; /** Deterministic per-file serialization of `entries`; persisted next to the check log. */ manifest: string; } export interface CheckSnapshotOptions { /** * Recorded entries from the check execution. Files whose stat identity still * matches the baseline reuse the recorded content hash without rereading. */ baseline?: CheckManifestEntry[]; /** Content hash cache keyed by path and stat identity, shareable across revalidations. */ contentCache?: Map; /** * Pre-manifest binding semantics: records recorded before per-file manifests * existed bound HEAD, the index and every environment variable by default. */ legacy?: boolean; } export declare function collectCheckSnapshot(root: string, changeDir: string, identity?: CheckIdentity, options?: CheckSnapshotOptions): Promise; export declare function checkInputFingerprint(root: string, changeDir: string, identity?: CheckIdentity): Promise; /** Digest with the pre-manifest default bindings, for evidence recorded before manifests existed. */ export declare function legacyCheckInputFingerprint(root: string, changeDir: string, identity?: CheckIdentity): Promise; //# sourceMappingURL=classic-check-snapshot.d.ts.map