/** * Rules CRUD for breakpoint auto-approval. * Rules stored at ~/.a5c/breakpoint-approvals/rules.json with atomic writes. */ import type { BreakpointRule } from "./types"; /** * Read rules from the rules file. Returns empty array if file doesn't exist. */ export declare function readRules(rulesPath?: string): Promise; /** * Write rules to the rules file atomically. */ export declare function writeRules(rules: BreakpointRule[], rulesPath?: string): Promise; /** * Add a rule. Deduplicates by rule id. */ export declare function addRule(rule: BreakpointRule, rulesPath?: string): Promise; /** * Remove a rule by id. Returns the updated list. */ export declare function removeRule(ruleId: string, rulesPath?: string): Promise; /** * List all rules. */ export declare function listRules(rulesPath?: string): Promise; //# sourceMappingURL=rules.d.ts.map