import type { EmailVariableDto } from '@/services/api/communicationsApi';
/**
 * Tiptap extension that triggers a variable autocomplete popover when the user types `/`.
 * Selected variables are inserted as a styled mention node whose serialized text matches
 * Liquid syntax `{{ varName }}` — the saved HTML therefore round-trips through the server
 * rendering pipeline without special-casing.
 *
 * The popover is positioned with Floating UI (no tippy.js dependency) and renders the
 * `VariableSuggestionList` React component via Tiptap's ReactRenderer.
 */
export declare function createVariableMentionExtension(getVariables: () => EmailVariableDto[]): import("@tiptap/core").Node<import("@tiptap/extension-mention").MentionOptions<any, import("@tiptap/extension-mention").MentionNodeAttrs>, any>;
//# sourceMappingURL=VariableMentionExtension.d.ts.map