/** * Lint Rule Loader * * Discovers and loads lint rulesets from installed frameworks. * Each framework ships a `lint/` directory with a `ruleset.yaml` * and individual rule YAML files. * * @issue #810 */ import type { LintRule, LintRuleset } from './types.js'; /** * Load a single lint rule from a YAML file */ export declare function loadRule(filePath: string): Promise; /** * Load a ruleset and all its rules from a framework's lint/ directory */ export declare function loadRuleset(lintDir: string, frameworkId: string): Promise; /** * Discover all available rulesets from installed frameworks * * Looks in two locations: * 1. Framework source: agentic/code/frameworks/{id}/lint/ * 2. Deployed frameworks: .aiwg/frameworks/{id}/lint/ */ export declare function discoverRulesets(cwd: string, frameworkRoot: string): Promise; //# sourceMappingURL=loader.d.ts.map