import { Tool, ToolCallEngine, ParsedModelResponse, PrepareRequestContext, AgentSingleLoopReponse, MultimodalToolCallResult, ChatCompletionMessageParam, ChatCompletionCreateParams, ChatCompletionChunk, StreamProcessingState, StreamChunkResult } from '@multimodal/agent-interface'; /** * A Tool Call Engine based on prompt engineering. */ export declare class PromptEngineeringToolCallEngine extends ToolCallEngine { private logger; preparePrompt(instructions: string, tools: Tool[]): string; prepareRequest(context: PrepareRequestContext): ChatCompletionCreateParams; /** * Initialize stream processing state for prompt engineering tool calls */ initStreamProcessingState(): StreamProcessingState; /** * Process a streaming chunk for prompt engineering tool calls * This implementation filters tags in real-time */ processStreamingChunk(chunk: ChatCompletionChunk, state: StreamProcessingState): StreamChunkResult; /** * Check if content contains a complete tool call */ private hasCompletedToolCall; /** * Check if the current buffer is part of a tool call tag * This helps us filter out content that's part of a tool call */ private isPartOfToolCallTag; /** * Extract tool calls from content and return cleaned content */ private extractToolCalls; /** * Finalize the stream processing and extract the final response */ finalizeStreamProcessing(state: StreamProcessingState): ParsedModelResponse; buildHistoricalAssistantMessage(currentLoopResponse: AgentSingleLoopReponse): ChatCompletionMessageParam; buildHistoricalToolCallResultMessages(toolCallResults: MultimodalToolCallResult[]): ChatCompletionMessageParam[]; } //# sourceMappingURL=PromptEngineeringToolCallEngine.d.ts.map