import { CryptoOrTokenCurrency } from "@ledgerhq/types-cryptoassets"; import { AccountLike } from "@ledgerhq/types-live"; import BigNumber from "bignumber.js"; import { ExchangeRate } from "../../types"; type Props = { fromCurrencyAccount: AccountLike | undefined; toCurrency: CryptoOrTokenCurrency | undefined; fromCurrencyAmount: BigNumber; onSuccess?(data: ExchangeRate[]): void; isEnabled?: boolean; }; export declare function useFetchRates({ fromCurrencyAccount, toCurrency, fromCurrencyAmount, onSuccess, isEnabled, }: Props): { data: ExchangeRate[] | undefined; isLoading: boolean; error: Error | undefined; refetch: () => void; }; export {}; //# sourceMappingURL=useFetchRates.d.ts.map