import Database from 'better-sqlite3'; export declare function getDb(): Database.Database; export declare function closeDb(): void; /** Test-only: reset the cached db handle (forces next getDb() to reopen). */ export declare function resetDbHandle(): void; /** * Returns whether sqlite-vec is functional on this db handle. Callers that * need vectors should check this before building vector queries. */ export declare function hasVectorSupport(db: Database.Database): boolean;