export declare function clearLedgerCache(ledgerPath?: string): void; export interface AppendLedgerRecordArgs { ledgerPath: string; ledgerName: string; recordType: string; fields: ReadonlyArray; stampSrc: string; ts?: string; } export interface AppendLedgerRecordResult { ts: string; hash: string; initialised: boolean; } export interface RotateLedgerFileArgs { ledgerPath: string; archivedPath: string; ledgerName: string; fromMonth: string; toMonth: string; stampSrc: string; } export declare function rotateLedgerFile(args: RotateLedgerFileArgs): boolean; export declare function appendLedgerRecord(args: AppendLedgerRecordArgs): AppendLedgerRecordResult; export declare function ensureLedgerHeader(ledgerPath: string, ledgerName: string, monthKey: string): boolean; export declare function monthKeyFromIsoTs(ts: string): string; //# sourceMappingURL=ledger-write.d.ts.map