UNPKG

1.49 kBTypeScriptView Raw
1import * as actions from './actions';
2import { Actor, toActorRef } from './Actor';
3import { interpret, Interpreter, InterpreterStatus, spawn } from './interpreter';
4import { createMachine, Machine } from './Machine';
5import { mapState } from './mapState';
6import { matchState } from './match';
7import { createSchema, t } from './schema';
8import { State } from './State';
9import { StateNode } from './StateNode';
10export { spawnBehavior } from './behaviors';
11export { XStateDevInterface } from './devTools';
12export * from './typegenTypes';
13export * from './types';
14export { matchesState, toEventObject, toObserver, toSCXMLEvent } from './utils';
15export { Actor, toActorRef, Machine, StateNode, State, mapState, actions, assign, send, sendParent, sendUpdate, forwardTo, interpret, Interpreter, InterpreterStatus, matchState, spawn, doneInvoke, createMachine, createSchema, t };
16declare const assign: <TContext, TEvent extends import("./types").EventObject = import("./types").EventObject>(assignment: import("./types").Assigner<TContext, TEvent> | import("./types").PropertyAssigner<TContext, TEvent>) => import("./types").AssignAction<TContext, TEvent>, send: typeof actions.send, sendParent: typeof actions.sendParent, sendUpdate: typeof actions.sendUpdate, forwardTo: typeof actions.forwardTo, doneInvoke: typeof actions.doneInvoke;
17declare global {
18 interface SymbolConstructor {
19 readonly observable: symbol;
20 }
21}
22//# sourceMappingURL=index.d.ts.map
\No newline at end of file