import { DoCheck, ElementRef, EventEmitter } from '@angular/core'; import { HcFormControlComponent } from '../form-field/hc-form-control.component'; import { FormGroupDirective, NgControl, NgForm } from '@angular/forms'; export declare function getUnsupportedHCInputType(type: string): Error; /** Directive that allows a native input to work inside a HcFormFieldComponent */ export declare class InputDirective extends HcFormControlComponent implements DoCheck { private _elementRef; _ngControl: NgControl; private _focused; private _uniqueInputId; private _form; _componentId: string; /** Allows for text visibility toggle. */ toggleVisible: boolean; /** Input type of the element. */ type: string; private _type; /** Element id. */ id: string; /** Sets input element as readonly. */ readonly: boolean; private _readonly; /** Disables the input element. */ disabled: boolean; /** Sets required attribute. */ required: boolean; inputFocused: EventEmitter; _hostHcInputClass: boolean; readonly _hostId: string; readonly _hostReadOnly: boolean; readonly _hostDisabled: boolean; readonly _hostRequired: boolean; _onBlur(): void; _onFocus(): void; /** Sets value of the input element */ value: string; _inputEvent(): void; constructor(_elementRef: ElementRef, _parentForm: NgForm, _parentFormGroup: FormGroupDirective, _ngControl: NgControl); ngDoCheck(): void; /** Sets the focus on the input element */ focus(): void; private _changeFocus; private _isTextArea; private _updateErrorState; private _updateDisableState; }