/** Application-owned web search function tool for Realtime sessions. */ import type { RealtimeTool } from "./tools.js"; export interface WebSearchResult { title: string; url: string; snippet: string; } export interface WebSearchResponse { query: string; results: WebSearchResult[]; } export interface WebSearchToolOptions { fetch?: typeof globalThis.fetch; endpoint?: string; timeoutMs?: number; maxResults?: number; } export declare function parseDuckDuckGoResults(html: string, limit?: number): WebSearchResult[]; export declare function createWebSearchTool(options?: WebSearchToolOptions): RealtimeTool<{ query: string; limit?: number; }, WebSearchResponse>; //# sourceMappingURL=search.d.ts.map