//#region src/domains/evals/workflow/functions/runDatasetItem.d.ts
type RunDatasetItemPayload = {
  tenantId: string;
  projectId: string;
  agentId: string;
  datasetItemId: string;
  datasetItemInput: unknown;
  datasetItemExpectedOutput?: unknown;
  datasetItemSimulationAgent?: {
    prompt: string;
    model: {
      model: string;
      providerOptions?: Record<string, unknown>;
    };
    stopWhen?: {
      transferCountIs?: number;
      stepCountIs?: number;
    };
  };
  datasetRunId: string;
  evaluatorIds?: string[];
  evaluationRunId?: string;
};
/**
 * Main workflow function - processes a single dataset item through the chat API.
 * Optionally runs evaluators on the resulting conversation.
 */
declare function _runDatasetItemWorkflow(payload: RunDatasetItemPayload): Promise<{
  success: boolean;
  datasetItemId: string;
  datasetRunId: string;
  conversationId: string | null;
  error: string | null;
}>;
declare const runDatasetItemWorkflow: typeof _runDatasetItemWorkflow & {
  workflowId: string;
};
//#endregion
export { runDatasetItemWorkflow };