UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

28 lines (27 loc) • 1.37 kB
import { i as OpenClawConfig } from "../types.openclaw-BhmF31_h.js"; import { $s as WebFetchProviderToolDefinition, qs as PluginWebFetchProviderEntry } from "../types-C6Y8zGKi.js"; import { t as RuntimeWebFetchMetadata } from "../runtime-web-tools.types-BgJBzqWL.js"; //#region src/web-fetch/runtime.d.ts type ResolveWebFetchDefinitionParams = { config?: OpenClawConfig; sandboxed?: boolean; runtimeWebFetch?: RuntimeWebFetchMetadata; providerId?: string; preferRuntimeProviders?: boolean; }; /** Reports whether a web_fetch provider has usable credentials. */ declare function isWebFetchProviderConfigured(params: { provider: Pick<PluginWebFetchProviderEntry, "envVars" | "getConfiguredCredentialFallback" | "getConfiguredCredentialValue" | "getCredentialValue" | "requiresCredential">; config?: OpenClawConfig; }): boolean; /** Lists web_fetch providers available to runtime selection. */ declare function listWebFetchProviders(params?: { config?: OpenClawConfig; }): PluginWebFetchProviderEntry[]; /** Resolves the executable web_fetch provider tool definition. */ declare function resolveWebFetchDefinition(options?: ResolveWebFetchDefinitionParams): { provider: PluginWebFetchProviderEntry; definition: WebFetchProviderToolDefinition; } | null; //#endregion export { isWebFetchProviderConfigured, listWebFetchProviders, resolveWebFetchDefinition };