import Database from 'better-sqlite3';
export declare class TaskDatabase {
    private db;
    private static instance;
    private constructor();
    static getInstance(dbPath: string): TaskDatabase;
    static resetInstance(): void;
    getDatabase(): Database.Database;
    private initSchema;
    /**
     * Run schema migrations for existing databases.
     * Each migration is idempotent (checks before altering).
     */
    private migrate;
    close(): void;
}
export declare function getDefaultTaskDbPath(): string;
export declare function getDefaultTaskJSONLPath(): string;
//# sourceMappingURL=database.d.ts.map