export interface BatchProcessorOptions { maxWorkers?: number; timeoutMs?: number; } export interface BatchTask { files: string[]; config: T; } export interface BatchResult { success: boolean; error?: string; results: any[]; } export declare class BatchProcessor { private static DEFAULT_MAX_WORKERS; private static DEFAULT_TIMEOUT_MS; /** * Process batches of files in parallel using worker threads * @param batches Array of file batches to process * @param workerScript Path to the worker script * @param taskConfig Configuration to pass to each worker * @param options Processing options */ static processBatches(batches: string[][], workerScript: string, taskConfig: T, options?: BatchProcessorOptions): Promise; /** * Creates a new worker with timeout handling */ private static createWorker; }