import type { PolicyConfig, PolicyConfigObject, PolicyRule } from "./types.js"; /** Expands a named preset string to its rules, or passes an object-form * config through unchanged. Resolves synchronously — compose time, not * first call — so an unknown preset name fails loud from `createGuard` * itself rather than surprising the first `guard.check()`. */ export declare function resolvePolicyConfig(config: PolicyConfig | undefined): PolicyConfigObject | undefined; export declare class PolicyResolver { #private; /** Takes the already-resolved object form — string presets are expanded by * `resolvePolicyConfig` at `createGuard` compose time, before this class * ever sees the config. */ constructor(config: PolicyConfigObject | undefined); rules(): Promise; directions(): Promise; } export declare function ruleMatches(rule: PolicyRule, tool: string, risk: PolicyRule["match"]["risk"], venue: PolicyRule["match"]["venue"], presence: PolicyRule["match"]["presence"]): boolean; //# sourceMappingURL=policy.d.ts.map