import JSBI from 'jsbi'; import { Rounding } from '../enums/rounding'; import { Jetton } from './Jetton'; import { BigintIsh } from '../types/BigIntish'; import { Fraction } from './Fraction'; export declare class JettonAmount extends Fraction { readonly jetton: T; readonly decimalScale: JSBI; /** * Returns a new currency amount instance from the unitless amount of token, i.e. the raw amount * @param currency the currency in the amount * @param rawAmount the raw token or ether amount */ static fromRawAmount(currency: T, rawAmount: BigintIsh): JettonAmount; /** * Construct a currency amount with a denominator that is not equal to 1 * @param currency the currency * @param numerator the numerator of the fractional token amount * @param denominator the denominator of the fractional token amount */ static fromFractionalAmount(currency: T, numerator: BigintIsh, denominator: BigintIsh): JettonAmount; protected constructor(jetton: T, numerator: BigintIsh, denominator?: BigintIsh); add(other: JettonAmount): JettonAmount; subtract(other: JettonAmount): JettonAmount; multiply(other: Fraction | BigintIsh): JettonAmount; divide(other: Fraction | BigintIsh): JettonAmount; toSignificant(significantDigits?: number, format?: object, rounding?: Rounding): string; toFixed(decimalPlaces?: number, format?: object, rounding?: Rounding): string; toExact(format?: object): string; get wrapped(): JettonAmount; }