String literal type representing valid states
Context data type for the state machine
Current context data
Set of context change listeners
Current state
Map of event handlers by event name
Whether history tracking is enabled
Maximum history size
Map of one-time event handlers by event name
Snapshot of previous context for change detection
Map of state-specific callbacks
Set of transition listeners
Internal machine state structure