import { useMediaQuery } from "../../../../../node_modules/.pnpm/usehooks-ts@3.1.1_react@19.1.1/node_modules/usehooks-ts/dist/index.js";
import { useChatVisible } from "../../../../../use-editor.js";
function useDeviceInfo() {
  const chatVisible = useChatVisible();
  const isMobile = useMediaQuery("(max-width: 768px)");
  const isTablet = useMediaQuery("(min-width: 769px) and (max-width: 1024px)");
  const isDesktop = useMediaQuery("(min-width: 1025px)");
  const hasMinSizeWithChatVisible = useMediaQuery("(min-width: 1420px)");
  const hasMinSizeWithoutChatVisible = useMediaQuery("(min-width: 1200px)");
  return {
    isMobile,
    isTablet,
    isDesktop,
    canUseDnd: !chatVisible && hasMinSizeWithoutChatVisible || chatVisible && hasMinSizeWithChatVisible
  };
}
export {
  useDeviceInfo
};
//# sourceMappingURL=use-device-info.js.map
