import { EditorSettings, QuillRange } from '@dvn/alaca/components/dvn-rich-editor/constants';
import { EventEmitter } from '../../../../../stencil-public-runtime';
export declare class DvnRichEditor {
  /**
   * Reference to the overlay menu to show and hide.
   */
  overlayMenu: HTMLDvnRichEditorOverlayMenuElement;
  /**
   * Reference of the Quill editor.
   */
  quill: any;
  isContentCleared: boolean;
  /**
   * The last position of the cursor is saved here to focus after parent re-render. Otherwise the focus is lost.
   */
  lastCursorPosition: any;
  id: string;
  value: {
    placeholder: string;
    text: string;
  };
  editorSettings: EditorSettings;
  change: EventEmitter;
  lastBackspaceKeyDown: EventEmitter;
  arrowDown: EventEmitter;
  arrowUp: EventEmitter;
  componentDidLoad(): void;
  focusOnInput(): Promise<void>;
  getRawValue(): Promise<any>;
  getValue: () => any;
  onTextChange: () => void;
  retainPosition: () => any;
  onTextSelectionChange: (range: QuillRange) => void;
  render(): any;
}
