import { warningOnce as r } from "../../rc-util/es/warning.mjs";
import t from "../../rc-util/es/Dom/canUseDom.mjs";
function o(e) {
  return typeof e == "string" && String(Number(e)) === e ? (r(!1, "Invalid value type of `width` or `height` which should be number type instead."), Number(e)) : e;
}
function a(e) {
  r(!("wrapperClassName" in e), "'wrapperClassName' is removed. Please use 'rootClassName' instead."), r(t() || !e.open, "Drawer with 'open' in SSR is not work since no place to createPortal. Please move to 'useEffect' instead.");
}
export {
  o as parseWidthHeight,
  a as warnCheck
};
