import { BigNumber } from 'ethers';

/**
 * Convert a BigInt to an int - useful when you are 'evolve'ing a response
 */
declare const weiStringAsFloat: (num: string | undefined, decimalPoints?: number) => number;
declare const bigNumAsInt: (num: BigNumber) => number;
declare const weiBigNumAsFloat: (num: BigNumber, decimalPoints?: number) => number;
declare const safelyParseUnits: (num: string, decimalPoints?: number) => BigNumber;

export { bigNumAsInt, safelyParseUnits, weiBigNumAsFloat, weiStringAsFloat };
