import { JsonRpcProvider } from '@ethersproject/providers';
import { Currency, CurrencyAmount, TradeType } from '@uniswap/sdk-core';
/**
 * Returns query arguments for the Routing API query or undefined if the
 * query should be skipped. Input arguments do not need to be memoized, as they will
 * be destructured.
 */
export declare function useRouterArguments({ tokenIn, tokenOut, amount, tradeType, routerUrl, provider, }: {
    tokenIn: Currency | undefined;
    tokenOut: Currency | undefined;
    amount: CurrencyAmount<Currency> | undefined;
    tradeType: TradeType;
    routerUrl: string | undefined;
    provider: JsonRpcProvider;
}): {
    amount: string;
    tokenInAddress: string;
    tokenInChainId: number;
    tokenInDecimals: number;
    tokenInSymbol: string | undefined;
    tokenOutAddress: string;
    tokenOutChainId: number;
    tokenOutDecimals: number;
    tokenOutSymbol: string | undefined;
    routerUrl: string | undefined;
    provider: JsonRpcProvider;
    type: "exactIn" | "exactOut";
} | undefined;
