/** * Test Generator Orchestrator * * Groups ParsedScenarios by (domain, requirement) → calls matchThenClauses * → renders test file content via framework renderers. * * Two modes: * - Default: THEN pattern engine only (no LLM, instant) * - --use-llm: Pattern engine first; LLM fills in unmatched THEN clauses * by reading mapped function source code. */ import type { ParsedScenario, GeneratedTestFile, TestFramework } from '../../types/test-generator.js'; import type { LLMService } from '../services/llm-service.js'; export interface GenerateTestsOptions { scenarios: ParsedScenario[]; framework: TestFramework; outputDir: string; rootPath: string; useLlm?: boolean; llm?: LLMService; } /** * Generate test files from parsed scenarios. * Groups by (domain, requirement) → one file per requirement. * Scenarios are sorted by priority (high → normal → low) before grouping * so that high-priority groups appear first and consume LLM budget first * when --limit is in effect upstream. */ export declare function generateTests(opts: GenerateTestsOptions): Promise; //# sourceMappingURL=test-generator.d.ts.map