export interface Wallet { id: number; name: string; type: string; currency: string; } export interface Transaction { id: number; type: 'income' | 'expense' | 'transfer'; amount: number; currency: string; wallet_id: number; to_wallet_id?: number | null; category?: string; note?: string; date: string; country_id?: string; } export interface Exchange { id: number; from_amount: number; from_currency: string; from_wallet_id: number; to_amount: number; to_currency: string; to_wallet_id: number; rate: number; date: string; note?: string; } export interface Loan { id: number; person: string; type: 'borrowed_from_me' | 'owed_by_me'; amount: number; currency: string; paid: number; date: string; note?: string; }