import { BatchEvaluationResult, BatchEvaluatorConfig, BatchExportConfig, BatchInputConfig, BatchResult } from './types.js'; export declare class BatchEvaluator { private readonly config; private readonly evaluators; private readonly concurrencyManager; private progressTracker?; private batchId; private startTime; private results; private processedRowIndices; constructor(config: BatchEvaluatorConfig); /** * Run batch evaluation on input data */ evaluate(inputConfig: BatchInputConfig): Promise; /** * Export results to a destination */ export(exportConfig: BatchExportConfig): Promise; /** * Parse input - supports both file-based and in-memory data */ private parseInput; /** * Detect format from file extension */ private detectFormat; /** * Get parser for format */ private getParser; /** * Get exporter for format */ private getExporter; /** * Process a single row */ private processRow; private runRowWithSpan; private executeRowWithRetry; private handleRowError; private calculateRetryDelay; private emitResult; private executeRowEvaluation; /** * Run all evaluators on a single row */ private runEvaluators; /** * Check if error should be retried * @param errorMessage The error message * @param currentAttempts Number of attempts made so far (0 = first attempt) * @param maxRetries Maximum number of retry attempts allowed * @returns true if should retry, false otherwise */ private shouldRetry; /** * Build final result */ private buildResult; /** * Create a timeout promise */ private timeoutPromise; /** * Sleep for specified milliseconds */ private sleep; /** * Get current results (useful for streaming results) */ getCurrentResults(): BatchEvaluationResult[]; } //# sourceMappingURL=batch-evaluator.d.ts.map