/** * Ledger account model — canonical in-app balance per user and wallet type. * Maps to the `ledger_accounts` table (source of truth for available and locked funds). */ /** Row shape for the `ledger_accounts` table. */ export interface LedgerAccount { id: string; user_id: string; wallet_type_id: number; available_balance: string; locked_balance: string; updated_at: Date; }