import { Ethereum } from '../types';
import { BigNumber } from '@0xproject/utils';
export declare const getEstimateGas: (tx: any) => Promise<number>;
export declare const getNonce: (address: any) => Promise<{}>;
/**
 * @params.contractName
 * @params.method   contract method name
 * @params.args     contract method arguments
 * @description
 * generate data 的 三种实现方式
 * 1. 两年前的 https://github.com/ethereum/solidity.js （未实验）
 * 2. web3.js lib/solidity/coder （拆不出来）
 *    https://github.com/ethereum/web3.js/blob/6d3e61a010501011a107a79574cc7516900fa9e4/lib/solidity/coder.js
 *    https://github.com/ethereum/web3.js/blob/db6efd5f2309f9aeab6283383b3f4a3d1dcb7177/lib/web3/function.js#L92
 *    https://github.com/ethereum/web3.js/blob/db6efd5f2309f9aeab6283383b3f4a3d1dcb7177/lib/web3.js#L107
 * 3. ethereumjs-abi https://github.com/ethereumjs/ethereumjs-abi/blob/master/lib/index.js
 */
export declare const encodeData: (contractName: string, method: string, args: any[]) => string;
export declare const getTokenBalance: ({ address, contractAddress }: {
    address: any;
    contractAddress: any;
}) => Promise<BigNumber>;
export declare const sendTransaction: (params: Ethereum.SendTransactionParams) => Promise<any>;
