export declare const POLICY_PATH = ".kelyra/policy.json"; export interface KelyraPolicy { version: 1; blockedPaths: string[]; confirmPaths: string[]; trustedReceiptKeyIds: string[]; requireSignedReceipts: boolean; requireReceiptForCI: boolean; maxWritableActionContentBytes?: number; maxPatchBytes?: number; allowedTestCommands: string[]; sandboxTestCommands: boolean; requireTestsForPaths: string[]; receiptChain: boolean; } export interface PolicyLoadResult { path: string; found: boolean; policy: KelyraPolicy; warnings: string[]; } export declare const DEFAULT_POLICY: KelyraPolicy; export declare function loadPolicy(cwd?: string): PolicyLoadResult; export declare function normalizePolicyPath(filePath: string): string; export declare function policyPatternMatches(pattern: string, filePath: string): boolean; export declare function anyPolicyPatternMatches(patterns: string[], filePath: string): boolean; export declare function isTestCommandAllowed(policy: KelyraPolicy, command: string): boolean; //# sourceMappingURL=policy.d.ts.map