UNPKG

zumokit

Version:

ZumoKit is a Wallet as a Service SDK

10 lines (9 loc) 538 B
import { ExchangeRate } from './ExchangeRate'; import { Dictionary, CurrencyCode, ExchangeRateJSON } from '../interfaces'; /** * Exchange rates are contained in a mapping between from currency, * to currency and exchange rates. */ export declare type ExchangeRates = Dictionary<CurrencyCode, Dictionary<CurrencyCode, ExchangeRate>>; /** @internal */ export declare const ExchangeRates: (exchangeRatesJSON: Record<string, Record<string, ExchangeRateJSON>>) => Partial<Record<CurrencyCode, Partial<Record<CurrencyCode, ExchangeRate>>>>;