import { type ResolveTypegenMeta } from "https://deno.land/x/xstate@xstate@5.0.0-beta.36/src/typegenTypes.ts";
Type Parameters
TTypesMeta extends TypegenConstraint
TEvent extends EventObject
TActor extends ProvidedActor
TAction extends ParameterizedObject
TGuard extends ParameterizedObject
Properties
@@xstate/typegen: TTypesMeta["@@xstate/typegen"]
resolved: { enabled: TTypesMeta & { indexedActions: IndexParameterizedImplementation<TAction, Prop<TTypesMeta, "eventsCausingActions">>; indexedActors: string extends TActor["src"] ? Record<keyof Prop<TTypesMeta, "eventsCausingActors">, { logic: AnyActorLogic; }> : IndexByProp<TActor, "src">; indexedEvents: MergeWithInternalEvents<IndexByType<(string extends TEvent["type"] ? never : TEvent) | GenerateActorEvents<TActor, Prop<TTypesMeta, "invokeSrcNameMap">>>, Prop<TTypesMeta, "internalEvents">>; indexedGuards: IndexParameterizedImplementation<TGuard, Prop<TTypesMeta, "eventsCausingGuards">>; indexedDelays: IndexParameterizedImplementation<WrapIntoParameterizedObject<TDelay>, Prop<TTypesMeta, "eventsCausingDelays">>; tags: string extends TTag ? Prop<TTypesMeta, "tags"> : TTag; }; disabled: ; }[IsNever<TTypesMeta> extends true ? "disabled" : TTypesMeta["@@xstate/typegen"] extends true ? "enabled" : "disabled"]
& AllImplementationsProvided
& AllowAllEvents
& { indexedActions: IndexByType<TAction>; indexedActors: IndexByProp<TActor, "src">; indexedEvents: Record<string, TEvent>; indexedGuards: IndexByType<TGuard>; indexedDelays: IndexByType<WrapIntoParameterizedObject<TDelay>>; invokeSrcNameMap: Record<string, string>; tags: TTag; }