import { i as OpenClawConfig } from "./types.openclaw-CpnoYlBx.js"; //#region src/agents/tools/web-search-provider-config.d.ts /** Reads the legacy top-level web search credential value. */ declare function getTopLevelCredentialValue(searchConfig?: Record): unknown; /** Writes the legacy top-level web search credential value. */ declare function setTopLevelCredentialValue(searchConfigTarget: Record, value: unknown): void; /** Reads a provider-scoped credential value from a web search config object. */ declare function getScopedCredentialValue(searchConfig: Record | undefined, key: string): unknown; /** Writes a provider-scoped credential value, creating the scoped object when needed. */ declare function setScopedCredentialValue(searchConfigTarget: Record, key: string, value: unknown): void; /** Merges plugin web-search config into a provider-scoped legacy-compatible shape. */ declare function mergeScopedSearchConfig(searchConfig: Record | undefined, key: string, pluginConfig: Record | undefined, options?: { mirrorApiKeyToTopLevel?: boolean; }): Record | undefined; /** Resolves plugin-owned web-search config for a provider plugin id. */ declare function resolveProviderWebSearchPluginConfig(config: OpenClawConfig | undefined, pluginId: string): Record | undefined; /** Writes a single plugin-owned web-search config value and enables the plugin entry if needed. */ declare function setProviderWebSearchPluginConfigValue(configTarget: OpenClawConfig, pluginId: string, key: string, value: unknown): void; //#endregion export { setProviderWebSearchPluginConfigValue as a, resolveProviderWebSearchPluginConfig as i, getTopLevelCredentialValue as n, setScopedCredentialValue as o, mergeScopedSearchConfig as r, setTopLevelCredentialValue as s, getScopedCredentialValue as t };