declare module 'robot-hooks' { import type {Machine, SendFunction, Service, GetMachineTransitions} from 'robot3'; function useMachine( machine: M, initialContext?: M['context'] ): [ M['state'] & {context: M['context']}, SendFunction>, Service ]; export function createUseMachine( useEffect: any, useState: any ): typeof useMachine; }