import BigNumber from 'bignumber.js';
import { OperatePool } from '../types';
import { usePoolBalanceInfo } from '../../hooks/usePoolBalanceInfo';
export declare function useLiquidityOperateAmount({ pool, maxBaseAmount, maxQuoteAmount, isRemove, }: {
    pool: OperatePool;
    maxBaseAmount?: BigNumber | null;
    maxQuoteAmount?: BigNumber | null;
    isRemove?: boolean;
    balanceInfo?: ReturnType<typeof usePoolBalanceInfo>;
}): {
    baseAmount: string;
    quoteAmount: string;
    handleChangeBaseAmount: () => void;
    handleChangeQuoteAmount: () => void;
    reset: () => void;
    addPortion?: undefined;
    amountLoading?: undefined;
    amountError?: undefined;
    amountRefetch?: undefined;
    amountCheckedDisabled?: undefined;
    midPrice?: undefined;
    uniV2Pair?: undefined;
} | {
    baseAmount: string;
    quoteAmount: string;
    handleChangeBaseAmount: (newValue: string) => void;
    handleChangeQuoteAmount: (newValue: string) => void;
    reset: () => void;
    addPortion: BigNumber;
    amountLoading: boolean;
    amountError: boolean;
    amountRefetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<{
        baseReserve: BigNumber;
        quoteReserve: BigNumber;
    } | null, Error>>;
    amountCheckedDisabled: boolean;
    midPrice: BigNumber | undefined;
    uniV2Pair: {
        isRearTokenA: boolean;
        pair: import("@uniswap/v2-sdk").Pair | null;
        price: BigNumber | undefined;
        invertedPrice: BigNumber | undefined;
        reserveQuery: import("@tanstack/react-query").UseQueryResult<{
            baseReserve: BigNumber;
            quoteReserve: BigNumber;
        } | null, Error>;
        totalBaseLpQuery: import("@tanstack/react-query").UseQueryResult<BigNumber | null, Error>;
        liquidityMinted: BigNumber | undefined;
        poolTokenPercentage: BigNumber | undefined;
        shareOfPool: string;
        isExists: boolean;
    };
};
