import Database from "better-sqlite3"; /** * Database connection manager with connection pooling and automatic schema initialization */ export declare class DatabaseConnection { private static connections; /** * Get or create a database connection for the given file path */ static getConnection(dbPath: string): Database.Database; /** * Close a specific database connection */ static closeConnection(dbPath: string): void; /** * Close all database connections */ static closeAllConnections(): void; /** * Execute a function within a transaction */ static transaction(db: Database.Database, fn: () => T): T; /** * Backup database to a file */ static backup(dbPath: string, backupPath: string): void; }