import { ExchangeRate } from "../../types";
import { Unit } from "@ledgerhq/live-app-sdk";
type Props = {
    providers: Array<string>;
    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<ExchangeRate[]>;
export {};
//# sourceMappingURL=fetchRates.d.ts.map