"use client";
import { useProgressPoll } from "./useProgressPoll.js";
import { useProgressSse } from "./useProgressSse.js";
const progressStrategy = typeof window !== "undefined" && typeof window.EventSource !== "undefined" ? useProgressSse : useProgressPoll;
function useProgress() {
  return progressStrategy();
}
export {
  useProgress
};
//# sourceMappingURL=useProgress.js.map
