import type { GuardConfig } from '../config.js'; import type { LoadedRuleSet, Rule } from './types.js'; /** Parse and validate one YAML rule document. */ export declare function parseRuleDocument(text: string, label: string): Rule[]; /** Drop every cached rule set; used by tests and config reloads. */ export declare function clearPolicyCache(): void; export interface LoadRuleSetOptions { config: GuardConfig; cwd: string; platform?: NodeJS.Platform; } /** * Load and compile every rule for one session cwd. Results are cached per cwd * and invalidated when the rules file's mtime/size or the rule config changes. */ export declare function loadRuleSet(options: LoadRuleSetOptions): LoadedRuleSet; //# sourceMappingURL=rules.d.ts.map