import { type TransitionsConfig } from "https://deno.land/x/xstate@xstate@5.0.0-beta.19/src/types.ts";
Type Parameters
TContext extends MachineContext
TEvent extends EventObject
definition: [K in TEvent["type"] | "*"]?: K extends "*" ? TransitionConfigOrTarget<TContext, TEvent> : TransitionConfigOrTarget<TContext, ExtractEvent<TEvent, K>, TEvent>