export declare const CHECK_POLICY_PATH = ".comet/check-policy.json"; export interface CheckIdentity { argv: string[]; cwd: string; } export interface CheckPolicy { /** sha256 of the raw declaration file; empty without one. */ digest: string; /** * v2 only: canonical digest of the command entry matching the identity, so * unrelated entries can change without invalidating this command's evidence. */ entryDigest?: string; /** * v2 only: the matched entry's cwd. Guard accepts this command's evidence * recorded in that directory even when the guard runs elsewhere in the * project; without it evidence must come from the guard's invocation cwd. */ declaredCwd?: string; /** Resolved declaration scope: v1 top-level fields, or the matched v2 entry. */ files?: string[]; /** Declared command outputs excluded from the input snapshot. */ outputs?: string[]; env?: string[]; git: 'all' | 'none'; taskCheckboxes: 'include' | 'ignore'; } export interface CheckPolicyCommand { argv: string[]; cwd: string; files?: string[]; outputs?: string[]; env?: string[]; git: 'all' | 'none'; taskCheckboxes: 'include' | 'ignore'; } export declare function readCheckPolicy(root: string, identity?: CheckIdentity, legacy?: boolean): Promise; //# sourceMappingURL=classic-check-policy.d.ts.map