// src/client/dev/preact.ts
import { useState } from "preact/hooks";
function useRegisterSW(_options = {}) {
  const needRefresh = useState(false);
  const offlineReady = useState(false);
  const updateServiceWorker = (_reloadPage) => {
  };
  return {
    needRefresh,
    offlineReady,
    updateServiceWorker
  };
}
export {
  useRegisterSW
};
