UNPKG

crnc

Version:

currency conversion and functionality for the web

13 lines (12 loc) 457 B
import { CurrencyExchangeRates, DownloadExchangeRates } from "../interfaces.js"; export declare const mockExchangeRateDownloaders: { success: () => DownloadExchangeRates; downloadCounter: () => { readonly count: number; download: DownloadExchangeRates; }; fail: () => DownloadExchangeRates; useTheseRates: (exchangeRates: CurrencyExchangeRates) => () => Promise<{ exchangeRates: CurrencyExchangeRates; }>; };