import { useEffect as e, useState as t } from "react";
//#region lib/ui/hooks/useInternalStatus.ts
var n = ({ isDisabled: n, validationStatus: i }) => {
	let [a, o] = t(r({
		isDisabled: n,
		validationStatus: i
	}));
	return e(() => {
		o(r({
			isDisabled: n,
			validationStatus: i
		}));
	}, [n, i]), a;
};
function r({ isDisabled: e, validationStatus: t }) {
	return e ? "disabled" : t;
}
//#endregion
export { n as useInternalStatus };

//# sourceMappingURL=useInternalStatus.js.map