import type { AnnotationCoverageGroup, LivingSpecCoverageReport, CriterionCoverageStatus, SpecAnnotation, VitestFileResult, JUnitTestCase, NormalizedTestResult } from '../../types/index.js';
/**
 * Parse a Vitest JSON report string into structured results.
 */
export declare function parseVitestJson(json: string): VitestFileResult[];
/**
 * Parse JUnit XML string into test cases (simple regex-based parser).
 */
export declare function parseJUnitXml(xml: string): JUnitTestCase[];
/**
 * Group test results by spec annotation, matching test file paths to annotations.
 */
export declare function groupByAnnotation(tests: NormalizedTestResult[], annotations: SpecAnnotation[]): AnnotationCoverageGroup[];
/**
 * Determine criterion status based on test results.
 */
export declare function determineCriterionStatus(group: AnnotationCoverageGroup): CriterionCoverageStatus;
/**
 * Build a full test coverage report from grouped results.
 */
export declare function buildCoverageReport(projectId: string, groups: AnnotationCoverageGroup[], totalTests: number, passedTests: number, failedTests: number): LivingSpecCoverageReport;
//# sourceMappingURL=test-coverage-correlator.d.ts.map