import Database from 'better-sqlite3'; declare const AIMONSTERS_DIR: string; declare const DB_PATH: string; /** * Get or create the singleton database connection. * Auto-creates ~/.aimonsters/ and runs migrations. */ export declare function getDb(dbPath?: string): Database.Database; /** * Close the database connection. Used in tests and cleanup. */ export declare function closeDb(): void; /** * Reset the singleton (for tests that use custom paths). */ export declare function resetDbSingleton(): void; export { DB_PATH, AIMONSTERS_DIR };