export type ISsmRuleMap = MapLike>; type MapLike = Pick, 'get' | 'has' | 'keys'>; export interface IStateChangeEvent { from: StateType; to: StateType; reason: EventType; } export declare class SimpleStateMachine { protected currentState: StateType; protected readonly rules: ISsmRuleMap; private readonly _onStateChange; readonly onStateChange: import("../autoindex.generated.js").EventRegister>; constructor(rules: ISsmRuleMap, init_state: StateType); protected moveTo(state: StateType): void; getName(): StateType; change(event: EventType): void; } export {}; //# sourceMappingURL=simple-state-machine.d.ts.map