import { ElementRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
import { ControlValueAccessor } from '@angular/forms';
import * as MediumEditor from 'medium-editor/dist/js/medium-editor';
/** Wraps medium-editor to a reactive form component.
* https://components.entrecode.de/misc/medium-editor?e=1
*/
export declare class MediumEditorComponent implements OnInit, OnDestroy, ControlValueAccessor {
/** data model */
model: any;
/** MediumEditor [options](https://github.com/yabwe/medium-editor#mediumeditor-options) */
options: any;
/** empty placeholder */
placeholder: string;
/** change emitter */
modelChange: EventEmitter;
/** container element */
container: ElementRef;
/** current value */
value: any;
/** editor instance */
private editor;
/** ready promise */
ready: Promise;
/** inits editor */
ngOnInit(): void;
/** destroys editor */
ngOnDestroy(): void;
/** Writes value to editor on outside model change. */
writeValue(value: any): void;
propagateChange: (_: any) => void;
registerOnChange(fn: any): void;
registerOnTouched(): void;
}