class StateNodeimport { StateNode } from "https://deno.land/x/xstate@xstate@5.12.0/src/StateNode.ts"; ConstructorsnewStateNode(config: StateNodeConfig<TContext, TEvent, TODO, TODO, TODO, TODO, TODO, TODO, TODO, TODO>, options: StateNodeOptions<TContext, TEvent>)Type ParametersoptionalTContext extends MachineContext = MachineContextoptionalTEvent extends EventObject = EventObjectPropertiesreadonlyafter: Array<DelayedTransitionDefinition<TContext, TEvent>>optionalalways: Array<TransitionDefinition<TContext, TEvent>>readonlydefinition: StateNodeDefinition<TContext, TEvent>The well-structured state node definition. optionaldescription: stringentry: UnknownAction[]The action(s) to be executed upon entering the state node. readonlyevents: Array<EventDescriptor<TEvent>>All the event types accepted by this state node and its descendants. exit: UnknownAction[]The action(s) to be executed upon exiting the state node. history: false | "shallow" | "deep"The type of history on this state node. Can be: 'shallow' - recalls only top-level historical state value 'deep' - recalls historical state value at all levels id: stringThe unique ID of the state node. readonlyinitial: InitialTransitionDefinition<TContext, TEvent>readonlyinvoke: Array<InvokeDefinition<TContext, TEvent, ProvidedActor, ParameterizedObject, ParameterizedObject, string, TODO, TODO>>The logic invoked as actors by this state node. key: stringThe relative key of the state node, which represents its location in the overall state value. machine: StateMachine<TContext, TEvent, any, any, any, any, any, any, any, any, any, any, any>The root machine node. optionalmeta: anyThe meta data associated with this state node, which will be returned in State instances. readonlyon: TransitionDefinitionMap<TContext, TEvent>The mapping of events to transitions. order: numberThe order this state node appears. Corresponds to the implicit document order. optionaloutput: Mapper<MachineContext, EventObject, unknown, EventObject> | NonReducibleUnknownThe output data sent with the "xstate.done.state.id" event if this is a final state node. readonlyownEvents: Array<EventDescriptor<TEvent>>All the events that have transitions directly from this state node. Excludes any inert events. optionalparent: StateNode<TContext, TEvent>The parent state node. path: string[]The string path from the root machine node to this node. states: StateNodesConfig<TContext, TEvent>The child state nodes. tags: string[]transitions: Map<string, TransitionDefinition<TContext, TEvent>[]>type: | "atomic" | "compound" | "parallel" | "final" | "history"The type of this state node: 'atomic' - no child state nodes 'compound' - nested child state nodes (XOR) 'parallel' - orthogonal nested child state nodes (AND) 'history' - history state node 'final' - final state node Methods_initialize()next(snapshot: MachineSnapshot<TContext, TEvent, any, any, any, any, any>, event: TEvent): TransitionDefinition<TContext, TEvent>[] | undefinedtoJSON()