import { ControlValueAccessor } from '@angular/forms'; import { ElementRef, EventEmitter, Injector } from '@angular/core'; export declare abstract class AbstractInput implements ControlValueAccessor { protected injector: Injector; autocomplete: string; clicked$: EventEmitter; disabled: boolean; errors: any; focussed: boolean; hint: string; input: ElementRef; id: string; name: string; pattern: string; placeholder: string; required: boolean; title: string; protected _value: any; constructor(injector: Injector); /** * */ blur(): void; /** * * @param _ */ changed: (_: any) => void; /** * */ focus(): void; /** * Propagate the change to the FormGroup * @param fn */ registerOnChange(fn: any): void; /** * Register the FormControl is dirty and has been * "touched" by the user * @param fn */ registerOnTouched(fn: any): void; /** * * @param disabled */ setDisabledState(disabled: boolean): void; /** * * @param _ */ touched: (_: any) => void; /** * Return the private member that holds * the current model value */ /** * Set the model value if it is not the same * as it currently is, also register a change * @param value */ value: any; /** * Initial value write on construction * @param value */ writeValue(value: any): void; }