import { LitElement } from 'lit'; import '../colorpicker/colorpicker.ts'; export declare class UIRichTextEditor extends LitElement { static styles: import("lit").CSSResult; value: string; placeholder: string; showCharCount: boolean; showWordCount: boolean; maxLength: number; fullscreen: boolean; ariaLabel: string; /** Enable markdown mode toggle */ enableMarkdown: boolean; /** Enable HTML source view toggle */ enableSource: boolean; private _activeFormats; private _charCount; private _wordCount; private _colorPickerActive; private _colorPickerPosition; private _sourceMode; private _markdownMode; private editorId; private toolbarId; firstUpdated(): void; private _execCommand; private _updateActiveFormats; private _updateCounts; private _handleInput; private _handleSelectionChange; connectedCallback(): void; disconnectedCallback(): void; private _emitChange; private _insertLink; private _insertImage; private _handleImageUpload; private _insertTable; private _insertHorizontalRule; private _toggleSourceMode; private _handleSourceInput; private _toggleMarkdownMode; private _htmlToMarkdown; private _markdownToHtml; /** Get current content as markdown */ getMarkdown(): string; /** Set content from markdown */ setMarkdown(md: string): void; /** Get current content as HTML */ getHTML(): string; /** Get current content as plain text */ getText(): string; private _toggleFullscreen; private _formatBlock; private _insertBlockquote; private _changeTextColor; private _changeBackgroundColor; private _handleColorChange; private _closeColorPicker; render(): import("lit-html").TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { 'ui-rich-text-editor': UIRichTextEditor; } } //# sourceMappingURL=rich-text-editor.d.ts.map