/** * Database Adapter Factory (SQLite-only) * * MAMA Plugin uses SQLite exclusively for local storage. * PostgreSQL support is only available in the legacy mcp-server. * * @module db-adapter */ import { SQLiteAdapter } from './sqlite-adapter.js'; import { NodeSQLiteAdapter } from './node-sqlite-adapter.js'; import { DatabaseAdapter, type VectorSearchResult, type RunResult } from './base-adapter.js'; import type { Statement } from './statement.js'; export { DatabaseAdapter, SQLiteAdapter, NodeSQLiteAdapter }; export type { Statement, VectorSearchResult, RunResult }; export interface AdapterConfig { dbPath?: string; } /** * Create SQLite database adapter * * @param config - Database configuration * @returns Configured SQLite adapter instance */ export declare function createAdapter(config?: AdapterConfig): DatabaseAdapter; //# sourceMappingURL=index.d.ts.map