import TamboAI from "@tambo-ai/typescript-sdk"; import { TamboTool, TamboToolRegistry } from "../model/component-metadata.js"; /** * Process a message from the thread, invoking the appropriate tool and returning the result. * @param toolCallRequest - The message to handle * @param toolRegistry - The tool registry * @returns The result of the tool call along with the tool definition */ export declare const handleToolCall: (toolCallRequest: TamboAI.ToolCallRequest, toolRegistry: TamboToolRegistry, onCallUnregisteredTool?: (toolName: string, args: TamboAI.ToolCallParameter[]) => Promise) => Promise<{ result: unknown; error?: string; tamboTool?: TamboTool; }>; //# sourceMappingURL=tool-caller.d.ts.map