import { type CompletionConfig, type GuardContext, type GuardDecision, type IsolationConfig, type MatchedRule, type PolicyConfig, type PolicyMode, type PolicyRule, type SandboxConfig } from "@rig/contracts"; export declare function resetPolicyCache(): void; /** * Seed the policy cache from raw JSON content (e.g. baked at compile time). * When seeded, loadPolicy() returns the seeded config without disk I/O. */ export declare function seedPolicyFromContent(rawJson: string): void; export declare function loadPolicy(projectRoot: string): PolicyConfig; export declare function matchRule(rule: PolicyRule, input: string): boolean; export declare function resolveAction(mode: PolicyMode, matched: MatchedRule[]): "allow" | "block" | "warn"; export declare function isHarnessPath(projectRoot: string, rawPath: string): boolean; export declare function evaluate(context: GuardContext): GuardDecision; export declare function extractContentFromToolInput(input: Record): string; export declare function loadSandboxConfig(projectRoot: string): SandboxConfig; export declare function loadIsolationConfig(projectRoot: string): IsolationConfig; export declare function loadCompletionConfig(projectRoot: string): CompletionConfig;