import { BigNumber, BigNumberish } from "ethers"; /** * 100% in basis points. */ export declare const BASIS_POINTS: BigNumber; /** * Calculates a share's portion of the given value. * @param value The base value to calculate from. * @param shareInBasisPoints How much percentage of the value to calculate, in basis points. * @param roundUp True if the result should be rounded up, false if it should be rounded down. */ export declare function calcShare(value: BigNumberish, shareInBasisPoints: BigNumberish, roundUp?: boolean): BigNumber; /** * Calculates a value's remainder after a share has been deducted from it. * @param value The base value to calculate from. * @param shareInBasisPoints How much percentage of the value to deduct, in basis points. * @param roundUpShare True if the share should be rounded up, false if it should be rounded down. */ export declare function calcShareRemainder(value: BigNumberish, shareInBasisPoints: BigNumberish, roundUpShare?: boolean): BigNumber; //# sourceMappingURL=math.d.ts.map