import type { Account, Chain, ContractFunctionArgs, Transport, WalletClient, WriteContractReturnType } from 'viem'; import type { L2WriteContractParameters } from '../../../types/l2Actions.js'; import { type ABI, type FUNCTION, type WithdrawETHParameters } from '../../../types/withdrawTo.js'; export type WriteWithdrawETHParameters = { args: WithdrawETHParameters; } & L2WriteContractParameters, TChain, TAccount, TChainOverride>; /** * Withdraws 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 * * @returns {Promise} the hash of the transaction */ export declare function writeWithdrawETH(client: WalletClient, { args: { to, amount, minGasLimit, extraData }, ...rest }: WriteWithdrawETHParameters): Promise; //# sourceMappingURL=writeWithdrawETH.d.ts.map