import type { Tool, ToolSet } from '../_types/@internal_ai-sdk-v5/dist/index.js'; /** * Find a provider-defined tool by its model-facing name. */ export declare function findProviderToolByName(tools: ToolSet | undefined, toolName: string): Tool | undefined; /** * Infers the providerExecuted flag for a tool call. * * When the raw stream from doStream doesn't include providerExecuted on a tool-call, * we infer it based on the tool definition: * - Provider tools (type: 'provider'/'provider-defined') → providerExecuted: true * - Regular function tools → leave as undefined */ export declare function inferProviderExecuted(providerExecuted: boolean | undefined, tool: unknown): boolean | undefined; //# sourceMappingURL=provider-tool-utils.d.ts.map