import { type ParseError } from '../parser/config-parser.js'; import { type TemplateLoadError } from '../engine/template-loader.js'; import type { TemplateError } from '../engine/template-renderer.js'; export interface GenerateOptions { /** Path to harness-linter.yml */ configPath: string; /** Override output directory from config */ outputDir?: string; /** Remove existing files before generating */ clean?: boolean; /** Preview without writing files */ dryRun?: boolean; } export interface ValidateOptions { configPath: string; } export type GeneratorError = { type: 'parse'; error: ParseError; } | { type: 'template'; error: TemplateLoadError; ruleName: string; } | { type: 'render'; error: TemplateError; ruleName: string; } | { type: 'write'; error: Error; path: string; }; export type GenerateResult = { success: true; rulesGenerated: string[]; outputDir: string; dryRun: boolean; } | { success: false; errors: GeneratorError[]; }; export type ValidateResult = { success: true; ruleCount: number; } | { success: false; error: ParseError; }; /** * Validate a harness-linter.yml config without generating */ export declare function validate(options: ValidateOptions): Promise; /** * Generate ESLint rules from harness-linter.yml config */ export declare function generate(options: GenerateOptions): Promise; //# sourceMappingURL=orchestrator.d.ts.map