import type { PendingCharge } from './types.js';
export declare class LicenseCache {
    private db;
    constructor(storagePath: string);
    getCachedBalance(): {
        balance_cents: number;
        cost_per_file_cents: number;
    };
    setCachedBalance(cents: number, costPerFileCents: number): void;
    setBalanceToken(token: string): void;
    getBalanceToken(): string | null;
    getLastFetch(): Date | null;
    addPendingCharge(id: string, documentHash: string): void;
    confirmPendingCharge(id: string): void;
    removePendingCharge(id: string): void;
    getPendingCharges(): PendingCharge[];
    getPendingCount(): number;
    close(): void;
}
//# sourceMappingURL=cache.d.ts.map