export interface StateMachineAction { type: Action; from: State; to: State; } export declare abstract class AbstractStateMachine { readonly key: any; readonly stateKey: any; readonly actionKey: any; readonly defaultState: any; readonly actions: StateMachineAction[]; constructor(key: any, stateKey: any, actionKey: any, defaultState: any, actions: StateMachineAction[]); do(from: StatusType, type: ActionType): StatusType; toJson(): object; }