import { MessageKey } from "./editor/dist/esm/messagesKeys.mjs";
import { useCrossFrameState } from "./useCrossFrameState.mjs";

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

//#endregion
export { useEditorLocale };
//# sourceMappingURL=useEditorLocale.mjs.map