/** * Coverage Analyzer * * Determines which OpenSpec scenarios are covered by existing test files. * * Mode A — Tag-based (default, fast): * Scans test files for // openlore: {JSON} or # openlore: {JSON} tags. * O(files) — no LLM required. * * Mode B — Retroactive discovery (--discover, slower): * Extracts describe()/it()/test()/TEST_CASE() titles from test files and * uses LLM semantic comparison to link existing tests to uncovered scenarios. * Useful for teams that already have tests but haven't run openlore test yet. */ import type { TestCoverageReport } from '../../types/test-generator.js'; import type { LLMService } from '../services/llm-service.js'; import type { DriftResult } from '../../types/index.js'; export declare function analyzeTestCoverage(opts: { rootPath: string; testDirs?: string[]; domains?: string[]; driftResult?: DriftResult; discover?: boolean; llm?: LLMService; minCoverage?: number; }): Promise; //# sourceMappingURL=coverage-analyzer.d.ts.map