import React__default from 'react';
import ReactDOM from 'react-dom';
import { useUniqId } from '../hooks/useUniqId.js';

// eslint-disable-next-line @typescript-eslint/no-explicit-any
var _ref = React__default,
  useId = _ref.useId;
var IS_REACT_18 = ReactDOM.version.split('.')[0] === '18';
var IS_REACT_BELOW_18 = /*#__PURE__*/Number(ReactDOM.version.split('.')[0]) < 18;
var safeUseId = IS_REACT_BELOW_18 ? useUniqId : useId;

export { IS_REACT_18, IS_REACT_BELOW_18, safeUseId };
