import { BaseAPI } from './base_api';
import * as loopring_defs from '../defs';
export declare class AmmpoolAPI extends BaseAPI {
    getAmmPoolConf<R>(): Promise<{
        raw_data: R;
        ammpools: loopring_defs.LoopringMap<loopring_defs.AmmPoolInfoV3>;
        pairs: loopring_defs.LoopringMap<loopring_defs.TokenRelatedInfo>;
    }>;
    getAmmPoolUserRewards<R>(request: loopring_defs.GetAmmUserRewardsRequest): Promise<{
        raw_data: R;
        ammUserRewardMap: loopring_defs.AmmUserRewardMap;
    }>;
    getAmmPoolGameRank<R>(request: loopring_defs.GetAmmPoolGameRankRequest): Promise<{
        raw_data: R;
        totalRewards: loopring_defs.TokenVolumeV3[];
        userRankList: loopring_defs.GameRankInfo[];
    }>;
    getAmmPoolGameUserRank<R>(request: loopring_defs.GetAmmPoolGameUserRankRequest, apiKey: string): Promise<{
        raw_data: R;
        userRank: loopring_defs.GameRankInfo;
    }>;
    private getOrderList;
    getAmmPoolActivityRules<R>(): Promise<{
        raw_data: R;
        activityInProgressRules: loopring_defs.LoopringMap<loopring_defs.AmmPoolInProgressActivityRule>;
        activityDateMap: loopring_defs.LoopringMap<{
            AMM_MINING?: loopring_defs.LoopringMap<loopring_defs.AmmPoolActivityRule>;
            ORDERBOOK_MINING?: loopring_defs.LoopringMap<loopring_defs.AmmPoolActivityRule>;
            SWAP_VOLUME_RANKING?: loopring_defs.LoopringMap<loopring_defs.AmmPoolActivityRule>;
        }>;
        groupByRuleType: loopring_defs.LoopringMap<loopring_defs.AmmPoolActivityRule[]>;
        groupByActivityStatus: loopring_defs.LoopringMap<loopring_defs.AmmPoolActivityRule[]>;
        groupByRuleTypeAndStatus: loopring_defs.LoopringMap<loopring_defs.LoopringMap<loopring_defs.AmmPoolActivityRule[]>>;
    }>;
    getAmmAssetHistory<R>(request: loopring_defs.GetAmmAssetRequest): Promise<{
        raw_data: R;
        poolAddress: string;
        market: string;
        dataSeries: any;
    }>;
    getAmmPoolStats<R>(): Promise<{
        raw_data: R;
        ammPoolStats: loopring_defs.LoopringMap<loopring_defs.AmmPoolStat>;
    }>;
    getAmmPoolSnapshot<R>(request: loopring_defs.GetAmmPoolSnapshotRequest): Promise<{
        raw_data: R;
        ammPoolSnapshot: loopring_defs.AmmPoolSnapshot;
    }>;
    getAmmPoolBalances<R>(): Promise<{
        raw_data: R;
        ammpoolsbalances: loopring_defs.LoopringMap<loopring_defs.AmmPoolBalance>;
    }>;
    getLiquidityMining<R>(request: loopring_defs.GetLiquidityMiningRequest, apiKey: string): Promise<{
        raw_data: R;
        rewards: loopring_defs.RewardItem[];
    }>;
    getLiquidityMiningUserHistory<R>(request: loopring_defs.GetLiquidityMiningUserHistoryRequest): Promise<{
        raw_data: R;
        userMiningInfos: loopring_defs.UserMiningInfo[];
    }>;
    getUserAmmPoolTxs<R>(request: loopring_defs.GetUserAmmPoolTxsRequest, apiKey: string): Promise<{
        raw_data: R;
        totalNum: number;
        userAmmPoolTxs: loopring_defs.UserAmmPoolTx[];
    }>;
    getAmmPoolTxs<R>(request: loopring_defs.GetAmmPoolTxsRequest): Promise<{
        raw_data: R;
        totalNum: number;
        transactions: loopring_defs.AmmPoolTx[];
    }>;
    getAmmPoolTrades<R>(request: loopring_defs.GetAmmPoolTradesRequest): Promise<{
        raw_data: R;
        totalNum: number;
        ammPoolTrades: loopring_defs.AmmPoolTrade[];
    }>;
    joinAmmPool<R>(request: loopring_defs.JoinAmmPoolRequest, patch: loopring_defs.AmmPoolRequestPatch, apiKey: string): Promise<{
        raw_data: R;
        joinAmmPoolResult: loopring_defs.JoinAmmPoolResult;
    }>;
    exitAmmPool<R>(request: loopring_defs.ExitAmmPoolRequest, patch: loopring_defs.AmmPoolRequestPatch, apiKey: string): Promise<{
        raw_data: R;
        exitAmmPoolResult: loopring_defs.ExitAmmPoolResult;
    }>;
}
//# sourceMappingURL=ammpool_api.d.ts.map