import { default as Web3 } from 'web3'; import { useEstimateGasPrice } from '../hooks/useEstimateGasPrice'; export declare const wrap: ({ account, web3, chainId, tokenAddress, fromAmount, gas, onTxHash, }: { account: string; web3: Web3; chainId: number; tokenAddress: string; fromAmount: string; gas: ReturnType; onTxHash?: (txHash: string) => void; }) => Promise;