/** * Static policy loader (load once, hash, never reload) */ import { z } from 'zod'; export declare const PolicySchema: z.ZodObject<{ version: z.ZodLiteral<"1">; allow_network: z.ZodDefault; redaction: z.ZodPrefault; strip_payment: z.ZodDefault; inspect_full_claims: z.ZodDefault; }, z.core.$strip>>; tools: z.ZodPrefault; allowed_kinds: z.ZodOptional>; }, z.core.$strip>>>; limits: z.ZodPrefault; max_response_bytes: z.ZodDefault; tool_timeout_ms: z.ZodDefault; max_concurrency: z.ZodDefault; max_claims_bytes: z.ZodDefault; max_bundle_receipts: z.ZodDefault; max_bundle_bytes: z.ZodDefault; max_ttl_seconds: z.ZodDefault; }, z.core.$strip>>; jwks: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; export type PolicyConfig = z.infer; export declare function getDefaultPolicy(): PolicyConfig; /** * Compute the policy hash from a canonical JSON representation. * Accepts either raw JSON string or a PolicyConfig object. * When given a PolicyConfig, uses deep stable stringify (recursive key sort) * so semantically identical policies always hash identically. */ export declare function computePolicyHash(input: string | PolicyConfig): Promise; export declare function loadPolicy(filePath: string): Promise<{ policy: PolicyConfig; hash: string; }>; //# sourceMappingURL=policy.d.ts.map