import { ToolbarConfiguration } from '../../../../../types/src/content-builder';
import { LocalizeController } from '../../../../../utils/src/custom-element/i18n';
import { Editor } from 'grapesjs';
import { default as CxText } from '../../blocks/text/text';
import { CxRTEBubbleMenu } from './components';

export type Options = {
    bubbleMenu: CxRTEBubbleMenu;
    id?: string;
    tagName: CxText['tagName'];
};
declare const RichTextEditorPlugin: (editor: Editor, opts: Partial<Options> & {
    localize: LocalizeController;
    toolbarConfigs?: ToolbarConfiguration;
}) => void;
export default RichTextEditorPlugin;
export { CxRTEBubbleMenu };
