import type { AgentTool } from "@kolisachint/hoocode-agent-core"; import { Type } from "typebox"; import type { ToolDefinition } from "../extensions/types.js"; import { type WebSearchOutput, WebToolsCache, type WebtoolsTLSConfig } from "./webtools-shared.js"; declare const websearchSchema: Type.TObject<{ query: Type.TString; maxResults: Type.TOptional; safeSearch: Type.TOptional, Type.TLiteral<"off">]>>; }>; export interface WebSearchToolDetails { resultCount?: number; hiddenCount?: number; tokenEstimate?: number; /** Which backend answered — a fallback from a keyed provider is otherwise silent. */ provider?: string; } export interface WebSearchToolOptions extends WebtoolsTLSConfig { /** Override the result cache (mainly for tests). */ cache?: WebToolsCache; /** Effective per-request timeout (seconds); falls back to env/default when unset. */ timeoutSecs?: number; } export declare function createWebSearchToolDefinition(cwd: string, options?: WebSearchToolOptions): ToolDefinition; export declare function createWebSearchTool(cwd: string, options?: WebSearchToolOptions): AgentTool; export {}; //# sourceMappingURL=websearch.d.ts.map