UNPKG

zumokit

Version:

ZumoKit is a Wallet as a Service SDK

10 lines (9 loc) 712 B
import { ExchangeRate } from './ExchangeRate'; import { CurrencyCode, Dictionary, TimeInterval, ExchangeRateJSON } from '../interfaces'; /** * Historical exchange rates are contained in a mapping between time interval, * from currency, to currency on third level and exchange rates. */ export declare type HistoricalExchangeRates = Dictionary<TimeInterval, Dictionary<CurrencyCode, Dictionary<CurrencyCode, Array<ExchangeRate>>>>; /** @internal */ export declare const HistoricalExchangeRates: (historicalExchangeRatesJSON: Record<string, Record<string, Record<string, Array<ExchangeRateJSON>>>>) => Partial<Record<TimeInterval, Partial<Record<CurrencyCode, Partial<Record<CurrencyCode, ExchangeRate[]>>>>>>;