import type { Currency } from "./"; export declare class Amount { private readonly backend; readonly currency: C; readonly decimals: undefined | 0 | 2 | 3 | 4; get value(): number; get major(): number; get minor(): number; private constructor(); create(value: number): Amount; add(term: number | Amount): Amount; subtract(minuend: number | Amount): Amount; multiply(multiplicand: number | Amount): Amount; convert(factor: number, to: D): Amount; divide(denominator: number | Amount): Amount; toJSON(): [number, C]; toString(): string; static create(currency: C, value: number): Amount; static fromMinor(currency: C, value: number): Amount; static add(currency: C, value: number, term: number | Amount): Amount; static subtract(currency: C, value: number, minuend: number | Amount): Amount; static multiply(currency: C, value: number, multiplicand: number | Amount): Amount; static convert(currency: Currency, value: number, factor: number, to: C): Amount; static divide(currency: C, value: number, denominator: number | Amount): Amount; } export declare namespace Amount { }