import { utils as ethersUtils } from "ethers";
import { BigNumber, BigNumberish } from "@ethersproject/bignumber";
export * from "@ethersproject/bignumber";
export type BN = BigNumber;
export declare const formatEther: typeof ethersUtils.formatEther, formatUnits: typeof ethersUtils.formatUnits, parseEther: typeof ethersUtils.parseEther, parseUnits: typeof ethersUtils.parseUnits;
export declare const bnZero: BigNumber;
export declare const bnOne: BigNumber;
export declare const bnUint32Max: BigNumber;
export declare const bnUint256Max: BigNumber;
export declare const biMin: (a: bigint, b: bigint) => bigint;
export declare const biMax: (a: bigint, b: bigint) => bigint;
export declare function toWei(num: BigNumberish): BN;
export declare function toGWei(num: BigNumberish): BN;
export declare const toBN: (num: BigNumberish, rounding?: "floor" | "round" | "ceil") => BN;
export declare const bnMax: (val: BigNumber, cmp: BigNumber) => BigNumber;
