/** * ToolCallHandler - Handle tool call processing for streaming responses * * Responsibilities: * - Process tool call deltas from OpenAI * - Generate tool_use content blocks for Anthropic format * - Handle input_json_delta events */ import type { DeltaAccumulator } from '../delta-accumulator'; import type { OpenAIToolCallDelta, OpenAIToolCall, ContentBlock, AnthropicSSEEvent } from './types'; export declare class ToolCallHandler { /** * Process tool calls from non-streaming response */ processToolCalls(toolCalls: OpenAIToolCall[]): ContentBlock[]; /** * Process tool call deltas during streaming * Returns events for tool use blocks and input_json deltas */ processToolCallDeltas(toolCallDeltas: OpenAIToolCallDelta[], accumulator: DeltaAccumulator): AnthropicSSEEvent[]; } //# sourceMappingURL=tool-call-handler.d.ts.map