import { CryptographyResponse } from "../../../CryptographyTypes"; import { AlgorithmResponse, HintsInRangeResponse } from "../../../../Clients/Cryptography/ICryptographyClient"; /** * Collects and organizes cryptographic scan results for software components. * This class maintains a mapping of component identifiers to their respective * algorithm and hint detection results. */ export declare class ComponentCryptographyResultCollector { private resultMapper; /** * Gets an existing result entry for a component or creates a new one if it doesn't exist. * @param purl The Package URL identifier for the component. * @param version The version of the component. * @param requirement The version requirement for the component. * @returns The result entry for the specified component. */ private getOrCreateResult; /** * Collects algorithm detection results and organizes them by component. * @param algorithmResults The algorithm detection results to collect. */ collectAlgorithmResults(algorithmResults: AlgorithmResponse): void; /** * Collects hint detection results and organizes them by component. * @param hintResults The hint detection results to collect. */ collectHintResults(hintResults: HintsInRangeResponse): void; /** * Retrieves all collected cryptography results. * @returns An array of cryptography responses, one for each component. */ getResults(): Array; }