/** * Security Scanner Weights - SMI-685, SMI-1189 * * Weight constants for risk score calculation. */ import type { SecurityFindingType, SecuritySeverity } from './types.js'; /** * Severity weights for risk score calculation */ export declare const SEVERITY_WEIGHTS: Record; /** * Category weights for risk score calculation. * * SMI-6033 Wave 2 gap-closing pass: typed against `SecurityFindingType` * (was `Record`) so a future new finding type that ships * without a weight entry here is a TypeScript compile error, not a silent * runtime `?? 1.0` fallback in SecurityScanner.helpers.ts's * `calculateRiskScore` — the exact class of gap * scripts/tests/indexer/parity.test.ts's new consolidated core<->edge * coverage test (SMI-6033 Wave 2) was added to catch on the edge side; this * closes the equivalent hole on the core side, one layer earlier. */ export declare const CATEGORY_WEIGHTS: Record; //# sourceMappingURL=weights.d.ts.map