import { ExchangeRate } from "../../types"; import { Unit } from "@ledgerhq/live-app-sdk"; type Props = { providers: Array; currencyFrom?: string; toCurrencyId?: string; fromCurrencyAmount: string; unitTo: Unit; unitFrom: Unit; }; export declare const throwRateError: (response: ExchangeRate[]) => never; export declare function fetchRates({ providers, currencyFrom, toCurrencyId, unitTo, unitFrom, fromCurrencyAmount, }: Props): Promise; export {}; //# sourceMappingURL=fetchRates.d.ts.map