import { SchemaCache } from './schema-cache.js'; export interface ToolSearchResult { server: string; name: string; description: string; inputSchema: Record; score: number; } export declare class ToolSearchEngine { private schemaCache; private index; private serverSummaries; constructor(schemaCache: SchemaCache); /** Build search index from cached schemas */ buildIndex(): void; /** Search tools by query, return top N matches */ search(query: string, maxResults?: number): ToolSearchResult[]; /** Generate the compact catalog for the meta-tool description */ getCatalog(): string; /** Get total indexed tool count */ get toolCount(): number; private buildServerSummaries; private calculateScore; private tokenize; private toResult; } //# sourceMappingURL=tool-search.d.ts.map