import { CryptoCfg } from "../../CryptoCfg"; import { CryptoHintJobResponse } from "../../CryptographyTypes"; import { BaseCryptographyScanner } from "../../BaseCryptographyScanner"; import { FileCryptographyResultCollector } from "../../Helper/ResultCollector/File/FileCryptographyResultCollector"; /** * A class responsible for scanning files for cryptographic items. */ export declare class FileHintScanner extends BaseCryptographyScanner, Array> { private readonly DEFAULT_CRYPTO_LIBRARY_RULE_FILENAME; /** * Constructs a new CryptographyScanner. * @param cryptoCfg The cryptographic configuration. * @param resultCollector cryptography results collector */ constructor(cryptoCfg: CryptoCfg, resultCollector: FileCryptographyResultCollector); /** * Builds a collection of cryptographic hint analysis jobs from an array of files. * This method loads library rules and initializes job objects for each file * that will be used for cryptographic hint detection. * @param files An array of file paths to analyze for cryptographic hints. * @returns A promise that resolves to an array of job objects configured for hint analysis. */ private buildJobs; /** * Scans an array of files for cryptographic items. * @param files An array of file paths to scan. * @returns A promise that resolves to an ILocalCryptographyResponse. */ scan(files: Array): Promise>; /** * Loads custom cryptographic rules from a file. * @returns A promise that resolves to the loaded rules. */ private loadRules; }