import { Tool, ToolCallEngine, ParsedModelResponse, PrepareRequestContext, AgentSingleLoopReponse, MultimodalToolCallResult, ChatCompletionChunk, ChatCompletionMessageParam, ChatCompletionCreateParams, StreamProcessingState, StreamChunkResult } from '@multimodal/agent-interface'; /** * A Tool Call Engine based on native Function Call. */ export declare class NativeToolCallEngine extends ToolCallEngine { private logger; preparePrompt(instructions: string, tools: Tool[]): string; prepareRequest(context: PrepareRequestContext): ChatCompletionCreateParams; /** * Initialize stream processing state for native tool calls */ initStreamProcessingState(): StreamProcessingState; /** * Process a streaming chunk for native tool calls * For native engines, we can directly use the tool_calls property */ processStreamingChunk(chunk: ChatCompletionChunk, state: StreamProcessingState): StreamChunkResult; /** * Process tool calls data from a chunk */ private processToolCallsInChunk; /** * Finalize the stream processing and extract the final response */ finalizeStreamProcessing(state: StreamProcessingState): ParsedModelResponse; buildHistoricalAssistantMessage(currentLoopResponse: AgentSingleLoopReponse): ChatCompletionMessageParam; buildHistoricalToolCallResultMessages(toolCallResults: MultimodalToolCallResult[]): ChatCompletionMessageParam[]; } //# sourceMappingURL=NativeToolCallEngine.d.ts.map