export class TextEditorCore { constructor(options?: {}); container: any; onChange: any; onSelectionChange: any; onAction: any; placeholder: any; readOnly: any; historyLimit: any; toolbarConfig: any; value: string; history: { record: (html: any) => void; undo: (currentHtml: any) => any; redo: () => any; canUndo: () => boolean; canRedo: () => boolean; startComposition: () => void; endComposition: (html: any) => void; clear: () => void; readonly length: number; }; isComposing: boolean; lastHtml: string; focused: boolean; _handlers: any[]; _dialogState: { type: null; data: null; }; _codeView: boolean; _codeEl: any; _lastCodeValue: string; _savedSelection: Range | null; _buildDOM(): void; toolbarEl: any; bodyEl: any; editorEl: any; statusEl: any; _attachEvents(): void; _listen(target: any, event: any, handler: any): void; destroy(): void; _onInput(): void; _onCompositionStart(): void; _onCompositionEnd(): void; _emitChange(): void; _onFocus(): void; _onBlur(): void; _onSelectionChange(): void; _onKeyDown(e: any): void; _applyFormat(command: any): void; _onPaste(e: any): void; _onDrop(e: any): void; _insertImageFromFile(file: any): void; _renderToolbar(): void; _createControl(action: any): any; _handleCommand(action: any, value: any): void; exec(command: any, value?: null): void; _applyBlockFormat(tag: any): void; _applyLineHeight(value: any): void; _openLinkDialog(): void; _openImageDialog(): void; _openVideoDialog(): void; _openTableDialog(): void; _getSelectedLink(): Node | null; insertLink({ text, href, title, target }: { text: any; href: any; title: any; target: any; }): void; removeLink(): void; insertImage({ src, alt, width, align, caption }: { src: any; alt: any; width: any; align: any; caption: any; }): void; insertVideo({ src, width, height }: { src: any; width?: string | undefined; height?: string | undefined; }): void; insertTable({ rows, cols }: { rows: any; cols: any; }): void; getSelectedImage(): any; alignImage(align: any): void; removeImage(): void; replaceImage(src: any): void; setImageAlt(alt: any): void; _recordBeforeMutation(): void; undo(): void; redo(): void; toggleCodeView(): void; _enterCodeView(): void; _exitCodeView(): void; _saveSelection(): Range | null; _restoreSelection(range: any): void; isCodeView(): boolean; getHTML(): string; setHTML(html: any): void; _setHTMLInternal(html: any, record: any): void; getText(): string; clear(): void; focus(): void; setReadOnly(readOnly: any): void; _updateToolbarState(state: any): void; _updatePlaceholder(): void; _updateStatus(state?: null): void; }