import { AddressLookupTableAccount, Connection, Keypair, PublicKey, Transaction, TransactionInstruction, VersionedTransaction } from '@solana/web3.js'; /** * Compose a Sealevel transaction from a flat ordered ix list. Mirrors the * compilation logic in `SealevelHypTokenAdapter.populateTransferRemoteTx` * but accepts an arbitrary ix sequence — used by * `SealevelQuotedTransferProvider` to splice `SubmitFeeQuote` / * `SubmitIgpQuote` ixs between the compute-budget head and the warp * transfer ix. * * - When `addressLookupTableAccounts` is non-empty, emits a v0 * `VersionedTransaction` (ALTs keep the account-key list under Solana's * 1232-byte tx limit on 40+ account warp routes). * - Otherwise, emits a legacy `Transaction`. * * `signers` are partial-signed at compose time (typical use case is the * adapter's randomWallet for the dispatched-message PDA). The user wallet * signs after this returns, via the caller's wallet adapter. */ export declare function composeSealevelTx(args: { connection: Connection; instructions: TransactionInstruction[]; addressLookupTableAccounts: AddressLookupTableAccount[]; feePayer: PublicKey; signers?: Keypair[]; }): Promise; //# sourceMappingURL=composeSealevelTx.d.ts.map