import type { DB } from '../storage/db.js'; import type { VectorStore, VecFilter, VecHit } from '../contracts/index.js'; export declare class SqliteVecStore implements VectorStore { private db; private dim; readonly name: "sqlite-vec"; /** FEAT-409: dim defaults to DEFAULT_EMBED_DIM (1024) for backward * compat — callers with a config/provider in scope should pass * embed.dim (or cfg.embedding.dim) explicitly so this matches the * memories_vec schema the DB was actually created with. */ constructor(db: DB, dim?: number); upsert(id: string, vec: Float32Array): Promise; search(vec: Float32Array, k: number, filter?: VecFilter): Promise; clear(): Promise; private allocateRowid; }