import type { OpenClawConfig } from "../../config/types.openclaw.js"; import type { RuntimeWebSearchMetadata } from "../../secrets/runtime-web-tools.types.js"; import { resolveWebSearchProviderId } from "../../web-search/runtime.js"; import type { AnyAgentTool } from "./common.js"; export declare function createWebSearchTool(options?: { config?: OpenClawConfig; sandboxed?: boolean; runtimeWebSearch?: RuntimeWebSearchMetadata; lateBindRuntimeConfig?: boolean; }): AnyAgentTool | null; export declare const __testing: { SEARCH_CACHE: Map>>; resolveSearchProvider: (search?: Parameters[0]["search"]) => string; };