import Big from 'big.js'; import { JsonRpcApiProvider } from 'ethers'; import { Asset, AppConfig, Blockchain } from '../types/config.js'; declare const AVERAGE_TRANSFER_TX_GAS_USAGE = 40000n; /** * NOTE: These estimates are only supposed to be used to approximate * the network fees in the UI. * * DO NOT use them as `gasLimit` prop on the transactions! */ declare function estimateGas(amount: Big, account: string, asset: Asset, providers: { ethereum: JsonRpcApiProvider; avalanche: JsonRpcApiProvider; }, config: AppConfig, sourceBlockchain: Blockchain, withSigner?: boolean): Promise; export { AVERAGE_TRANSFER_TX_GAS_USAGE, estimateGas };