import type { EntityMatch } from "@lexical/text"; import type { TextNode } from "lexical"; import type { Class } from "utility-types"; export declare const setupLexicalTextEntity: (getMatch: (text: string) => null | EntityMatch, targetNode: Class, createNode: (textNode: TextNode) => N) => void;