import { Maybe } from '@avalabs/core-utils-sdk'; import Big from 'big.js'; import { JsonRpcProvider } from 'ethers'; /** * Calculates the approximate maximum abount transfarable for a given asset. * For ERC20s it's always the user's max balance * For native assets, since gas price is payed with the native asset, * it's balance minus approximate transaction fees */ declare function useMaxTransferAmount(balance: Maybe, account: Maybe, provider: Maybe): Big | null; export { useMaxTransferAmount };