import { ethers } from "ethers"; import { RevertOptions, TxOptions } from "../../../types/contracts.types"; import { ZetaChainClient } from "./client"; /** * @function evmDeposit * @description Deposits a specified amount of ERC-20 or native gas tokens to a receiver on ZetaChain. * * @param {ZetaChainClient} this - The instance of the ZetaChain client that contains the signer information. * @param {object} args - The function arguments. * @param {string} args.amount - The amount of ERC20 tokens or native currency to deposit. * @param {string} args.erc20 - The address of the ERC20 token contract. If depositing native currency (e.g., ETH), this can be left empty or undefined. * @param {string} args.gatewayEvm - The address of the ZetaChain gateway contract on the EVM-compatible blockchain. * @param {string} args.receiver - The address of the receiver or target contract for the deposit. * @param {txOptions} args.txOptions - Transaction options, including gasLimit, gasPrice, etc. * @param {revertOptions} args.revertOptions - Options to handle call reversion, including revert address, message, and gas limit for the revert scenario. * * @returns {object} - Returns the transaction object. * @property {object} tx - The transaction object representing the deposit transaction. */ export declare const evmDeposit: (this: ZetaChainClient, args: { amount: string; erc20?: string; gatewayEvm?: string; receiver: string; revertOptions: RevertOptions; txOptions: TxOptions; }) => Promise;