const require_messagesKeys = require('./editor/dist/esm/messagesKeys.cjs');
const require_useCrossFrameState = require('./useCrossFrameState.cjs');

//#region ../react-intlayer/dist/esm/@intlayer/editor-react/dist/esm/useEditorLocale.mjs
const useEditorLocale = () => {
	const [currentLocale] = require_useCrossFrameState.useCrossFrameState(require_messagesKeys.MessageKey.INTLAYER_CURRENT_LOCALE, void 0, {
		receive: true,
		emit: false
	});
	return currentLocale;
};

//#endregion
exports.useEditorLocale = useEditorLocale;
//# sourceMappingURL=useEditorLocale.cjs.map