import { StateNode, State } from './'; import { StateValue, Edge, PathMap, PathsItem, PathsMap, AdjacencyMap, DefaultContext, ValueAdjacencyMap, EventObject, StateMachine } from './types'; export declare function getNodes(node: StateNode): StateNode[]; export declare function getEventEdges(node: StateNode, event: string): Array>; export declare function getEdges(node: StateNode, options?: { depth: null | number; }): Array>; export declare function adjacencyMap(node: StateNode, context?: TContext): AdjacencyMap; export declare function deserializeStateString(valueContextString: string): { value: StateValue; context: any; }; export declare function serializeState(state: State): string; export declare function serializeEvent(event: TEvent): string; export declare function deserializeEventString(eventString: string): TEvent; export interface ValueAdjMapOptions { events: { [K in TEvent['type']]: Array; }; filter: (state: State) => boolean; formatContext: (context: TContext) => T; stateSerializer: (state: State) => string; eventSerializer: (event: TEvent) => string; } export declare function getValueAdjacencyMap(node: StateNode, options?: Partial>): ValueAdjacencyMap; export declare function getShortestPaths(machine: StateMachine, options?: Partial>): PathMap; export declare function getSimplePaths(machine: StateMachine, options?: Partial>): PathsMap; export declare function getSimplePathsAsArray(machine: StateNode, options?: ValueAdjMapOptions): Array>;