import { CallbackManagerForLLMRun } from "@langchain/core/callbacks/manager"; import { BaseChatModel, ToolChoice } from "@langchain/core/language_models/chat_models"; import "@langchain/core/language_models/profile"; import { StructuredTool } from "@langchain/core/tools"; import { BaseMessage } from "@langchain/core/messages"; import { ChatResult } from "@langchain/core/outputs"; import { RunnableBinding, RunnableConfig, RunnableLambda } from "@langchain/core/runnables"; import "@langchain/langgraph-checkpoint"; import "@langchain/core/language_models/base"; import "zod/v3"; interface ToolCall { name: string; args: Record; id?: string; type?: "tool_call"; } interface FakeToolCallingModelFields { toolCalls?: ToolCall[][]; toolStyle?: "openai" | "anthropic"; index?: number; structuredResponse?: any; } /** * Fake chat model for testing tool calling functionality */ export declare class FakeToolCallingModel extends BaseChatModel { toolCalls: ToolCall[][]; toolStyle: "openai" | "anthropic"; private indexRef; structuredResponse?: any; private tools; constructor({ toolCalls, toolStyle, index, structuredResponse, indexRef, ...rest }?: FakeToolCallingModelFields & { indexRef?: { current: number; }; }); get index(): number; set index(value: number); _llmType(): string; _combineLLMOutput(): never[]; bindTools(tools: StructuredTool[]): FakeToolCallingModel | RunnableBinding; withStructuredOutput(_schema: any): RunnableLambda>>; _generate(messages: BaseMessage[], _options?: this["ParsedCallOptions"], _runManager?: CallbackManagerForLLMRun): Promise; } export {}; //# sourceMappingURL=utils.d.ts.map