import { BlockhashWithExpiryBlockHeight, Keypair, MessageV0, Signer, VersionedTransaction } from '@solana/web3.js'; export interface TransactionExecutor { executeAndConfirm( transaction: VersionedTransaction, payer: Keypair, latestBlockHash: BlockhashWithExpiryBlockHeight, ): Promise<{ confirmed: boolean; signature?: string, error?: string }>; }