/** * Semantic Search using SQLite FTS5 * * Provides full-text search capabilities for code symbols and content. * Uses SQLite's built-in FTS5 for efficient text search without external dependencies. * * Ported from Argus to Foundation. */ export interface SearchResult { file: string; symbol: string; content: string; type: string; rank: number; } export declare class SemanticIndex { private db; private initialized; constructor(dbPath: string); private initialize; /** * Clear the index and rebuild from scratch */ clear(): void; /** * Index a file's symbols and content */ indexFile(file: string, symbols: Array<{ name: string; content: string; type: string; }>): void; /** * Index content from a snapshot file */ indexFromSnapshot(snapshotPath: string): Promise<{ filesIndexed: number; symbolsIndexed: number; }>; /** * Search the index */ search(query: string, limit?: number): SearchResult[]; /** * Get index statistics */ getStats(): { totalSymbols: number; lastIndexed: string | null; snapshotPath: string | null; }; close(): void; } //# sourceMappingURL=semantic-search.d.ts.map