import { LanguageModelV2, LanguageModelV2CallWarning } from '@ai-sdk/provider'; declare function prepareTools({ toolChoice, tools, }: Parameters[0]): { tools: undefined; toolWarnings: LanguageModelV2CallWarning[]; toolChoice?: undefined; } | { tools: { function: { description: string | undefined; name: string; parameters: unknown; }; type: "function"; }[]; toolWarnings: LanguageModelV2CallWarning[]; toolChoice?: undefined; } | { toolChoice: { function: { name: string; }; type: string; }; tools: { function: { description: string | undefined; name: string; parameters: unknown; }; type: "function"; }[]; toolWarnings: LanguageModelV2CallWarning[]; }; export { prepareTools };