import * as react_jsx_runtime from 'react/jsx-runtime'; /** * StatementTransactionTable - WealthX DS (L3 Organism) * * The transaction ledger printed on a generated statement. Static and * print-density by design - no sorting, filtering, or row actions. For the * interactive screen equivalent see `DashboardTransactionsTable`. * * One column shape for every account type, matching the * `Sample_Open_Banking_statement_*` references: Date · Transaction · Debit · * Credit · Balance. Loan and card statements run the same ledger with signed * (negative) balances - a repayment is a credit, an interest charge a debit. * * Layer: L3 Organism */ interface StatementTransaction { id: string; /** ISO date string. */ date: string; description: string; /** Signed movement - positive is a credit, negative a debit. */ amount: number; /** Running account balance after this transaction - signed, negative when owing. */ balance?: number; } interface StatementTransactionTableProps { transactions: StatementTransaction[]; /** Balance carried into the period - rendered as the first row. */ openingBalance?: number; /** Balance at the end of the period - rendered as the closing row. */ closingBalance?: number; openingLabel?: string; closingLabel?: string; /** Optional heading above the table. */ title?: string; /** Shown when `transactions` is empty. */ emptyMessage?: string; className?: string; } declare function StatementTransactionTable({ transactions, openingBalance, closingBalance, openingLabel, closingLabel, title, emptyMessage, className, }: StatementTransactionTableProps): react_jsx_runtime.JSX.Element; export { type StatementTransaction, StatementTransactionTable, type StatementTransactionTableProps };