import * as i0 from '@angular/core'; import { OnDestroy, ElementRef, OnInit, ViewContainerRef } from '@angular/core'; import { BooleanInput } from '@angular/cdk/coercion'; import { ControlValueAccessor, NgControl } from '@angular/forms'; import { MatFormFieldControl } from '@angular/material/form-field'; import { Subject } from 'rxjs'; declare class MxPasswordInputComponent implements ControlValueAccessor, MatFormFieldControl, OnDestroy { ngControl: NgControl; private elRef; static nextId: number; stateChanges: Subject; focused: boolean; touched: boolean; controlType: string; describedBy: string; shouldLabelFloat: boolean; isVisible: boolean; private onChange; private onTouched; private _cdr; get value(): string; set value(v: string); get placeholder(): string; set placeholder(plh: string); get required(): boolean; set required(req: BooleanInput); get disabled(): boolean; set disabled(value: BooleanInput); get errorState(): boolean; set errorState(value: boolean); maxlength: i0.InputSignal; autocomplete: i0.InputSignal<"" | "new-password" | "current-password" | "off">; private _value; private _placeholder; private _required; private _disabled; private _errorState; get empty(): boolean; id: string; class: string; constructor(ngControl: NgControl, elRef: ElementRef); ngDoCheck(): void; ngOnDestroy(): void; setDescribedByIds(ids: string[]): void; onContainerClick(event: MouseEvent): void; writeValue(data: string): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; setDisabledState(isDisabled: boolean): void; onFocusIn(event: FocusEvent): void; onFocusOut(event: FocusEvent): void; onToggleVisibility(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } interface MxPasswordValidationRule { label: string; validator: (value: any) => boolean; } declare class MxPasswordInputValidationDirective implements OnInit, OnDestroy { private elRef; private viewContainerRef; private component; mxPasswordInputValidationRules: MxPasswordValidationRule[]; private componentRef; private valueSubscription; private invalidSubscription; constructor(elRef: ElementRef, viewContainerRef: ViewContainerRef, component: MxPasswordInputComponent); ngOnInit(): void; ngOnDestroy(): void; private _addInputEventListener; private _removeInputEventListener; private setInputDirty; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export { MxPasswordInputComponent, MxPasswordInputValidationDirective }; export type { MxPasswordValidationRule };