import { AgencyConfig } from "../config.js"; export declare function cleanCoverage(config: AgencyConfig): void; export type GenerateReportOptions = { detail?: boolean; html?: boolean; /** * Override `coverage.threshold` from config. Total coverage % below this * value causes generateReport to return `passed: false`. */ threshold?: number; /** * Override `coverage.perFileThreshold` from config. Any file below this * value causes generateReport to return `passed: false`. */ perFileThreshold?: number; }; export type GenerateReportResult = { /** False when any configured threshold was not met. */ passed: boolean; /** Files that fell below the per-file threshold (if any). */ failingFiles: string[]; /** Total coverage percentage across all reported files. */ totalPercentage: number; }; export declare function generateReport(config: AgencyConfig, target: string | string[], opts?: GenerateReportOptions): Promise;