export type LedgerSnapshotRow = { account_id: string; available_balance: string; locked_balance: string; entries_sum: string; last_entry_at: Date | null; snapshot_at: Date; }; export type AccountLedgerMeta = { account_id: string; available_balance: string; locked_balance: string; entries_sum: string; last_entry_at: Date | null; entry_count: string; }; export declare function getAccountLedgerMeta(accountId: string): Promise; export declare function getSnapshot(accountId: string): Promise; export declare function upsertSnapshot(meta: AccountLedgerMeta): Promise; /** Credits with missing or broken references to authorized source tables. */ export declare function listInvalidLedgerReferences(): Promise>; export declare function checksumBalances(meta: AccountLedgerMeta): string; //# sourceMappingURL=ledgerIntegrityRepository.d.ts.map