import { DSLQuery } from '@lingxiteam/dsl'; interface ActionTypeMessageMap { [key: string]: { actionName: string; maxNum: number; }; } interface IActionTypeMaxMap { [key: string]: number; } declare class ActionLimitUtils { actionMaxNum?: number; actionTypeMaxMap?: IActionTypeMaxMap; DSLCore?: DSLQuery; isMobile?: boolean; pageDetailsMap?: any; pageContainerType?: any; pageList?: any[]; private currentEventActionNumber; private currentEventActionType; private showAlertModal; private actionLimitWorker; private workerPromise?; constructor(props: { actionMaxNum?: number; actionTypeMaxMap?: IActionTypeMaxMap; DSLCore?: DSLQuery; isMobile?: boolean; pageDetailsMap?: any; pageList?: any; pageContainerType?: any; }); private getCustomEventList; initAction(setEvents: any[]): Promise<{ actionNum: number; actionTypeMap: any; }>; removeWorker(): void; private getAsyncActionNumber; private generateTypeNodeMap; asyncRecursiveGetActionCount(initList?: any[], limit?: number): Promise; checkActionNum(appendActionList: any[], showMsg?: string | ((maxActionMap?: ActionTypeMessageMap) => void), isCountTotal?: boolean): Promise; checkActionNumAsync(appendActionList: any[], showMsg: string | ((maxActionList?: ActionTypeMessageMap) => void)): Promise; } export default ActionLimitUtils;