import { Map as IMap } from 'immutable'; import { CardRecord, RuleRecord, ActionRecord } from 'pmpos-models'; import { ActionType } from './ActionType'; export declare class RuleManager { private state; private flows; constructor(); setState(name: string, value: any): void; getState(name: string): any; readonly stateValues: Map; setRules(rules: IMap): void; getNewActionsFrom(acts: ActionType[], cardId: string): ActionRecord[]; getNextActions(actionType: string, actionData: any, actionCardId: string, card: CardRecord, root: CardRecord): Promise; getContent(actionType: string, actionData: any, card: CardRecord, root: CardRecord): Promise; private testRule(rule); } declare const _default: RuleManager; export default _default;