import BetterSqlite3 from 'better-sqlite3';
export declare class Database {
    private db;
    constructor(dbPath: string);
    getSetting(key: string): string | undefined;
    setSetting(key: string, value: string): void;
    listTables(): string[];
    /** Expose the raw better-sqlite3 handle for advanced operations. */
    get raw(): BetterSqlite3.Database;
    close(): void;
}
