import { CryptoCfg } from "./CryptoCfg"; import { CryptographyResponse, LocalCryptographyResponse } from "./CryptographyTypes"; import { Component } from "../types/common/types"; /** * Provides functionality to scan files and components for cryptographic items. * This class acts as the primary entry point for cryptographic scanning. */ export declare class CryptographyScanner { private readonly config; constructor(cfg: CryptoCfg); /** * Scans an array of files for cryptographic items. * Performs both algorithm detection and library scanning. * @param files An array of file paths to scan. * @returns {LocalCryptographyResponse} A promise that resolves to a LocalCryptographyResponse containing scan results. */ scanFiles(files: Array): Promise; /** * Scans components for cryptographic. * Performs both algorithm detection and library scanning at the component level. * @param req A request containing PURL's to scan * @returns {CryptographyResponse} A promise that resolves to an array of CryptographyResponse objects. */ scanComponents(req: Component[]): Promise>; }