import { MenuItem } from "../../../config/types";
import { Field } from "../../pageModel";
import { EditContextType } from "../../client/editContext";
import { RichTextEditorProfile, MarkId } from "./types";
type CreateSlateRichTextContextMenuParams = {
    field: Field;
    editContext: EditContextType;
    profile?: RichTextEditorProfile | null;
    onToggleMark: (markId: MarkId) => void;
    onAddLink: () => void;
    onStripFormatting: () => void;
    canAddLink: boolean;
    isLinkActive: boolean;
    originatingSlotId?: string;
};
export declare function createSlateRichTextContextMenu({ field, editContext, profile, onToggleMark, onAddLink, onStripFormatting, canAddLink, isLinkActive, originatingSlotId, }: CreateSlateRichTextContextMenuParams): MenuItem[];
export declare function createRichTextContextMenu(field: Field, editContext: EditContextType): Promise<MenuItem[]>;
export {};
