import { NormalizedNumericSeverity, QualyNumericSeverity } from '../types'; /** * Maps a Qualys vulnerability QID to the set of related `Finding._key` values. * * As Findings are created during the processing of `HostDetection` data, the * QID and `Finding._key` values are easily obtained, and therefore tracked for * a later step that will fetch vulnerabilities and create mapped relationships * between the Finding and Vulnerabilty. */ export type SerializedVulnerabilityFindingKeys = [number, Set][]; export type VulnerabilityFindingKeysMap = Map>; export declare class VulnerabilityFindingKeysCollector { private mapping; constructor(); allQids(): number[]; /** * Adds a Finding._key to set of vulnerability findings. * * @param qid vulnerability QID * @param findingKey Finding._key related to vulnerability */ addVulnerabilityFindingKey(qid: number, findingKey: string): void; getVulnerabiltyFindingKeys(qid: number): string[]; /** * Serializes collected values into form that can be stored between steps and * used to re-create the Map. */ serialize(): SerializedVulnerabilityFindingKeys; /** * Adds values previously serialized. */ loadSerialized(serialized: SerializedVulnerabilityFindingKeys): void; } export declare function convertNumericSeverityToString(numericSeverity: QualyNumericSeverity): string; export declare function normalizeNumericSeverity(numericSeverity: QualyNumericSeverity): NormalizedNumericSeverity; //# sourceMappingURL=utils.d.ts.map