import type { MatchedPolicyEntry, PolicyEntry, PolicyFile } from "./types.ts"; /** * Compile YAML entries. Matching is case-insensitive by default. The legacy * `skill-hub-duplication` name remains case-sensitive for 1.x compatibility; * new policies must use the explicit `caseSensitive` field. */ export declare function compilePolicy(name: string, raw: PolicyEntry[]): PolicyFile; /** Make sure that every non-regex policy has an installed evaluator. */ export declare function assertPolicyHandlers(policies: PolicyFile[], rules: Array<{ id: string; }>): void; export declare function loadPolicyFile(absPath: string, content: string): PolicyFile; export declare function policiesForFile(policies: PolicyFile[], relPath: string): MatchedPolicyEntry[];