import DataLoader from 'dataloader';
import { Currency } from '../../../shared/enums.js';
import { CoinMarketCapProvider } from '../../app-providers/coinmarketcap.js';
import { TenantAwareDBClient } from '../../app-providers/tenant-db-client.js';
import { IGetRateByCurrencyAndDateResult } from '../types.js';
export declare class CryptoExchangeProvider {
    private context;
    private db;
    private coinMarketCap;
    fiatCurrency: Currency;
    constructor(context: GraphQLModules.Context, db: TenantAwareDBClient, coinMarketCap: CoinMarketCapProvider);
    private getCryptoExchangeRatesFromDB;
    private addRates;
    private addCryptoRateLoader;
    private getCryptoCurrenciesBySymbol;
    private getCryptoCurrenciesBySymbolLoader;
    private getCryptoExchangeRatesFromAPI;
    getCryptoExchangeRateLoader: DataLoader<{
        cryptoCurrency: string;
        date: Date;
        against?: Currency;
    }, IGetRateByCurrencyAndDateResult, string>;
    clearCache(): void;
}
