"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.useSelectMachineFromContext = exports.SelectStateContext = exports.PseudoComponentWithPropsConsistingOfContext = void 0;
var _react = require("react");
var _react2 = require("@xstate/react");
var _machine = require("../machine");
var typehack = function typehack() {
  return (0, _react2.useMachine)(_machine.SelectMachine);
};
var PseudoComponentWithPropsConsistingOfContext = exports.PseudoComponentWithPropsConsistingOfContext = function PseudoComponentWithPropsConsistingOfContext() {
  return null;
};
var SelectStateContext = exports.SelectStateContext = (0, _react.createContext)(undefined);
var useSelectMachineFromContext = exports.useSelectMachineFromContext = function useSelectMachineFromContext() {
  return (0, _react.useContext)(SelectStateContext);
};