import { Moment } from 'moment'; import { TransactionStatus } from './transaction-status'; export interface TransactionInitData { date: Moment; description: string; amount: number; status: TransactionStatus; } /** Provides access to all data FNB provide for a transaction. */ export declare class Transaction { /** The date the transaction was processed. */ readonly date: Moment; /** The description of the transaction. */ readonly description: string; /** The amount of the transaction. */ readonly amount: number; /** * The status of the transaction. * @see TransactionStatus */ readonly status: TransactionStatus; constructor(init: TransactionInitData); }