import { BigNumber } from 'ethers';
/**
 * Parse the given BN value as float with decimal precision
 *
 * @param {BigNumber} value
 * @return {number}
 */
export declare function BNtoFloat(value: BigNumber): number;
export declare function BNtoFloatFixed18(value: BigNumber): string;
export declare function floatToBN(value: number): BigNumber;
export declare function toFixedEther(value: number, decimals?: number): string;
/**
 * Takes a string representation of a price and converts it into a BigNumber format,
 * ensuring that the fractional part is extended or truncated to exactly 18 decimals.
 *
 * @param {string} price
 * @param {number} decimals - The number of decimals to use for the fractional part.
 * @return {BigNumber}
 */
export declare function parsePriceStringToBigNumberOn18DecimalsExt(price: string, decimals?: number): BigNumber;
//# sourceMappingURL=math.d.ts.map