Resolve #3203062 "Workflowstate and workflowtransition"
requested to merge issue/state_machine-3203062:3203062-workflowstate-and-workflowtransition into 8.x-1.x
Closes #3203062
- Add the interfaces and implement them on the existing classes
- Replace all type hints and mentions of the state and transition classes with the new interfaces