/** * SQLite Client for Standalone Mode * Manages SQLite connection with WAL mode and sqlite-vec extension * * NOTE: SQLite standalone mode uses manual DDL for full control over: * - Virtual tables (sqlite-vec) * - Index definitions * * The createTables() function below is the single source of truth for SQLite schema. * Schema changes require fresh database (delete .db file) or manual migration. */ import Database from "better-sqlite3"; export interface SQLiteClientConfig { path: string; vectorType: "sqlite-vec" | "memory" | "pgvector"; embeddingDimensions?: number; } /** * Initialize SQLite client with WAL mode and optional sqlite-vec */ export declare function initSQLite(config: SQLiteClientConfig): Database.Database; /** * Get existing SQLite instance (must call initSQLite first) */ export declare function getSQLite(): Database.Database; /** * Close SQLite connection */ export declare function closeSQLite(): void; //# sourceMappingURL=sqlite-client.d.ts.map