import useEngineContext from "../../../hooks/useEngineContext.js";
//#region src/components/dataSourceComponents/hooks/usePlatform.ts
const usePlatform = () => {
	var _context$appHelper;
	return (_context$appHelper = useEngineContext().appHelper) === null || _context$appHelper === void 0 || (_context$appHelper = _context$appHelper.constants) === null || _context$appHelper === void 0 ? void 0 : _context$appHelper.platform;
};
const useIsShop = () => {
	return usePlatform() === "shop";
};
const useIsH5 = () => {
	return usePlatform() === "h5";
};
const useIsPc = () => {
	return usePlatform() === "pc";
};
//#endregion
export { useIsH5, useIsPc, useIsShop };
