import type { CloseAccountTransaction , CreateAccountTransaction , ParsedConfirmedTransaction , ParsedInstruction , SwapTransaction , TransferTransaction , } from '../../../../index' ; export type CustomParsedTransaction = SwapTransaction | CreateAccountTransaction | CloseAccountTransaction | TransferTransaction | null ; export type TransactionAmountDetails = { amount ? : string ; tokenAccount ? : string ; } ; export type TransactionDetails = TransactionAmountDetails & { type : string ; icon : string ; isReceiver ? : boolean ; } ; export abstract class AbstractTransaction { abstract details ( string ? ) ; } export abstract class Parser { static can ( instructions ) ; static parse < T > ( transactionInfo ) ; }