import { ChainId, PoolType } from '@dodoex/api';
import { TokenInfo } from '../../../hooks/Token';
export declare function usePoolDetail({ id, chainId, }: {
    id: string | undefined;
    chainId: ChainId | undefined;
}): {
    poolDetail: {
        address: string;
        type: PoolType;
        chainId: ChainId;
        baseToken: TokenInfo;
        quoteToken: TokenInfo;
        miningAddress: string;
        apy: {
            miningBaseApy?: any | null;
            miningQuoteApy?: any | null;
            transactionBaseApy?: any | null;
            transactionQuoteApy?: any | null;
            metromMiningApy?: any | null;
        } | null | undefined;
        baseApy: string | undefined;
        quoteApy: string | undefined;
        isCpPool: boolean;
        cpAddress: string | undefined;
        cpLiquidator: string | undefined;
        cpCreator: string | undefined;
        cpCreatedAtTimestamp: string | undefined;
        id: string;
        creator: any;
        owner?: any | null;
        traderCount: any;
        volumeBaseToken: any;
        volumeQuoteToken: any;
        volumeUSD: any;
        feeBase: any;
        feeQuote: any;
        mtFeeRate: any;
        lpFeeRate: any;
        i?: any | null;
        k?: any | null;
        baseReserve: any;
        quoteReserve: any;
        createdAtTimestamp: any;
        lastTradePrice: any;
        baseLpToken?: {
            id: string;
            symbol: string;
            name: string;
            decimals: any;
        } | null;
        quoteLpToken?: {
            id: string;
            symbol: string;
            name: string;
            decimals: any;
        } | null;
    } | null;
    data: import("@dodoex/api/dist/types/gql/graphql").FetchPoolQuery;
    error: Error;
    isError: true;
    isPending: false;
    isLoading: 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").FetchPoolQuery, Error>>;
    fetchStatus: import("@tanstack/react-query").FetchStatus;
} | {
    poolDetail: {
        address: string;
        type: PoolType;
        chainId: ChainId;
        baseToken: TokenInfo;
        quoteToken: TokenInfo;
        miningAddress: string;
        apy: {
            miningBaseApy?: any | null;
            miningQuoteApy?: any | null;
            transactionBaseApy?: any | null;
            transactionQuoteApy?: any | null;
            metromMiningApy?: any | null;
        } | null | undefined;
        baseApy: string | undefined;
        quoteApy: string | undefined;
        isCpPool: boolean;
        cpAddress: string | undefined;
        cpLiquidator: string | undefined;
        cpCreator: string | undefined;
        cpCreatedAtTimestamp: string | undefined;
        id: string;
        creator: any;
        owner?: any | null;
        traderCount: any;
        volumeBaseToken: any;
        volumeQuoteToken: any;
        volumeUSD: any;
        feeBase: any;
        feeQuote: any;
        mtFeeRate: any;
        lpFeeRate: any;
        i?: any | null;
        k?: any | null;
        baseReserve: any;
        quoteReserve: any;
        createdAtTimestamp: any;
        lastTradePrice: any;
        baseLpToken?: {
            id: string;
            symbol: string;
            name: string;
            decimals: any;
        } | null;
        quoteLpToken?: {
            id: string;
            symbol: string;
            name: string;
            decimals: any;
        } | null;
    } | null;
    data: import("@dodoex/api/dist/types/gql/graphql").FetchPoolQuery;
    error: null;
    isError: false;
    isPending: false;
    isLoading: 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").FetchPoolQuery, Error>>;
    fetchStatus: import("@tanstack/react-query").FetchStatus;
} | {
    poolDetail: {
        address: string;
        type: PoolType;
        chainId: ChainId;
        baseToken: TokenInfo;
        quoteToken: TokenInfo;
        miningAddress: string;
        apy: {
            miningBaseApy?: any | null;
            miningQuoteApy?: any | null;
            transactionBaseApy?: any | null;
            transactionQuoteApy?: any | null;
            metromMiningApy?: any | null;
        } | null | undefined;
        baseApy: string | undefined;
        quoteApy: string | undefined;
        isCpPool: boolean;
        cpAddress: string | undefined;
        cpLiquidator: string | undefined;
        cpCreator: string | undefined;
        cpCreatedAtTimestamp: string | undefined;
        id: string;
        creator: any;
        owner?: any | null;
        traderCount: any;
        volumeBaseToken: any;
        volumeQuoteToken: any;
        volumeUSD: any;
        feeBase: any;
        feeQuote: any;
        mtFeeRate: any;
        lpFeeRate: any;
        i?: any | null;
        k?: any | null;
        baseReserve: any;
        quoteReserve: any;
        createdAtTimestamp: any;
        lastTradePrice: any;
        baseLpToken?: {
            id: string;
            symbol: string;
            name: string;
            decimals: any;
        } | null;
        quoteLpToken?: {
            id: string;
            symbol: string;
            name: string;
            decimals: any;
        } | null;
    } | null;
    data: undefined;
    error: Error;
    isError: true;
    isPending: false;
    isLoading: 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").FetchPoolQuery, Error>>;
    fetchStatus: import("@tanstack/react-query").FetchStatus;
} | {
    poolDetail: {
        address: string;
        type: PoolType;
        chainId: ChainId;
        baseToken: TokenInfo;
        quoteToken: TokenInfo;
        miningAddress: string;
        apy: {
            miningBaseApy?: any | null;
            miningQuoteApy?: any | null;
            transactionBaseApy?: any | null;
            transactionQuoteApy?: any | null;
            metromMiningApy?: any | null;
        } | null | undefined;
        baseApy: string | undefined;
        quoteApy: string | undefined;
        isCpPool: boolean;
        cpAddress: string | undefined;
        cpLiquidator: string | undefined;
        cpCreator: string | undefined;
        cpCreatedAtTimestamp: string | undefined;
        id: string;
        creator: any;
        owner?: any | null;
        traderCount: any;
        volumeBaseToken: any;
        volumeQuoteToken: any;
        volumeUSD: any;
        feeBase: any;
        feeQuote: any;
        mtFeeRate: any;
        lpFeeRate: any;
        i?: any | null;
        k?: any | null;
        baseReserve: any;
        quoteReserve: any;
        createdAtTimestamp: any;
        lastTradePrice: any;
        baseLpToken?: {
            id: string;
            symbol: string;
            name: string;
            decimals: any;
        } | null;
        quoteLpToken?: {
            id: string;
            symbol: string;
            name: string;
            decimals: any;
        } | null;
    } | null;
    data: undefined;
    error: null;
    isError: false;
    isPending: true;
    isLoading: 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").FetchPoolQuery, Error>>;
    fetchStatus: import("@tanstack/react-query").FetchStatus;
} | {
    poolDetail: {
        address: string;
        type: PoolType;
        chainId: ChainId;
        baseToken: TokenInfo;
        quoteToken: TokenInfo;
        miningAddress: string;
        apy: {
            miningBaseApy?: any | null;
            miningQuoteApy?: any | null;
            transactionBaseApy?: any | null;
            transactionQuoteApy?: any | null;
            metromMiningApy?: any | null;
        } | null | undefined;
        baseApy: string | undefined;
        quoteApy: string | undefined;
        isCpPool: boolean;
        cpAddress: string | undefined;
        cpLiquidator: string | undefined;
        cpCreator: string | undefined;
        cpCreatedAtTimestamp: string | undefined;
        id: string;
        creator: any;
        owner?: any | null;
        traderCount: any;
        volumeBaseToken: any;
        volumeQuoteToken: any;
        volumeUSD: any;
        feeBase: any;
        feeQuote: any;
        mtFeeRate: any;
        lpFeeRate: any;
        i?: any | null;
        k?: any | null;
        baseReserve: any;
        quoteReserve: any;
        createdAtTimestamp: any;
        lastTradePrice: any;
        baseLpToken?: {
            id: string;
            symbol: string;
            name: string;
            decimals: any;
        } | null;
        quoteLpToken?: {
            id: string;
            symbol: string;
            name: string;
            decimals: any;
        } | null;
    } | null;
    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;
    isLoading: 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").FetchPoolQuery, Error>>;
    fetchStatus: import("@tanstack/react-query").FetchStatus;
};
