xstate
Version:
Finite State Machines and Statecharts for the Modern Web.
4 lines (3 loc) • 396 B
TypeScript
import { AnyActorLogic, EventFromLogic, InputFrom } from "../index.js";
import { StatePath, TraversalOptions } from "./types.js";
export declare function getSimplePaths<TLogic extends AnyActorLogic>(logic: TLogic, options?: TraversalOptions<ReturnType<TLogic['transition']>, EventFromLogic<TLogic>, InputFrom<TLogic>>): Array<StatePath<ReturnType<TLogic['transition']>, EventFromLogic<TLogic>>>;