import { ContentEditableEditor, EditorTrace } from '../base/contentEditableEditor'; import { EditorSpec } from '../base/editor'; import { HtmlEditor, HtmlEditorServices } from './htmlEditor'; import { ContentEditableHtmlEditorPlugin } from './plugins/contentEditableHtmlEditorPlugin'; export interface ContentEditableHtmlEditor extends ContentEditableEditor, HtmlEditor { } export declare type ContentEditableHtmlEditorOptions = { initialHtml?: string; isInitialHtmlClean?: boolean; simplifyStyles?: boolean; newListClassName?: string; shouldPasteAsText?: boolean; areStyleKeyboardShortcutsDisabled?: boolean; plugins?: ReadonlyArray; shouldNativeDelete?: boolean; onTrace?: (trace: EditorTrace) => void; hasTableService?: boolean; hasNewDeleteSelection?: boolean; }; declare type ContentEditableHtmlEditorSpecCreator = (spec: EditorSpec) => EditorSpec; export declare function createContentEditableHtmlEditor(options: ContentEditableHtmlEditorOptions, createSpec: ContentEditableHtmlEditorSpecCreator): ContentEditableHtmlEditor; export declare function createContentEditableHtmlEditor(options?: ContentEditableHtmlEditorOptions): ContentEditableHtmlEditor; export {};