import { type JSONSchema7, type LanguageModelV1, type LanguageModelV1CallWarning } from "@ai-sdk/provider"; import { type GelChatModelId } from "./gel-chat-settings.js"; interface OpenAILikeTool { type: "function"; function: { name: string; description: string | undefined; parameters: unknown; }; } interface AnthropicTool { name: string; description: string | undefined; input_schema: JSONSchema7; } export declare function prepareTools(mode: Parameters[0]["mode"] & { type: "regular"; }, model: GelChatModelId): { toolWarnings: LanguageModelV1CallWarning[]; tools?: undefined; tool_choice?: undefined; } | { tools: AnthropicTool[] | OpenAILikeTool[]; toolWarnings: LanguageModelV1CallWarning[]; tool_choice?: undefined; } | { tools: AnthropicTool[] | OpenAILikeTool[]; tool_choice: string | { type: string; name?: undefined; function?: undefined; }; toolWarnings: LanguageModelV1CallWarning[]; } | { tools: AnthropicTool[] | OpenAILikeTool[]; tool_choice: { type: string; name: string; function?: undefined; }; toolWarnings: LanguageModelV1CallWarning[]; } | { tools: AnthropicTool[] | OpenAILikeTool[]; tool_choice: { type: string; function: { name: string; }; name?: undefined; }; toolWarnings: LanguageModelV1CallWarning[]; }; export {};