import { AfterViewInit, EventEmitter, ElementRef } from '@angular/core'; import { ControlValueAccessor } from '@angular/forms'; export declare const SUPERTXT_VALUE_ACCESSOR: any; export declare class SuperTextboxJqueryControl implements ControlValueAccessor, AfterViewInit { private elRef; /** Set value of control */ value: string; /** Set height of control */ height: number; /***/ private isHighlight; changeEvent: EventEmitter; change: Function; touched: Function; private controlElem; private textEditor; /** Height of control */ private controlHeight; /** The control id number*/ private controlID; /** The global control id number (will be increased 1 when it has the constructor)*/ private static staticID; /** * @constructor * @param cd NgControl * @param elRef ElementRef */ constructor(elRef: ElementRef); /** * Implements method(registerOnChange) of interface ControlValueAccessor * @param fn */ registerOnChange(fn: (_: string) => void): void; /** * Implements method(registerOnTouched) of interface ControlValueAccessor * @param fn */ registerOnTouched(fn: () => void): void; /** * Implements method(writeValue) of interface ControlValueAccessor * @param value The write value */ writeValue(value: string): void; /** * Implements method(ngAfterViewInit) of interface AfterViewInit */ ngAfterViewInit(): void; }