import type { MARFinding, MARSeverity, MARReport } from '../../types/multi-agent-review.js';
/**
 * Sorts findings by severity (highest first) then by file and line (ascending).
 * Returns a new array — does not mutate the input.
 */
export declare function rankFindings(findings: MARFinding[]): MARFinding[];
/**
 * Builds the counts record from a list of (already ranked) findings.
 */
export declare function buildCounts(findings: MARFinding[]): Record<MARSeverity, number>;
/**
 * Assembles the final MARReport from ranked findings and scanned file paths.
 */
export declare function buildReport(rankedFindings: MARFinding[], scannedFiles: string[]): MARReport;
//# sourceMappingURL=severity-ranker.d.ts.map