export interface EmbeddingEntry { filePath: string; chunkIndex: number; chunkText: string; gitSha: string; model: string; vector: Float32Array; } export interface EmbeddingSearchResult { id: number; filePath: string; chunkIndex: number; chunkText: string; score: number; } export interface EmbeddingStats { fileCount: number; chunkCount: number; model: string | null; dimensions: number | null; lastIndexedAt: string | null; lastIndexedSha: string | null; } export interface IndexMeta { sha: string; model: string; dimensions: number; } export interface EmbeddingStore { saveEmbeddings(entries: EmbeddingEntry[]): Promise; searchEmbeddings(queryVector: Float32Array, limit?: number): Promise; getIndexedFiles(): Promise>; deleteEmbeddingsByFile(filePath: string): Promise; getEmbeddingStats(): Promise; setIndexMeta(sha: string, model: string, dimensions: number): Promise; getIndexMeta(): Promise; } /** Runtime type guard — check if a store supports embedding operations. */ export declare function hasEmbeddingSupport(store: unknown): store is EmbeddingStore; //# sourceMappingURL=embedding-store.d.ts.map