import type { BigNumber as BigNumberJs } from 'bignumber.js'; export declare type BaseCurrency = 'TRIF' | 'RIF' | 'RDOC' | 'RBTC' | 'TKN' | 'USDRIF'; export declare type CurrencyMapping = Partial>; export interface ExchangeApi { queryExchangeRate: (sourceCurrency: string, targetCurrency: string) => Promise; } export default abstract class BaseExchangeApi implements ExchangeApi { protected readonly api: string; private currencyMapping; constructor(api: string, currencyMapping: CurrencyMapping); protected _getCurrencyName(tokenSymbol: string): string; abstract queryExchangeRate(sourceCurrency: string, targetCurrency: string): Promise; }