import { r as KlawConfig } from "../types.klaw-xKUw_Rz7.js"; import { N as PluginWebFetchProviderEntry, z as WebFetchProviderToolDefinition } from "../types-core-BH2BbD0A.js"; import { t as RuntimeWebFetchMetadata } from "../runtime-web-tools.types-DfmQLp3d.js"; //#region src/web-fetch/runtime.d.ts type WebFetchConfig = NonNullable["web"] extends infer Web ? Web extends { fetch?: infer Fetch; } ? Fetch : undefined : undefined; type ResolveWebFetchDefinitionParams = { config?: KlawConfig; sandboxed?: boolean; runtimeWebFetch?: RuntimeWebFetchMetadata; providerId?: string; preferRuntimeProviders?: boolean; }; declare function resolveWebFetchEnabled(params: { fetch?: WebFetchConfig; sandboxed?: boolean; }): boolean; declare function isWebFetchProviderConfigured(params: { provider: Pick; config?: KlawConfig; }): boolean; declare function listWebFetchProviders(params?: { config?: KlawConfig; }): PluginWebFetchProviderEntry[]; declare function listConfiguredWebFetchProviders(params?: { config?: KlawConfig; }): PluginWebFetchProviderEntry[]; declare function resolveWebFetchProviderId(params: { fetch?: WebFetchConfig; config?: KlawConfig; providers?: PluginWebFetchProviderEntry[]; }): string; declare function resolveWebFetchDefinition(options?: ResolveWebFetchDefinitionParams): { provider: PluginWebFetchProviderEntry; definition: WebFetchProviderToolDefinition; } | null; //#endregion export { ResolveWebFetchDefinitionParams, isWebFetchProviderConfigured, listConfiguredWebFetchProviders, listWebFetchProviders, resolveWebFetchDefinition, resolveWebFetchEnabled, resolveWebFetchProviderId };