import type { SpecCoverageResult, SpecCoverageStore, CoverageGrade } from '../../types/index.js';
/**
 * Runs the full spec coverage analysis for one spec.
 * Reads the HU.md, discovers test files, maps tests to criteria, calculates
 * score and grade, persists results, and returns the result object.
 */
export declare function analyzeSpecCoverage(projectId: string, specId: string, huPath: string, projectPath: string): Promise<SpecCoverageResult>;
/**
 * Loads persisted coverage results from storage for a project.
 * Returns null if no data exists or the file is corrupted.
 */
export declare function loadCoverageStore(projectId: string): Promise<SpecCoverageStore | null>;
export declare function calculateGrade(score: number): CoverageGrade;
//# sourceMappingURL=core.d.ts.map