import type { ScanOptions, ScanResult, Finding, GroupedFinding } from './types.js'; export declare function scan(options: ScanOptions): Promise; /** * Remove exact-duplicate findings, keyed by ruleId + file + line + normalized * snippet. Two findings that share all four are the same real issue surfaced * twice (e.g. a scanner that runs under more than one category). The first * occurrence is kept; order is preserved. * * Runs in the results pipeline BEFORE grouping so it applies uniformly to every * output format. Aggregate/virtual findings (project-level, ASSET-INVENTORY, * PHI-FLOW-MAP) are already deduped upstream and pass through unchanged here. */ export declare function dedupeFindings(findings: Finding[]): Finding[]; /** * Group findings by severity + normalized title into deduplicated entries with occurrence lists. * This collapses all occurrences of the same violation type into one row. */ export declare function groupFindings(findings: Finding[]): GroupedFinding[]; //# sourceMappingURL=scan.d.ts.map