# models

Shared type definitions for state-machine state, actions, and reducers.

This entry point re-exports the cross-cutting types consumed by the runtime modules ([`store`](https://www.hyperfrontend.dev/docs/libraries/state-machine/store.md), [`reducer`](https://www.hyperfrontend.dev/docs/libraries/state-machine/reducer.md), [`selectors`](https://www.hyperfrontend.dev/docs/libraries/state-machine/selectors.md), [`state-change`](https://www.hyperfrontend.dev/docs/libraries/state-machine/state-change.md)). Consumers writing their own action handlers or reducers import from here to stay aligned with the shapes the rest of the library expects, without having to dig into module-private files.

---

Canonical page: https://www.hyperfrontend.dev/docs/libraries/state-machine/models/
This file: https://www.hyperfrontend.dev/docs/libraries/state-machine/models.md
Documentation index: https://www.hyperfrontend.dev/llms.txt
