import { BigNumber } from '@ethersproject/bignumber'; import type { JsonRpcProvider } from '@ethersproject/providers'; import { Percent } from '@uniswap/sdk-core'; import { AnyTrade } from './getSwapCallV2Params'; export declare enum SwapCallbackState { INVALID = 0, LOADING = 1, VALID = 2 } interface UseSwapCallbackArgs { library: JsonRpcProvider; account: string; chainId: number; trade: AnyTrade | undefined; allowedSlippage: Percent; deadline: BigNumber | undefined; protocol: string; } export declare const getSwapCallback: ({ library, account, chainId, trade, allowedSlippage, deadline, protocol, }: UseSwapCallbackArgs) => { address: string; params: import("..").SwapCallParamsOut | import("..").SwapCallParamsIn; value: string; } | undefined; export {};