import { type QualityScoreInput } from '../../scoring';
import { QualityReport, QualityMetrics } from './types';
export type { QualityReport, QualityMetrics } from './types';
export interface AnalyzeQualityOptions {
    verbose?: boolean;
    /** Populate top-offender lists for detailed reports (slower). */
    detailed?: boolean;
}
/**
 * Adapter from the standalone Quality report's `QualityMetrics` into
 * the canonical `QualityScoreInput` partition. `m.sourceFiles` carries
 * the canonical repo source-file count from the cached health metrics
 * — the same denominator the health-side Code Quality dimension uses
 * — so both surfaces' density penalties land on identical values.
 */
export declare function qualityMetricsToScoreInput(m: QualityMetrics): QualityScoreInput;
export declare function analyzeQuality(repoPath: string, options?: AnalyzeQualityOptions): Promise<QualityReport>;
export declare function formatQualityReport(report: QualityReport, elapsed: string): string;
//# sourceMappingURL=index.d.ts.map