import { type TransitionsConfig } from "https://deno.land/x/xstate@xstate%405.0.0-beta.23/src/types.ts";
definition: [K in TEvent["type"] | "*"]?: K extends "*" ? TransitionConfigOrTarget<TContext, TEvent, TEvent, TAction> : TransitionConfigOrTarget<TContext, ExtractEvent<TEvent, K>, TEvent, TAction>