/**
 * Agent Request Payload Builder
 * Constructs the request payload for the OpenSearch ML agent endpoint
 */
import { TestCase, AgentContextItem, AgentToolDefinition } from '../../types/index.js';
export interface AgentMessage {
    id: string;
    role: 'user' | 'assistant';
    content: string;
}
export interface AgentRequestPayload {
    threadId: string;
    runId: string;
    messages: AgentMessage[];
    tools: AgentToolDefinition[];
    context: AgentContextItem[];
    state: Record<string, any>;
    forwardedProps: Record<string, any>;
}
/**
 * Default tool for PPL query execution (matches client-side definition)
 */
export declare const DEFAULT_PPL_TOOL: AgentToolDefinition;
/**
 * Build agent request payload from test case
 * Tools are passed from test case or default to PPL tool
 */
export declare function buildAgentPayload(testCase: TestCase, modelId: string, threadId?: string, runId?: string): AgentRequestPayload;
/**
 * Build agent payload for multi-turn conversation
 */
export declare function buildMultiTurnPayload(messages: AgentMessage[], threadId?: string, runId?: string, context?: AgentContextItem[], tools?: AgentToolDefinition[]): AgentRequestPayload;
//# sourceMappingURL=payloadBuilder.d.ts.map