import { type ActorLogic } from "https://deno.land/x/xstate@xstate@5.0.0-beta.19/src/types.ts";
Type Parameters
TEvent extends EventObject
optional
TInternalState = TSnapshotoptional
TPersisted = TInternalStateoptional
TSystem extends ActorSystem<any> = ActorSystem<any>Properties
transition: () => TInternalState
getInitialState: (actorCtx: ActorContext<TEvent, TSnapshot, any>, input: any) => TInternalState
optional
restoreState: (persistedState: TPersisted, actorCtx: ActorContext<TEvent, TSnapshot>) => TInternalStateoptional
getSnapshot: (state: TInternalState) => TSnapshotoptional
getStatus: (state: TInternalState) => { status: string; data?: any; }optional
start: (state: TInternalState, actorCtx: ActorContext<TEvent, TSnapshot>) => voidoptional
getPersistedState: (state: TInternalState) => TPersisted