import { ICurrency } from './Currency'; export declare enum TransactionType { CREDIT = "credit", DEBIT = "debit" } export interface ITransaction { amount: number; date: Date; type: TransactionType; description: string | null; details: string | null; currency: ICurrency; beforeAmount: number | null; afterAmount: number | null; reference?: string | null; } export interface ICategorizedTransaction extends ITransaction { category: string; } export interface IEnrichedTransaction extends ICategorizedTransaction { brandDetails: { logo: string; name: string; }; }