import n from "react";
import s from "../../../../../../_virtual/with-selector.js";
const { useDebugValue: c } = n, { useSyncExternalStoreWithSelector: u } = s, S = (t) => t;
function a(t, r = S, o) {
  const e = u(
    t.subscribe,
    t.getState,
    t.getServerState || t.getInitialState,
    r,
    o
  );
  return c(e), e;
}
export {
  a as useStore
};
//# sourceMappingURL=index.js.map
