import { Ctx } from '@milkdown/kit/ctx'; import { EditorView } from '@milkdown/kit/prose/view'; export type SlashMenuItemConfig = { label: string; icon: string; onRun: (ctx: Ctx) => void; }; /** Hide “Variable content” slash item when the cursor is already inside one. */ export declare function shouldShowVariableContentSlashItem(view: EditorView | null | undefined): boolean; export declare const VariableContentSlashMenuItems: { variableContent: () => SlashMenuItemConfig; };