Commits a patch directly onto authoritative state (getter/subscription- style updates, and a mutator's final settle). Always folds onto the CURRENT authoritative state, never a snapshot captured earlier.
Removes a pending transition by id (its operation settled, success or failure either way).
Registers listener to be called after every committed state change; returns an unsubscribe function.
The store contract the standalone runtime implements --
useSyncExternalStore-compatible without importing React.