/** * Batch processor for indexing files */ import type { CodeParser } from '../parser/index.js'; import type { EmbeddingProvider } from '../embeddings/base.js'; import type { Storage } from '../storage/index.js'; import type { FileIndexingResult, BatchIndexingResult } from './types.js'; export interface BatchProcessorOptions { basePath: string; collectionName: string; concurrency?: number; batchSize?: number; } /** * Process files in batches with concurrency control */ export declare class BatchProcessor { private parser; private embedder; private storage; private options; private concurrency; private batchSize; constructor(parser: CodeParser, embedder: EmbeddingProvider, storage: Storage, options: BatchProcessorOptions); /** * Process a single file */ processFile(file: string): Promise; /** * Process multiple files with concurrency control */ processBatch(files: string[]): Promise; /** * Process files in smaller chunks */ processChunked(files: string[]): Promise; /** * Delete indexed data for a file */ deleteFile(file: string): Promise; } //# sourceMappingURL=batch-processor.d.ts.map