/**
 * Web Search tool for Clawx.
 *
 * Searches the web and returns results with titles, URLs, and snippets.
 *
 * Search backends (in priority order):
 * 1. SearXNG — self-hosted meta search engine (configure SEARXNG_URL env var)
 * 2. DuckDuckGo HTML — no API key required, scrapes lite.duckduckgo.com
 *
 * For best results, self-host SearXNG: docker run -p 8888:8080 searxng/searxng
 * Then set SEARXNG_URL=http://localhost:8888 in your environment.
 */
import type { AgentTool } from "../core/types.js";
declare const WebSearchSchema: import("@sinclair/typebox").TObject<{
    query: import("@sinclair/typebox").TString;
    max_results: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
}>;
export interface WebSearchResult {
    title: string;
    url: string;
    snippet: string;
}
export interface WebSearchDetails {
    query: string;
    backend: string;
    resultCount: number;
    durationMs: number;
}
export declare function createWebSearchTool(): AgentTool<typeof WebSearchSchema, WebSearchDetails>;
export {};
//# sourceMappingURL=webSearch.d.ts.map