/** * One bound input of a recorded check. `p` is a repository-relative path with * `/` separators; entries prefixed with `\u0000git:` bind repository metadata * (HEAD or an index stage) rather than a worktree file, which cannot collide * with a real path. `h` is the sha256 hex of the bound content, `s` the file * size in bytes and `m` the modification time in nanoseconds; all three are * null for missing files and metadata entries. */ export interface CheckManifestEntry { p: string; h: string; s: number | null; m: string | null; } export interface CheckManifestDiff { added: string[]; removed: string[]; changed: string[]; } export declare function serializeCheckManifest(entries: readonly CheckManifestEntry[]): string; export declare function checkManifestHash(serialized: string): string; export declare function parseCheckManifest(serialized: string): CheckManifestEntry[]; /** * Compares a recorded baseline against the current snapshot. Differences are * decided by content hash only: a touched file with unchanged content and a * matching stat identity never appears here because the collector reuses the * baseline hash without rereading. */ export declare function diffCheckManifests(baseline: readonly CheckManifestEntry[], current: readonly CheckManifestEntry[]): CheckManifestDiff; export declare function hasGlobCharacters(value: string): boolean; /** * Matches `/`-separated repository-relative paths against one declared policy * pattern: `*` stays within a path segment, `**` crosses segments, and a * leading `**` followed by a slash matches zero or more leading directories. * The token automaton mirrors the workflow snapshot matcher so both surfaces * accept the same patterns. */ export declare function compileCheckPolicyPattern(pattern: string): (relative: string) => boolean; //# sourceMappingURL=classic-check-manifest.d.ts.map