/** internal */ export interface ExecCommandArgs { cmd: string; args?: any; } /** internal */ export interface RichTextEditorContent { richText: string; content: string; backgroundColor: string | null; borderWidth: number; fontName: string | null; fontColor: string | null; fontSizeCSS: string | null; } /** internal */ export declare class RichTextEditor { private element; private editorElement; private editorDocument; private content; private hasRangeSelection; constructor(element: HTMLElement, content: RichTextEditorContent); setZoom(zoom: number): void; getEditorValues(): RichTextEditorContent; executeCommand(cmd: ExecCommandArgs): void; private cleanupRichText; private getContent; private handleOnPaste; private handleSelectionChange; }