import { defineStateMachine } from './define.js'; import { InvalidTransitionError, InvalidStateMachineError } from './errors.js'; /** State machine namespace — define valid transitions with guards and side effects. */ export declare const state: { /** Defines a state machine from states, transitions, guards, and effects. Returns a StateMachine with transition/canTransition. */ define: typeof defineStateMachine; /** Thrown when a transition is not allowed from the current state. */ InvalidTransitionError: typeof InvalidTransitionError; /** Thrown when the state machine definition is internally inconsistent. */ InvalidStateMachineError: typeof InvalidStateMachineError; }; //# sourceMappingURL=namespace.d.ts.map