/// import { BN, PrefixedHexString } from 'ethereumjs-util'; export declare function formatTokenAmount(amount: number, decimals: number): string; export declare function toWei(amount: BN | string | number | undefined, unit?: string): BN; export declare function fromWei(amount: BN | PrefixedHexString | undefined, unit?: string, mantissa?: number): string; export declare function formatPrice(amount: string | number, price: number): string; export declare function trimDecimals(value: number | string, mantissa: number): string; export declare const formatAmount: (amount?: number | string, mantissa?: number) => string; /** * 后缀两位 * * @param num * @returns */ export declare const toNonExponential: (num?: Number, mantissa?: number) => string;