/** * Rule Pack Loader * * Loads custom rule packs from JSON files specified in .mtirc.json * under the "rulePacks" field. Each rule pack is a JSON file containing * an array of rule definitions that get converted to RuleSpec objects. * * Rule pack JSON format: * { * "rules": [ * { * "id": "CUSTOM-001", * "category": "Custom", * "title": "Custom rule title", * "description": "What this rule detects", * "severity": "HIGH", * "requiredGuards": ["tenantId"], * "cweIds": ["CWE-639"], * "sinkKinds": ["db_read", "db_write"], * "filePatterns": ["/api/"], * "executionOrder": 100 * } * ] * } */ import type { RuleSpec } from '../rule-spec.js'; import { PathBoundary } from '../security/path-boundary.js'; export declare function loadRulePacks(projectRoot: string, packPaths?: string[], boundary?: PathBoundary): Promise; //# sourceMappingURL=rule-pack-loader.d.ts.map