import { LANGUAGES, useEditor } from "@cmpd/editor";
function useLanguages() {
  const editor = useEditor();
  return {
    languages: LANGUAGES,
    currentLanguage: editor.user.getLocale()
  };
}
export {
  useLanguages
};
//# sourceMappingURL=useLanguages.mjs.map
