/** * File scanner */ import { SecretPattern, FileScanResult } from '../patterns/types'; /** * Scan a file for secrets * @param filePath - Path to file to scan * @param patterns - Patterns to match against * @param whitelist - Optional whitelist patterns * @returns File scan result */ export declare function scanFile(filePath: string, patterns: SecretPattern[], whitelist?: string[]): FileScanResult; /** * Scan multiple files sequentially * @param filePaths - Paths to files to scan * @param patterns - Patterns to match against * @param whitelist - Optional whitelist patterns * @returns File scan results */ export declare function scanFiles(filePaths: string[], patterns: SecretPattern[], whitelist?: string[]): FileScanResult[]; /** * Scan multiple files in parallel with concurrency limit * @param filePaths - Paths to files to scan * @param patterns - Patterns to match against * @param whitelist - Optional whitelist patterns * @param concurrency - Max concurrent file scans (default: 10) * @param onProgress - Optional callback for progress updates (completed, total) * @returns Promise resolving to file scan results */ export declare function scanFilesParallel(filePaths: string[], patterns: SecretPattern[], whitelist?: string[], concurrency?: number, onProgress?: (completed: number, total: number) => void): Promise; //# sourceMappingURL=scanner.d.ts.map