import { OnNoRatesCallback, RatesReducerState, SwapSelectorStateType } from "../../types";
import { SetExchangeRateCallback } from "../useSwapTransaction";
type Props = {
    fromState: SwapSelectorStateType;
    toState: SwapSelectorStateType;
    onNoRates?: OnNoRatesCallback;
    setExchangeRate?: SetExchangeRateCallback | null | undefined;
    countdown?: number;
    allowRefresh?: boolean;
    isEnabled?: boolean;
};
export type UseProviderRatesResponse = {
    rates: RatesReducerState;
    refetchRates(): void;
    updateSelectedRate(): void;
    countdown: undefined | number;
};
export declare function useProviderRates({ fromState, toState, onNoRates, setExchangeRate, allowRefresh, isEnabled, ...props }: Props): UseProviderRatesResponse;
export {};
//# sourceMappingURL=useProviderRates.d.ts.map