import { EventEmitter, AfterViewInit, OnDestroy } from '@angular/core'; import { ControlValueAccessor } from '@angular/forms'; export declare class RpTextareaControlComponent implements ControlValueAccessor, AfterViewInit, OnDestroy { /** * Field label */ label: string; /** * Text to show if control has no value */ placeholder: string; /** * Whether or not to render SimpleMDE rich-text editor */ rte: boolean; /** * Output changes as editor value changes * TODO Rename to "changes"? */ change: EventEmitter<{}>; textarea: any; hasFocus: boolean; touched: boolean; value: string; editor: SimpleMDE; onChange: (x?: any) => void; onTouched: () => void; ngAfterViewInit(): void; ngOnDestroy(): void; /** * Report changes on input of textarea or SimpleMDE */ onInput(value: any): void; onBlur(): void; writeValue(value: any): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; }