import type { Finding } from "../state/types.js"; export declare function hashFile(absolutePath: string): Promise; export declare function resolveAffectedPath(root: string, affectedPath: string): string; export declare function hashAffectedPath(root: string, affectedPath: string): Promise; export interface AffectedFileIntegrityResult { changed: string[]; missing: string[]; /** * Files that exist on disk but could not be read (a real I/O error such as * EACCES/EISDIR). Kept distinct from `missing` so a genuine read failure is * not silently reclassified as an absent file. Mirrors the audit-code * `FileIntegrityResult.io_errors` channel. */ io_errors: string[]; is_clean: boolean; } export declare function checkAffectedFileIntegrity(root: string, findings: Finding[]): Promise; export declare function snapshotAffectedFileHashes(root: string, findings: Finding[]): void; //# sourceMappingURL=fileIntegrity.d.ts.map