import Database from 'better-sqlite3';
import { drizzle } from 'drizzle-orm/better-sqlite3';
import { type LogWriter } from 'drizzle-orm/logger';
declare class DrizzleLogWriter implements LogWriter {
    write(message: string): void;
}
declare let dbInstance: ReturnType<typeof drizzle> | null;
declare let sqliteInstance: Database.Database | null;
export declare function getDbPath(): string;
export declare function getDbSignalPath(): string;
export declare function getDb(): import("drizzle-orm/better-sqlite3").BetterSQLite3Database<Record<string, unknown>> & {
    $client: Database.Database;
};
export declare function closeDb(): void;
/**
 * Check if the database is currently open
 */
export declare function isDbOpen(): boolean;
export { DrizzleLogWriter, dbInstance, sqliteInstance };
//# sourceMappingURL=index.d.ts.map