/**
 * Report Summary — Sorting and counting utilities for scan results.
 *
 * Pure functions extracted from the orchestrator. No cross-stage dependencies.
 */
import type { Vulnerability, SeverityCounts, CategoryCounts } from '../shared/types';
/**
 * Sort vulnerabilities by severity (critical first)
 */
export declare function sortBySeverity(vulnerabilities: Vulnerability[]): Vulnerability[];
/**
 * Compute severity counts from vulnerabilities
 */
export declare function computeSeverityCounts(vulnerabilities: Vulnerability[]): SeverityCounts;
/**
 * Compute category counts from vulnerabilities
 */
export declare function computeCategoryCounts(vulnerabilities: Vulnerability[]): CategoryCounts;
/**
 * Helper to compute counts from vulnerabilities (for backfilling legacy scans)
 */
export declare function computeIssueMixFromVulnerabilities(vulnerabilities: Vulnerability[]): {
    severityCounts: SeverityCounts;
    categoryCounts: CategoryCounts;
    hasBlockingIssues: boolean;
};
//# sourceMappingURL=summary.d.ts.map