/** * Web Access Tools * Fetch URLs and search the web */ import type { ToolResult } from './bash.js'; interface FetchOptions { selector?: string; format?: 'text' | 'html' | 'json'; timeout?: number; maxSize?: number; } export declare class WebTools { private maxResponseSize; private defaultTimeout; constructor(options?: { maxResponseSize?: number; defaultTimeout?: number; }); /** * Check rate limit */ private checkRateLimit; /** * Record a request for rate limiting */ private recordRequest; /** * Fetch and parse a URL */ fetchUrl(url: string, options?: FetchOptions): Promise; /** * Search the web using DuckDuckGo HTML (no API key needed) */ webSearch(query: string, options?: { numResults?: number; }): Promise; } export {};