import type { NativeToolCall } from "../../types.js"; import type { AnthropicThinkingBlock, AnthropicToolStreamState } from "./anthropic-tools.js"; export declare function handleAnthropicStreamEvent(state: AnthropicToolStreamState, event: { type?: string; index?: number; content_block?: { type?: string; id?: string; name?: string; text?: string; thinking?: string; signature?: string; }; delta?: { type?: string; text?: string; thinking?: string; partial_json?: string; signature?: string; }; }): { textDelta?: string; thinkingDelta?: string; toolCallDelta?: { index: number; id?: string; name?: string; argumentsBytes?: number; nameBecameKnown?: boolean; }; }; export declare function finalizeAnthropicToolStream(state: AnthropicToolStreamState): { text: string; thinkingText: string; thinkingBlocks: AnthropicThinkingBlock[]; toolCalls: NativeToolCall[]; thinkingSignature?: string; };