import type { MentionNodeAttrs } from "@tiptap/extension-mention"; import type { SuggestionOptions } from "@tiptap/suggestion"; import { type TextEditorTag } from "./MentionList"; /** * Builds the Tiptap suggestion config for the mention/tag feature. * * Tags are read lazily through `getTags` so the editor instance can be created * once while the consumer is still free to change the available tags. * * `getPopupContainer` lets the consumer override where the suggestion popup is * mounted (see the `popupContainer` prop on `TextEditor`). It is read lazily * for the same reason as `getTags`. */ export declare const createMentionSuggestion: (getTags: () => TextEditorTag[], getPopupContainer?: () => HTMLElement | null | undefined) => Omit, "editor">;