import { PoolType } from '@dodoex/api';
import { BigNumber } from 'bignumber.js';
type Balance = BigNumber | null | undefined;
export declare function getLpToTokenBalance(userLpBalance: Balance, totalLpBalance: Balance, reserve: Balance, target: Balance, address: string | undefined, type: PoolType | undefined, decimals: number | undefined): undefined[] | BigNumber[];
export declare function usePoolBalanceInfo({ account, pool, }: {
    account?: string;
    pool?: {
        address: string;
        chainId: number;
        baseTokenDecimals: number;
        quoteTokenDecimals: number;
        baseLpTokenDecimals: number;
        quoteLpTokenDecimals: number;
        type: PoolType;
    };
}): {
    /** existing base lp balance */
    totalBaseLpBalance: BigNumber | null | undefined;
    /** existing quote lp balance */
    totalQuoteLpBalance: BigNumber | null | undefined;
    /** the total deposited base lp balance */
    baseReserve: BigNumber | undefined;
    /** the total deposited quote lp balance */
    quoteReserve: BigNumber | undefined;
    /** classical base equilibrium target */
    classicalBaseTarget: BigNumber | undefined;
    /** classical quote equilibrium target */
    classicalQuoteTarget: BigNumber | undefined;
    /** the user's existing base lp balance */
    userBaseLpBalance: Balance;
    /** the user's existing quote lp balance */
    userQuoteLpBalance: Balance;
    /** The number of base that can be obtained when a user withdraws from the pool */
    userBaseLpToTokenBalance: BigNumber | undefined;
    /** The number of quote that can be obtained when a user withdraws from the pool */
    userQuoteLpToTokenBalance: BigNumber | null | undefined;
    baseLpToTokenProportion: BigNumber | undefined;
    quoteLpToTokenProportion: BigNumber | undefined;
    isSinglePool: boolean;
    userLpBalanceLoading: boolean;
    userLpToTokenBalanceLoading: boolean;
    userLpBalanceError: boolean;
    userLpToTokenBalanceError: boolean;
    userLpToTokenBalanceRefetch: () => void;
    error: boolean;
    loading: boolean;
    refetch: () => void;
};
export {};
