UNPKG

@xstate/inspect

Version:
6 lines 440 B
import { AnyState, AnyStateMachine } from 'xstate'; import { Replacer } from './types'; export declare function selectivelyStringify<T extends object>(value: T, keys: Array<keyof T>, replacer?: Replacer): string; export declare function stringifyState(state: AnyState, replacer?: Replacer): string; export declare function stringifyMachine(machine: AnyStateMachine, replacer?: Replacer): string; //# sourceMappingURL=serialize.d.ts.map