var e = !!(typeof window < "u" && window.document && window.document.createElement), n = {
  canUseDOM: e,
  canUseWorkers: typeof Worker < "u",
  canUseEventListeners: e && !!(window.addEventListener || window.attachEvent),
  canUseViewport: e && !!window.screen,
  isInWorker: !e
  // For now, this is true - might change in the future.
}, o = n;
export {
  o as E
};
