import { DoCheck, ElementRef, OnChanges, OnDestroy } from '@angular/core'; import { FormGroupDirective, NgControl, NgForm } from '@angular/forms'; import { CanUpdateErrorState, ErrorStateMatcher } from '@koobiq/components/core'; import { KbqFormFieldControl } from '@koobiq/components/form-field'; import { Subject } from 'rxjs'; import * as i0 from "@angular/core"; export declare class KbqInputPassword implements KbqFormFieldControl, OnChanges, OnDestroy, DoCheck, OnChanges, CanUpdateErrorState { protected elementRef: ElementRef; ngControl: NgControl; parentForm: NgForm; parentFormGroup: FormGroupDirective; defaultErrorStateMatcher: ErrorStateMatcher; private readonly useLegacyValidation; /** Whether the component is in an error state. */ errorState: boolean; /** An object used to control when error messages are shown. */ errorStateMatcher: ErrorStateMatcher; /** * Implemented as part of KbqFormFieldControl. * @docs-private */ focused: boolean; /** * Implemented as part of KbqFormFieldControl. * @docs-private */ readonly stateChanges: Subject; readonly checkRule: Subject; /** * Implemented as part of KbqFormFieldControl. * @docs-private */ controlType: string; elementType: string; /** * Implemented as part of KbqFormFieldControl. * @docs-private */ placeholder: string; protected uid: string; protected previousNativeValue: any; /** * Implemented as part of KbqFormFieldControl. * @docs-private */ get disabled(): boolean; set disabled(value: boolean); private _disabled; /** * Implemented as part of KbqFormFieldControl. * @docs-private */ get id(): string; set id(value: string); private _id; /** * Implemented as part of KbqFormFieldControl. * @docs-private */ get required(): boolean; set required(value: boolean); private _required; /** * Implemented as part of KbqFormFieldControl. * @docs-private */ get value(): string; set value(value: string); /** * Implemented as part of KbqFormFieldControl. * @docs-private */ get empty(): boolean; private _inputValueAccessor; constructor(elementRef: ElementRef, ngControl: NgControl, parentForm: NgForm, parentFormGroup: FormGroupDirective, defaultErrorStateMatcher: ErrorStateMatcher, inputValueAccessor: any); ngOnChanges(): void; ngOnDestroy(): void; ngDoCheck(): void; updateErrorState(): void; checkRules(): void; toggleType(): void; /** Focuses the input. */ focus(): void; onBlur(): void; /** Callback for the cases where the focused state of the input changes. */ focusChanged(isFocused: boolean): void; onInput(): void; /** * Implemented as part of KbqFormFieldControl. * @docs-private */ onContainerClick(): void; /** Does some manual dirty checking on the native input `value` property. */ protected dirtyCheckNativeValue(): void; /** Checks whether the input is invalid based on the native validation. */ protected isBadInput(): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }