import { ElixirTrade, Trade } from '@envanik/sdk';
import { SwapCallbackState } from './constant';
export declare function useSwapCallback(trade: Trade | ElixirTrade | undefined, // trade to execute, required
recipientAddressOrName: string | null, // the ENS name or address of the recipient of the trade, or null if swap should be returned to sender
allowedSlippage?: number): {
    state: SwapCallbackState;
    callback: null | (() => Promise<string>);
    error: string | null;
};
