import { BigNumber, ethers, PayableOverrides } from 'ethers'; import { BridgeNetworkConfig } from '../networks'; /** * Withdraws ERC20 tokens * * @param {string} destinationTokenAddress - The address of the ERC20 token to withdraw. * @param {BigNumber} amount - The amount of tokens to withdraw. * @param {string} destination - The destination address on the Ethereum network. * @param {ethers.Signer} signer - The signer instance for signing transactions. * @param {PayableOverrides} [overrides] - Optional overrides for the transaction. * @returns {Promise} - A promise that resolves to the transaction response. * @throws {BridgerError} - Throws an error if there is no provider. */ export declare const withdrawERC20: (destinationTokenAddress: string, amount: BigNumber, destination: string, signer: ethers.Signer, overrides?: PayableOverrides) => Promise; /** * Withdraws native tokens * * @param {BigNumber} amount - The amount of native tokens to withdraw. * @param {string} destination - The destination address on the Ethereum network. * @param {ethers.Signer} signer - The signer instance for signing transactions. * @param {BridgeNetworkConfig} originNetwork - Configuration of the originating network. * @param {PayableOverrides} [overrides] - Optional overrides for the transaction. * @returns {Promise} - A promise that resolves to the transaction response. * @throws {BridgerError} - Throws an error if arbSys is not configured for the origin network. */ export declare const withdrawNative: (amount: BigNumber, destination: string, signer: ethers.Signer, originNetwork: BridgeNetworkConfig, overrides?: PayableOverrides) => Promise; export declare const withdrawEth: (amount: BigNumber, destination: string, signer: ethers.Signer, overrides?: PayableOverrides) => Promise;