import { BigNumber as BigNumberJs } from 'bignumber.js'; /** * Numbers with increased precision. (No rounding errors). */ export type BigNumber = BigNumberJs; /** * Provides functionality around calculating with high precision. */ export declare abstract class BigNumberUtilities { /** * Creates a BigNumber from the provided input. * @param value - The number value to create from. * @returns A new BigNumber. */ static new(value: number): BigNumber; /** * Precisely multiplies the given values. * @param value1 - The first number to multiply. * @param value2 - The second number to multiply. * @returns The precise result as BigNumber. */ static multiply(value1: number | BigNumber, value2: number | BigNumber): BigNumber; /** * Precisely divides the first value by the second value. * @param dividend - The value that will be divided. * @param divisor - The value that divides the first value. * @returns The precise result as BigNumber. */ static divide(dividend: number | BigNumber, divisor: number | BigNumber): BigNumber; /** * Precisely adds the given values. * @param value1 - The first number for the addition. * @param value2 - The second number for the addition. * @returns The precise result as BigNumber. */ static add(value1: number | BigNumber, value2: number | BigNumber): BigNumber; }