"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.STATES = exports.SIGNALS = exports.IS_MAC_CATALYST = void 0;
var _ReactNativeStaticServer = _interopRequireDefault(require("./ReactNativeStaticServer.js"));
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
// Imports internal constants defined within the native layer,
// and exports user-facing constants for server states.

const CONSTANTS = _ReactNativeStaticServer.default.getConstants();
const IS_MAC_CATALYST = exports.IS_MAC_CATALYST = CONSTANTS.IS_MAC_CATALYST;
const SIGNALS = exports.SIGNALS = {
  CRASHED: CONSTANTS.CRASHED,
  LAUNCHED: CONSTANTS.LAUNCHED,
  TERMINATED: CONSTANTS.TERMINATED
};
let STATES = exports.STATES = /*#__PURE__*/function (STATES) {
  STATES[STATES["ACTIVE"] = 0] = "ACTIVE";
  STATES[STATES["CRASHED"] = 1] = "CRASHED";
  STATES[STATES["INACTIVE"] = 2] = "INACTIVE";
  STATES[STATES["STARTING"] = 3] = "STARTING";
  STATES[STATES["STOPPING"] = 4] = "STOPPING";
  return STATES;
}({});
//# sourceMappingURL=constants.js.map