import useEngineContext from "./useEngineContext.js";
import { isString } from "@pisell/utils";
//#region src/hooks/useTranslationOriginal.ts
const useTranslationOriginal = () => {
	var _context$appHelper;
	const context = useEngineContext();
	return (context === null || context === void 0 || (_context$appHelper = context.appHelper) === null || _context$appHelper === void 0 || (_context$appHelper = _context$appHelper.utils) === null || _context$appHelper === void 0 ? void 0 : _context$appHelper.translationOriginal) || ((val) => isString(val) ? val : val === null || val === void 0 ? void 0 : val.original);
};
//#endregion
export { useTranslationOriginal as default };
