import { ComponentType, EditorSettings } from '@dvn/alaca/components/dvn-rich-editor/constants';
import { EventEmitter } from '../../../../../stencil-public-runtime';
import { HTMLStencilElement } from '../../../../../stencil-public-runtime';
export declare class DvnRichEditor {
  refs: {};
  el: HTMLStencilElement;
  components: any[];
  draggedComponent: any;
  isDragging: boolean;
  value: any[];
  editorSettings?: EditorSettings;
  change: EventEmitter;
  lastUpdatedComponent: any;
  componentWillLoad(): void;
  componentDidUpdate(): void;
  onAction(event: CustomEvent): void;
  onDragStart: (component: any) => void;
  onDragEnd: () => void;
  onDrop: (toIndex: number) => void;
  onAddNewItemClick: (type: ComponentType, toIndex: number) => void;
  onDeleteItemClick: (index: number) => void;
  onConvertItemClick: (index: number, type: ComponentType) => Promise<void>;
  focusOnNextItem: (index: number) => void;
  focusOnPreviousItem: (index: number) => void;
  getEditorSettings: () => {
    enableDrag?: boolean;
    enableBlockCreation?: boolean;
    enableBlockDeletion?: boolean;
    hideDragControls?: boolean;
    blockTypes?: ComponentType[];
    blockSettings?: {
      text?: {
        textSelectionOptions?: import("@dvn/alaca/components/dvn-rich-editor/constants").OverlayMenuActionName[];
      };
    };
  };
  render(): any;
}
