/** * Search entries in the memory database. * * Split out of memory-read.ts (file-size sweep). Pure move: no behaviour change. * * @module v1/cli/memory-search-entries */ /** * Search entries using sql.js with vector similarity * Uses HNSW index for search when available */ export declare function searchEntries(options: { query: string; namespace?: string; limit?: number; threshold?: number; dbPath?: string; }): Promise<{ success: boolean; results: { id: string; key: string; content: string; score: number; namespace: string; }[]; searchTime: number; /** What actually ran — propagated from the bridge so callers can report the * real method instead of echoing the requested one. * * 'hash-vector'/'hash-hybrid' are the sql.js paths running on * generateEmbedding()'s deterministic hash fallback: a vector search was * performed, but over hashes with no semantic content, so neither may be * reported as 'semantic'/'hybrid'. */ searchMethod?: 'semantic' | 'keyword' | 'keyword-fallback' | 'hybrid' | 'hash-vector' | 'hash-hybrid'; fallbackReason?: string; error?: string; }>; //# sourceMappingURL=memory-search-entries.d.ts.map