/**
 * Multi-Turn Agent Loop for UAP Benchmarks
 *
 * Implements iterative refinement with error feedback.
 * Based on Droid's approach: explore, act, verify, retry.
 */
import { type VerificationResult } from './execution-verifier.js';
export interface AgentTurn {
    turnNumber: number;
    prompt: string;
    response: string;
    verification: VerificationResult;
    feedback?: string;
    durationMs: number;
}
export interface MultiTurnResult {
    success: boolean;
    totalTurns: number;
    turns: AgentTurn[];
    finalResponse: string;
    totalDurationMs: number;
    memoryContextUsed: boolean;
}
export interface MultiTurnConfig {
    maxTurns: number;
    timeout: number;
    model: string;
    apiKey: string;
    useMemory: boolean;
    projectRoot: string;
    verbose: boolean;
}
/**
 * Execute task with multi-turn refinement
 */
export declare function executeWithMultiTurn(taskId: string, taskPrompt: string, config?: Partial<MultiTurnConfig>): Promise<MultiTurnResult>;
/**
 * Execute a batch of tasks with multi-turn
 */
export declare function executeBatchWithMultiTurn(tasks: Array<{
    id: string;
    prompt: string;
}>, config?: Partial<MultiTurnConfig>): Promise<Map<string, MultiTurnResult>>;
//# sourceMappingURL=multi-turn-agent.d.ts.map