import type Decimal from 'decimal.js';
export interface DocumentSourceConfigEntry {
    name?: string;
    url: string;
}
/**
 * Resolve ordered document sources from dataset config (saved at create time).
 */
export declare function getDocumentSourcesFromDatasetConfig(datasetConfig: any): DocumentSourceConfigEntry[];
/**
 * Download stored blob URLs, run document synthesis, return rows for evaluation-time persistence.
 */
export interface DocumentDatasetEvaluationTokenUsages {
    cost: Decimal;
    tokenUsage: {
        prompt: Decimal;
        completion: Decimal;
        total: Decimal;
        cached: Decimal;
    };
}
export declare function generateDocumentDatasetRowsForEvaluation(params: {
    datasetConfig: any;
    numSamples: number;
    includeExpectedOutput: boolean;
    fieldsToGenerate?: string[];
    /** Recent rows for this dataset (e.g. from DB); used to avoid repeating the same generated inputs. */
    previousRecordData?: any[];
}): Promise<{
    rows: any[];
    tokenUsages: DocumentDatasetEvaluationTokenUsages;
}>;
//# sourceMappingURL=generateDocumentDatasetRowsForEvaluation.d.ts.map