"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
var _exportNames = {
  UPDATE_LOCATION_EVENT: true,
  CURRENT_LOCATION_EVENT: true,
  FAILED_LOCATION_EVENT: true,
  UPDATE_HEADING_EVENT: true,
  FAILED_HEADING_EVENT: true,
  UPDATE_NAVIGATION_EVENT: true,
  FAILED_NAVIGATION_EVENT: true,
  useEventListener: true
};
exports.default = exports.UPDATE_NAVIGATION_EVENT = exports.UPDATE_LOCATION_EVENT = exports.UPDATE_HEADING_EVENT = exports.FAILED_NAVIGATION_EVENT = exports.FAILED_LOCATION_EVENT = exports.FAILED_HEADING_EVENT = exports.CURRENT_LOCATION_EVENT = void 0;
Object.defineProperty(exports, "useEventListener", {
  enumerable: true,
  get: function () {
    return _useEventListener.useEventListener;
  }
});

var _reactNative = require("react-native");

var _useEventListener = require("./hooks/useEventListener");

var _types = require("./types");

Object.keys(_types).forEach(function (key) {
  if (key === "default" || key === "__esModule") return;
  if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
  if (key in exports && exports[key] === _types[key]) return;
  Object.defineProperty(exports, key, {
    enumerable: true,
    get: function () {
      return _types[key];
    }
  });
});
const {
  SyrfClient
} = _reactNative.NativeModules;
const {
  UPDATE_LOCATION_EVENT,
  CURRENT_LOCATION_EVENT,
  FAILED_LOCATION_EVENT,
  UPDATE_HEADING_EVENT,
  FAILED_HEADING_EVENT,
  UPDATE_NAVIGATION_EVENT,
  FAILED_NAVIGATION_EVENT
} = SyrfClient.getConstants();
exports.FAILED_NAVIGATION_EVENT = FAILED_NAVIGATION_EVENT;
exports.UPDATE_NAVIGATION_EVENT = UPDATE_NAVIGATION_EVENT;
exports.FAILED_HEADING_EVENT = FAILED_HEADING_EVENT;
exports.UPDATE_HEADING_EVENT = UPDATE_HEADING_EVENT;
exports.FAILED_LOCATION_EVENT = FAILED_LOCATION_EVENT;
exports.CURRENT_LOCATION_EVENT = CURRENT_LOCATION_EVENT;
exports.UPDATE_LOCATION_EVENT = UPDATE_LOCATION_EVENT;
var _default = SyrfClient;
exports.default = _default;
//# sourceMappingURL=index.js.map