import type { Account, Address, Chain, ContractFunctionArgs, PublicClient, Transport } from 'viem'; import type { L2SimulateContractParameters } from '../../../types/l2Actions.js'; import { type ABI, type FUNCTION, type WithdrawETHParameters } from '../../../types/withdrawTo.js'; import { type SimulateWithdrawERC20ReturnType } from './simulateWithdrawERC20.js'; export type SimulateWithdrawETHParameters = { args: WithdrawETHParameters; } & L2SimulateContractParameters, TChain, TChainOverride, TAccountOverride>; export type SimulateWithdrawETHReturnType = SimulateWithdrawERC20ReturnType; /** * Simulates a withdrawal of ETH to an L1 address. * * @param {Address} to the address to withdraw to on L1 * @param {Bigint} amount the amount of ETH to withdraw * @param {Bigint} minGasLimit the minimum gas limit for the withdrawal * @param {Hex} [extraData] the extra data for the withdrawal */ export declare function simulateWithdrawETH(client: PublicClient, { args: { to, amount, minGasLimit, extraData }, ...rest }: SimulateWithdrawETHParameters): Promise>; //# sourceMappingURL=simulateWithdrawETH.d.ts.map