import { CryptoAlgorithmJobResponse, CryptoHintJobResponse, LocalCryptographyResponse } from "../../../CryptographyTypes"; export interface CryptographyCollector { collectAlgorithmResults(algorithmResults: Array): void; collectHintResults(algorithmResults: Array): void; } /** * Collects and organizes cryptographic scan results for individual files. * This class implements the CryptographyCollector interface and maintains * a mapping of file paths to their respective algorithm and hint detection results. */ export declare class FileCryptographyResultCollector implements CryptographyCollector { private resultMapper; /** * Gets an existing result entry for a file or creates a new one if it doesn't exist. * @param file The path to the file. * @returns The result entry for the specified file. */ private getOrCreateFileResult; /** * Collects algorithm detection results and organizes them by file. * Skips files that have no detected algorithms. * @param algorithmResults The array of algorithm job responses to collect. */ collectAlgorithmResults(algorithmResults: Array): void; /** * Collects hint detection results and organizes them by file. * Skips files that have no detected hints. * @param hintsResults The array of hint job responses to collect. */ collectHintResults(hintsResults: Array): void; /** * Retrieves all collected cryptography results for files. * @returns A LocalCryptographyResponse containing results for all files. */ getResults(): LocalCryptographyResponse; }