"use client";
import { useNotificationsPoll } from "./useNotificationsPoll.js";
import { useNotificationsSse } from "./useNotificationsSse.js";
const notificationsStrategy = typeof window !== "undefined" && typeof window.EventSource !== "undefined" ? useNotificationsSse : useNotificationsPoll;
function useNotifications() {
  return notificationsStrategy();
}
export {
  useNotifications
};
//# sourceMappingURL=useNotifications.js.map
