Optional stateProperty name for storing the current state.
"currentState"
Optional trackWhether to track state history. When enabled, a stateHistory array is maintained with timestamps and events.
false
Optional throwWhether to throw errors on invalid transitions. When false, invalid transitions are logged as warnings instead.
true
Options for configuring state machine behavior.