import { type MentionSource } from "./mentionAutocomplete"; export type MentionMenuProps = { /** Sources to use. Falls back to the global registry (`setMentionSources`). */ sources?: MentionSource[]; /** Character that opens the menu. Default `@`. */ triggerCharacter?: string; /** * Re-open the menu when the caret comes to rest inside an `@`-token that is * already in the document (e.g. after the editor lost and regained focus). * Default true; see `mentionReopen.ts`. */ reopenOnFocus?: boolean; }; /** * Universal `@`-mention menu for the main BlockNote editor. Render it as a child * of ``. On selection it inserts the source's token (e.g. * `@T123456`, `@S98765`, `@username`) as inline text at the cursor. * * * * */ export declare function MentionMenu({ sources: sourcesProp, triggerCharacter, reopenOnFocus, }: MentionMenuProps): import("react/jsx-runtime").JSX.Element;