import { Transaction, VersionedTransaction } from "@solana/web3.js"; /** Serialize an unsigned Transaction/VersionedTransaction to the wire bytes the * wallet-standard sign features expect (legacy skips signature verification). */ export declare function serializeUnsignedTx(tx: Transaction | VersionedTransaction): Uint8Array; /** Deserialize the signed bytes a wallet returns, round-tripping legacy or * versioned transactions correctly. */ export declare function deserializeSignedTx(bytes: Uint8Array): Transaction | VersionedTransaction;