import { PoolType } from '@dodoex/api';
import BigNumber from 'bignumber.js';
import { TokenInfo } from '../../../../hooks/Token';
export type LpItem = {
    userId: string;
    baseSupplied: string;
    quoteSupplied: string;
    baseTokenSymbol: string;
    baseTokenAddress: string;
    quoteTokenSymbol: string;
    quoteTokenAddress: string;
    sharePercentage: string;
    dollarValue: string;
    dollarValueBN: BigNumber;
};
export declare function useLiquidityProviders({ pool, }: {
    pool: {
        chainId: number;
        address: string;
        type: PoolType;
        baseToken: TokenInfo;
        quoteToken: TokenInfo;
    } | null | undefined;
}): {
    isLoading: boolean;
    errorRefetch: (() => void) | undefined;
    list: LpItem[];
    data: import("@dodoex/api/dist/types/gql/graphql").FetchLiquidityPositionsQuery;
    error: Error;
    isError: true;
    isPending: false;
    isLoadingError: false;
    isRefetchError: true;
    isSuccess: false;
    status: "error";
    dataUpdatedAt: number;
    errorUpdatedAt: number;
    failureCount: number;
    failureReason: Error | null;
    errorUpdateCount: number;
    isFetched: boolean;
    isFetchedAfterMount: boolean;
    isFetching: boolean;
    isInitialLoading: boolean;
    isPaused: boolean;
    isPlaceholderData: boolean;
    isRefetching: boolean;
    isStale: boolean;
    refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@dodoex/api/dist/types/gql/graphql").FetchLiquidityPositionsQuery, Error>>;
    fetchStatus: import("@tanstack/react-query").FetchStatus;
} | {
    isLoading: boolean;
    errorRefetch: (() => void) | undefined;
    list: LpItem[];
    data: import("@dodoex/api/dist/types/gql/graphql").FetchLiquidityPositionsQuery;
    error: null;
    isError: false;
    isPending: false;
    isLoadingError: false;
    isRefetchError: false;
    isSuccess: true;
    status: "success";
    dataUpdatedAt: number;
    errorUpdatedAt: number;
    failureCount: number;
    failureReason: Error | null;
    errorUpdateCount: number;
    isFetched: boolean;
    isFetchedAfterMount: boolean;
    isFetching: boolean;
    isInitialLoading: boolean;
    isPaused: boolean;
    isPlaceholderData: boolean;
    isRefetching: boolean;
    isStale: boolean;
    refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@dodoex/api/dist/types/gql/graphql").FetchLiquidityPositionsQuery, Error>>;
    fetchStatus: import("@tanstack/react-query").FetchStatus;
} | {
    isLoading: boolean;
    errorRefetch: (() => void) | undefined;
    list: LpItem[];
    data: undefined;
    error: Error;
    isError: true;
    isPending: false;
    isLoadingError: true;
    isRefetchError: false;
    isSuccess: false;
    status: "error";
    dataUpdatedAt: number;
    errorUpdatedAt: number;
    failureCount: number;
    failureReason: Error | null;
    errorUpdateCount: number;
    isFetched: boolean;
    isFetchedAfterMount: boolean;
    isFetching: boolean;
    isInitialLoading: boolean;
    isPaused: boolean;
    isPlaceholderData: boolean;
    isRefetching: boolean;
    isStale: boolean;
    refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@dodoex/api/dist/types/gql/graphql").FetchLiquidityPositionsQuery, Error>>;
    fetchStatus: import("@tanstack/react-query").FetchStatus;
} | {
    isLoading: boolean;
    errorRefetch: (() => void) | undefined;
    list: LpItem[];
    data: undefined;
    error: null;
    isError: false;
    isPending: true;
    isLoadingError: false;
    isRefetchError: false;
    isSuccess: false;
    status: "pending";
    dataUpdatedAt: number;
    errorUpdatedAt: number;
    failureCount: number;
    failureReason: Error | null;
    errorUpdateCount: number;
    isFetched: boolean;
    isFetchedAfterMount: boolean;
    isFetching: boolean;
    isInitialLoading: boolean;
    isPaused: boolean;
    isPlaceholderData: boolean;
    isRefetching: boolean;
    isStale: boolean;
    refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@dodoex/api/dist/types/gql/graphql").FetchLiquidityPositionsQuery, Error>>;
    fetchStatus: import("@tanstack/react-query").FetchStatus;
} | {
    isLoading: boolean;
    errorRefetch: (() => void) | undefined;
    list: LpItem[];
    data: undefined;
    error: null;
    isError: false;
    isPending: true;
    isLoadingError: false;
    isRefetchError: false;
    isSuccess: false;
    status: "pending";
    dataUpdatedAt: number;
    errorUpdatedAt: number;
    failureCount: number;
    failureReason: Error | null;
    errorUpdateCount: number;
    isFetched: boolean;
    isFetchedAfterMount: boolean;
    isFetching: boolean;
    isInitialLoading: boolean;
    isPaused: boolean;
    isPlaceholderData: boolean;
    isRefetching: boolean;
    isStale: boolean;
    refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<import("@dodoex/api/dist/types/gql/graphql").FetchLiquidityPositionsQuery, Error>>;
    fetchStatus: import("@tanstack/react-query").FetchStatus;
};
