/** * Manages a single SQLite database connection. */ export declare class SqliteManager { private db; private filePath; /** * Open an SQLite database file. */ open(filePath: string): { success: boolean; message: string; }; /** * Close the current database connection. */ close(): { success: boolean; message: string; }; /** * Get the current database status. */ status(): { isOpen: boolean; filePath: string | null; memoryUsage: number | null; tables: number | null; }; /** * Execute a read-only SELECT query. */ query(sql: string, params?: Record): { columns: string[]; rows: unknown[][]; rowCount: number; }; /** * Execute a write operation (INSERT, UPDATE, DELETE, CREATE, DROP, ALTER). */ execute(sql: string, params?: Record): { changes: number; lastInsertRowid: number | bigint; }; /** * List all tables in the database. */ listTables(): { tables: string[]; }; /** * Describe the schema of a specific table. */ describeTable(tableName: string): { name: string; columns: { cid: number; name: string; type: string; notnull: boolean; defaultValue: unknown; pk: boolean; }[]; rowCount: number; }; /** * Ensure the database is open before running a query. */ private ensureOpen; } //# sourceMappingURL=sqlite-manager.d.ts.map