import { TokenInfo } from '../Token'; export type GetAutoSlippage = (options: { fromToken: TokenInfo | null; toToken: TokenInfo | null; }) => Promise | number | undefined; /** * Sets the slippage based on the incoming getAutoSlippage method. If there is an interface error or no data is returned, the default data with a lower priority will be used. */ export declare function useSetAutoSlippage({ fromToken, toToken, getAutoSlippage, }: { fromToken: TokenInfo | null; toToken: TokenInfo | null; getAutoSlippage?: GetAutoSlippage; }): void;