import ts from "typescript"; import type { CustomRule, Framework, RuleCategory, RuleContext, Violation } from "../types/guardrail.types.js"; export declare function buildRuleContext(sourceFile: ts.SourceFile, framework: Framework): RuleContext; /** * Run every custom rule in the given category against the source file. * Returns one violation group per rule so callers can score rules individually. */ export declare function runCustomRules(rules: CustomRule[], category: RuleCategory, sourceFile: ts.SourceFile, framework: Framework): Violation[][]; //# sourceMappingURL=customRules.d.ts.map