import { AIMessageChunk, BaseMessage } from "@langchain/core/messages"; import { ToolCall, ToolCallChunk } from "@langchain/core/messages/tool"; export declare function extractToolCalls(content: Record[]): ToolCall[]; export declare function _convertLangChainToolCallToAnthropic(toolCall: ToolCall): Record; export declare function formatMessagesForAnthropic(messages: BaseMessage[]): { system?: string; messages: Record[]; }; export declare function isAnthropicTool(tool: unknown): tool is Record; export declare function _makeMessageChunkFromAnthropicEvent(data: Record, fields: { coerceContentToString?: boolean; }): AIMessageChunk | null; export declare function extractToolCallChunk(chunk: AIMessageChunk): ToolCallChunk | undefined; export declare function extractToken(chunk: AIMessageChunk): string | undefined; export declare function extractToolUseContent(chunk: AIMessageChunk, concatenatedChunks: AIMessageChunk | undefined): { toolUseContent: { id: string; type: "tool_use"; name: string; input: Record; } | undefined; concatenatedChunks: AIMessageChunk; } | undefined; export declare function _toolsInParams(params: Record): boolean;