import type { PartialDeep, Promisable } from 'type-fest';
import type { LlmCall } from '../../types/LlmCall';
import type { TODO_any } from '../../utils/organization/TODO_any';
import type { PipelineExecutorResult } from '../PipelineExecutorResult';
import type { ExecuteAttemptsOptions } from './40-executeAttempts';
/**
 * Options for executing a pipeline task that involves formatting subvalues (e.g., iterating over CSV rows).
 * Extends ExecuteAttemptsOptions with a progress callback.
 *
 * @private internal type of `executeFormatSubvalues`
 */
type ExecuteFormatCellsOptions = ExecuteAttemptsOptions & {
    /**
     * Callback invoked with partial results as the execution progresses.
     */
    onProgress(newOngoingResult: PartialDeep<PipelineExecutorResult>): Promisable<void>;
    /**
     * Optional callback invoked with each LLM call.
     */
    logLlmCall?(llmCall: LlmCall): Promisable<void>;
};
/**
 * Executes a pipeline task that requires mapping or iterating over subvalues of a parameter (such as rows in a CSV).
 * Handles format and subformat resolution, error handling, and progress reporting.
 *
 * @param options - Options for execution, including task details and progress callback.
 * @returns The result of the subvalue mapping or execution attempts.
 *
 * @private internal utility of `createPipelineExecutor`
 */
export declare function executeFormatSubvalues(options: ExecuteFormatCellsOptions): Promise<TODO_any>;
export {};
