import type { Wallet } from 'ethers'; import type { Authorization, Call3Value, EIP7702Config } from './types.js'; export declare function buildEIP7702Transaction(mainWallet: Wallet, authorizations: Authorization[], calls: Call3Value[], totalValue: bigint, config?: EIP7702Config): Promise; /** * 构建 EIP-7702 交易(带预取数据)- 用于已并行获取 nonce/feeData 的场景 */ export declare function buildEIP7702TransactionSync(mainWallet: Wallet, authorizations: Authorization[], calls: Call3Value[], totalValue: bigint, nonce: number, feeData: { maxPriorityFeePerGas: bigint | null; maxFeePerGas: bigint | null; }, config?: EIP7702Config): string;