/** * Project Mind MCP - Semantic Search Tools * * Tools for semantic file search using ONNX embeddings. * Understands meaning, not just text matching. */ import type { Tool } from '@modelcontextprotocol/sdk/types.js'; import type { ProjectDatabase } from '../storage/database.js'; import type { ToolResult } from '../types/index.js'; export declare const semanticSearchTools: Tool[]; interface SemanticSearchResult { path: string; relevance: number; preview: string; fileType: string; } interface IndexingResult { indexed: number; skipped: number; errors: Array<{ path: string; error: string; }>; totalTime: number; } interface IndexStatus { totalFiles: number; indexedFiles: number; lastIndexed: string | null; } export declare function createSemanticSearchHandlers(db: ProjectDatabase): { search_semantic: (input: { query: string; project: string; fileTypes?: string[]; limit?: number; minRelevance?: number; }) => Promise>; pm_index_files: (input: { project: string; paths?: string[]; reindex?: boolean; }) => Promise>; pm_index_status: (input: { project: string; }) => Promise>; read_semantic: (input: { project: string; path: string; includeRelated?: boolean; relatedLimit?: number; minRelevance?: number; }) => Promise; }>>; }; export {}; //# sourceMappingURL=semantic-search.d.ts.map