crnc
Version:
currency conversion and functionality for the web
7 lines (6 loc) • 406 B
TypeScript
import { ConverterPersistence, DownloadExchangeRates, CurrencyExchangeRates } from "../interfaces.js";
export declare function rememberOrDownloadExchangeRates({ currencies, persistence: { storage, storageKeys, cacheLifespan }, downloadExchangeRates, }: {
currencies: string[];
persistence: ConverterPersistence;
downloadExchangeRates: DownloadExchangeRates;
}): Promise<CurrencyExchangeRates>;