-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
index.ts
46 lines (45 loc) · 1.39 KB
/
index.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
export * from './actions.ts';
export * from './actors/index.ts';
export { SimulatedClock } from './SimulatedClock.ts';
export { type Spawner } from './spawn.ts';
export { isMachineSnapshot, type MachineSnapshot } from './State.ts';
export { StateMachine } from './StateMachine.ts';
export { getStateNodes } from './stateUtils.ts';
export * from './typegenTypes.ts';
export * from './types.ts';
export { waitFor } from './waitFor.ts';
import { createMachine } from './createMachine.ts';
export { getInitialSnapshot, getNextSnapshot } from './getNextSnapshot.ts';
import { Actor, createActor, interpret, Interpreter } from './createActor.ts';
import { StateNode } from './StateNode.ts';
// TODO: decide from where those should be exported
export { and, not, or, stateIn } from './guards.ts';
export { setup } from './setup.ts';
export type { ActorSystem } from './system.ts';
export type {
InspectedActorEvent,
InspectedEventEvent,
InspectedSnapshotEvent,
InspectionEvent
} from './inspection.ts';
export { toPromise } from './toPromise.ts';
export {
getAllOwnEventDescriptors as __unsafe_getAllOwnEventDescriptors,
matchesState,
pathToStateValue,
toObserver
} from './utils.ts';
export {
Actor,
createActor,
createMachine,
interpret,
StateNode,
type Interpreter
};
export { assertEvent } from './assert.ts';
declare global {
interface SymbolConstructor {
readonly observable: symbol;
}
}