import { OnInit, ElementRef } from '@angular/core'; import { BllFormFieldControl } from '../form-field/form-field-control'; import { Subject } from 'rxjs'; import { NgControl, FormGroupDirective, NgForm } from '@angular/forms'; import { ShowOnDirtyErrorStateMatcher } from '../utils/error-options'; export declare class bllInput implements BllFormFieldControl, OnInit { protected _elementRef: ElementRef; ngControl: NgControl; protected _uid: string; focused: boolean; readonly stateChanges: Subject; controlType: string; _parentFormGroup: FormGroupDirective; _defaultErrorStateMatcher: ShowOnDirtyErrorStateMatcher; _parentForm: FormGroupDirective; protected _previousNativeValue: any; get disabled(): any; set disabled(value: any); protected _disabled: boolean; get id(): string; set id(value: string); protected _id: string; placeholder: string; get required(): any; set required(value: any); protected _required: boolean; /** Input type of the element. */ get type(): string; set type(value: string); protected _type: string; /** An object used to control when error messages are shown. */ errorStateMatcher: ShowOnDirtyErrorStateMatcher; error: boolean; /** Whether the element is readonly. */ get readonly(): any; set readonly(value: any); private _readonly; get empty(): boolean; /** Whether the component is in an error state. */ errorState: boolean; updateErrorState(): void; constructor(_elementRef: ElementRef, _parentForm: NgForm, _parentFormGroup: FormGroupDirective, _defaultErrorStateMatcher: ShowOnDirtyErrorStateMatcher, ngControl: NgControl); ngOnInit(): void; /** no paste. */ get noPaste(): any; set noPaste(value: any); private _noPaste; _paste($event: any): void; /** Make sure the input is a supported type. */ protected _validateType(): void; /** Determines if the component host is a textarea. */ protected _isTextarea(): boolean; /** Checks whether the input type is one of the types that are never empty. */ protected _isNeverEmpty(): boolean; /** Checks whether the input is invalid based on the native validation. */ protected _isBadInput(): boolean; /** Focuses the input. */ focus(): void; /** Callback for the cases where the focused state of the input changes. */ _focusChanged(isFocused: boolean): void; onContainerClick(): void; _onInput(): void; /** Does some manual dirty checking on the native input `value` property. */ protected _dirtyCheckNativeValue(): void; get shouldLabelFloat(): boolean; ngDoCheck(): void; }