import { AMMV3Api, ChainId, ExcludeNone, PoolApi, PoolType } from '@dodoex/api';
import { TokenInfo } from '../../hooks/Token';
import { OperatePool } from './PoolOperate/types';
export declare const poolApi: PoolApi;
export declare const ammV3Api: AMMV3Api;
export type FetchLiquidityListLqList = ExcludeNone<ReturnType<Exclude<(typeof PoolApi.graphql.fetchLiquidityList)['__apiType'], undefined>>['liquidity_list']>['lqList'];
export type FetchMyLiquidityListLqList = ExcludeNone<ReturnType<Exclude<(typeof PoolApi.graphql.fetchMyLiquidityList)['__apiType'], undefined>>['liquidity_list']>['lqList'];
export type FetchMyCreateListLqList = ExcludeNone<ReturnType<Exclude<(typeof PoolApi.graphql.fetchDashboardPairList)['__apiType'], undefined>>['dashboard_pairs_list']>['list'];
export type FetchPoolList = ExcludeNone<ReturnType<Exclude<(typeof PoolApi.graphql.fetchPoolList)['__apiType'], undefined>>['pairs']>;
export declare function convertLiquidityTokenToTokenInfo(token: {
    id: string;
    symbol: string;
    name: string;
    decimals: number;
    logoImg?: string | null;
} | undefined, chainId: ChainId | number): TokenInfo | undefined;
export declare function convertFetchLiquidityToOperateData(lqData: ExcludeNone<FetchLiquidityListLqList>[0]): OperatePool;
export declare function convertFetchMyLiquidityToOperateData(lqData: ExcludeNone<FetchMyLiquidityListLqList>[0]): OperatePool;
export declare function convertFetchPoolToOperateData(pool: FetchPoolList[0], chainId: number): OperatePool;
export declare function getPoolAMMOrPMM(type: PoolType): "AMM V2" | "AMM V3" | "PMM";
export declare function getIsAMMV2DynamicFeeContractByChainId(chainId: number): boolean;
