export declare const DEFAULT_LEDGER_PATH: string; export interface LedgerEntry { payoutId: string; amountMinor: number; currency: string; postedAt: string; chargeCount: number; glPosted: boolean; } export interface LedgerFile { version: 1; entries: Record; } export declare function loadLedger(path?: string): LedgerFile; export declare function isBooked(ledger: LedgerFile, payoutId: string): boolean; export declare function recordEntry(ledger: LedgerFile, entry: LedgerEntry): void; export declare function saveLedger(ledger: LedgerFile, path?: string): void;