xstate
Version:
Finite State Machines and Statecharts for the Modern Web.
7 lines (6 loc) • 571 B
TypeScript
import type { ActorRef, AnyEventObject, Snapshot } from "../types.js";
export { fromCallback, type CallbackActorLogic, type CallbackSnapshot } from "./callback.js";
export { fromEventObservable, fromObservable, type ObservableActorLogic, type ObservableSnapshot } from "./observable.js";
export { fromPromise, type PromiseActorLogic, type PromiseSnapshot } from "./promise.js";
export { fromTransition, type TransitionActorLogic, type TransitionSnapshot } from "./transition.js";
export declare function createEmptyActor(): ActorRef<Snapshot<undefined>, AnyEventObject>;