import { BigNumber } from "bignumber.js"; import { BN } from "./types"; /** * @title Utility function for rounding BN values. * @param {BN} inputAmount that is scaled up. * @param {Number} inputDecimals specifies decimal scaling for processed value. * @param {Number} roundingPrecision specifies amount of decimals left after rounding. * Negative value would round to the nearest 10 to the power of absolute roundingPrecision value. * @param {RoundingMode} roundingMode is optional rounding mode documented in * https://mikemcl.github.io/bignumber.js/#constructor-properties */ export declare function roundToDecimal(inputAmount: BN, inputDecimals: number, roundingPrecision: number, roundingMode?: BigNumber.RoundingMode): BN;