import { __exports as e } from "./index-useLexicalTextEntity.dev2.js";
import { __require as _ } from "./index-LexicalComposerContext2.js";
import { __require as l } from "./index-LexicalText.js";
import { __require as m } from "./index-LexicalUtils.js";
import f from "react";
var o;
function T() {
  if (o) return e;
  o = 1;
  var a = _(), s = l(), u = m(), n = f;
  function c(r, t, i) {
    const [x] = a.useLexicalComposerContext();
    n.useEffect(() => u.mergeRegister(...s.registerLexicalTextEntity(x, r, t, i)), [i, x, r, t]);
  }
  return e.useLexicalTextEntity = c, e;
}
export {
  T as __require
};
