export declare const WHOLE_DIFF_TRIVIA_POLICY_VERSION: 1;
export interface WholeDiffDirectivePattern {
    id: string;
    pattern: string;
    flags: 'iu';
}
/**
 * Exact policy carried by `whole-file-cst-v4` receipts.
 *
 * The grammar manifest remains unchanged because entity lineage also consumes
 * it. This separately versioned policy controls only whole-diff trivia
 * admission and can therefore evolve without changing entity cache identity.
 */
export declare const WHOLE_DIFF_TRIVIA_POLICY: Readonly<{
    version: 1;
    proof: "whole-file-cst-v4";
    whitespace: Readonly<{
        safeGrammars: readonly ["c-sharp", "go", "java", "javascript", "kotlin", "ruby", "rust", "scala", "tsx", "typescript"];
        conditionalGrammars: Readonly<{
            python: "line-break-and-leading-indent-profile-equal";
        }>;
        unsafeGrammars: readonly ["c", "cpp", "php", "swift"];
    }>;
    comments: Readonly<{
        ordinary: "cosmetic-change";
        directive: "unknown";
        directiveScope: "any-recognized-directive-in-either-revision";
        directiveEffect: "blocks-cosmetic-admission-only";
        unsafeGrammarAdmission: "comment-shape-and-all-non-comment-bytes-equal";
    }>;
    byteOrderMark: "change-is-unknown";
    invalidEncoding: "unknown";
    directivePatterns: readonly WholeDiffDirectivePattern[];
}>;
/** SHA-256 pin for the exact canonical policy copied into every V4 receipt. */
export declare const WHOLE_DIFF_TRIVIA_POLICY_DIGEST: "f2c860d9ae2baf453beba15d22d9efb31616bda793ebc6e630c8cd78f51ae370";
export declare function isWholeDiffDirectiveComment(comment: string): boolean;
export declare function isWholeDiffWhitespaceSafeGrammar(grammar: string): boolean;
