import Database from 'better-sqlite3'; /** * Configure the database path before initialization. * Call this before getDb() to set a custom path. */ export declare function configureDbPath(path: string): void; /** * Get the configured or default database path (for logging/debugging). */ export declare function getDbPath(): string; export declare function getDb(path?: string): Database.Database; export declare function setDb(database: Database.Database): void; /** * Close the database with proper WAL checkpoint. * This ensures all WAL data is written to the main database file. */ export declare function closeDb(): void; export * from './db.js'; export * from './migrations.js'; export * from './audit.repo.js'; //# sourceMappingURL=index.d.ts.map