import * as React from 'react'; import { State, StateMachine, StateNode } from 'xstate'; interface MachineVizProps { state?: State; machine: StateMachine; onStateNodeTap?: ({ stateNodeId: string }: { stateNodeId: any; }) => void; onEventTap?: (data: { stateNodeId: string; eventType: string; index: number; }) => void; onCanvasTap?: () => void; style?: React.CSSProperties; mode?: 'read' | 'play'; selection?: Array; } export default function useConstant(fn: () => T): T; export declare function MachineViz({ machine, state, onStateNodeTap, onEventTap, onCanvasTap, selection, mode }: MachineVizProps): JSX.Element; export {}; //# sourceMappingURL=MachineViz.d.ts.map