const require_useEngineContext = require("../../../hooks/useEngineContext.js");
//#region src/components/pay/toB/hooks.ts
/**
* @title: 获取引擎utils
*/
const useEngineUtils = () => {
	return require_useEngineContext.default().appHelper.utils || {};
};
/**
* @title: 获取当前的语言
*/
const useEngineLocale = () => {
	var _utils$getApp, _app$locales;
	const utils = useEngineUtils();
	const app = (utils === null || utils === void 0 || (_utils$getApp = utils.getApp) === null || _utils$getApp === void 0 ? void 0 : _utils$getApp.call(utils)) || {};
	return (app === null || app === void 0 || (_app$locales = app.locales) === null || _app$locales === void 0 ? void 0 : _app$locales.locale) || "en";
};
/**
* @title: 获取当前的货币符号
*/
const useSymbol = () => {
	const utils = useEngineUtils();
	return (utils === null || utils === void 0 ? void 0 : utils.getSymbolic()) || "$";
};
//#endregion
exports.useEngineLocale = useEngineLocale;
exports.useEngineUtils = useEngineUtils;
exports.useSymbol = useSymbol;
