import { PoolType } from '@dodoex/api';
import BigNumber from 'bignumber.js';
import { TokenInfo } from '../../../../hooks/Token';
import { usePoolBalanceInfo } from '../usePoolBalanceInfo';
export interface SubmitLiquidityParams {
    balanceInfo?: ReturnType<typeof usePoolBalanceInfo>;
    baseAmount: string;
    quoteAmount: string;
    slippageProtection: number;
    SLIPPAGE_PROTECTION: number;
    txTitle: string;
    isRemove?: boolean;
    submittedBack?: () => void;
    successBack?: () => void;
    withdrawInfo?: {
        withdrawFee: string;
        receiveBaseAmount: string;
        receiveQuoteAmount: string;
        receiveAmountBg: BigNumber | undefined;
    };
}
export declare const useOperateLiquidity: (pool?: {
    chainId: number;
    address: string;
    type: PoolType;
    baseToken: TokenInfo;
    quoteToken: TokenInfo;
    baseLpToken?: {
        id: string;
    };
    quoteLpToken?: {
        id: string;
    };
}) => {
    operateLiquidityMutation: import("@tanstack/react-query").UseMutationResult<void, Error, SubmitLiquidityParams, unknown>;
};
