import type { CompiledCustomRule } from '../types.js'; export interface LoadRulesResult { rules: CompiledCustomRule[]; errors: RuleLoadError[]; } export interface RuleLoadError { file: string; error: string; details?: string; } export declare function loadCustomRules(basePath: string, customRulesPath?: string): Promise; export declare function validateRulesFile(filePath: string): Promise<{ valid: boolean; rules: number; errors: RuleLoadError[]; }>; //# sourceMappingURL=loader.d.ts.map