import { AfterViewInit, ElementRef, EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
import { ControlValueAccessor } from '@angular/forms';
import 'codemirror/mode/markdown/markdown.js';
export declare class MarkdownEditorComponent implements AfterViewInit, ControlValueAccessor, OnChanges {
    textarea: ElementRef;
    value: string;
    name: string;
    mode: string;
    forId: string;
    uiChange: EventEmitter<string>;
    display: string;
    displayHtml: string;
    private onChange;
    private onTouched;
    private cmInstance;
    private cmDoc;
    ngOnChanges(changes: SimpleChanges): void;
    ngAfterViewInit(): void;
    setDisplayState(state: string): void;
    setBold(): void;
    setItalic(): void;
    setHeader(): void;
    setDeleteLine(): void;
    setBlockQuote(): void;
    setOrderedList(): void;
    setUnorderedList(): void;
    insertImage(): void;
    setLink(): void;
    insertTable(): void;
    writeValue(value: any): void;
    registerOnChange(fn: any): void;
    registerOnTouched(fn: any): void;
    focus(): void;
    private setLineSelection;
}
