UNPKG

mysterium-vpn-js

Version:
19 lines (18 loc) 680 B
/** * Copyright (c) 2020 BlockDev AG * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import { Money } from '../payment'; export interface DisplayMoneyOptions { showCurrency?: boolean; fractionDigits?: number; removeInsignificantZeros?: boolean; decimalPart?: number; } export declare const DECIMAL_PART = 1000000000000000000; /** * @deprecated For every token value, use *Tokens field and display it using Tokens.Human. */ export declare const displayMoney: (m: Money, { showCurrency, fractionDigits, removeInsignificantZeros, decimalPart, }?: DisplayMoneyOptions) => string;