import { ParsedModule } from '../parsers'; import { ModuleCache } from './ModuleCache'; /** * Configuration for parallel file processing */ export interface ParallelProcessingOptions { concurrency?: number; cache?: ModuleCache; } /** * Result of parallel file processing */ export interface ProcessingResult { successful: ParsedModule[]; failed: Array<{ file: string; error: string; }>; duration: number; } /** * ParallelFileProcessor handles concurrent parsing of multiple files * Uses Promise.all with concurrency control to optimize performance */ export declare class ParallelFileProcessor { private parser; private concurrency; private cache?; constructor(rootDir: string, options?: ParallelProcessingOptions); /** * Process multiple files in parallel with concurrency control * @param files - Array of file paths to process * @returns Promise - Results of processing */ processFiles(files: string[]): Promise; /** * Get cache statistics if cache is enabled */ getCacheStats(): import("./ModuleCache").CacheStats | undefined; /** * Reset cache statistics */ resetCacheStats(): void; /** * Clear the cache */ clearCache(): void; } //# sourceMappingURL=ParallelFileProcessor.d.ts.map