import { Tool } from '../core/types'; import { Logger } from '../utils/logger'; /** * A tool for web search functionality using Brave Search API */ export declare class BraveSearchTool implements Tool { name: string; description: string; logger: Logger; private apiKey; private endpoint; schema: { type: string; properties: { query: { type: string; description: string; }; numResults: { type: string; description: string; }; country: { type: string; description: string; }; }; required: string[]; }; /** * Creates a new Brave Search tool * * @param apiKey - Optional Brave Search API key (defaults to BRAVE_API_KEY env variable) */ constructor(apiKey?: string); /** * Execute the web search using Brave Search API * * @param params - Parameters for the search * @returns Promise resolving to search results */ execute(params: Record): Promise; }