/**
 * Report Builder — Composes the final ScanResult from processed findings.
 *
 * Encapsulates sorting, counting, suppressed-summary building, and result
 * object construction.
 */
import type { ScanResult, Vulnerability } from '../shared/types';
import type { ValidationStats } from '../validate';
import type { SuppressionResult } from '../postprocess/suppression/types';
import type { FilterPipeline } from '../postprocess/filtering/pipeline';
export interface BuildScanResultInput {
    repoInfo: {
        name: string;
        url: string;
        branch: string;
    };
    files: {
        length: number;
    };
    findings: Vulnerability[];
    suppressionResult: SuppressionResult;
    startTime: number;
    validationStats?: ValidationStats;
    showSuppressed?: boolean;
    filterPipeline?: FilterPipeline;
    cancelled?: boolean;
    cancelReason?: string;
}
/**
 * Build the final ScanResult from postprocessed findings.
 */
export declare function buildScanResult(input: BuildScanResultInput): ScanResult;
//# sourceMappingURL=build-result.d.ts.map