import { OnChanges, OnDestroy, DoCheck, ElementRef, NgZone, OnInit } from '@angular/core'; import { FormGroupDirective, NgControl } from '@angular/forms'; import { PgFieldControl } from '../pg-field-control'; import { Subscription } from 'rxjs'; import { ErrorStateMatcher, CanUpdateErrorState } from './input-error-options'; import { Platform } from '@angular/cdk/platform'; import * as i0 from "@angular/core"; export declare class PgInputBase { _defaultErrorStateMatcher: ErrorStateMatcher; _parentFormGroup: FormGroupDirective; ngControl: NgControl; constructor(_defaultErrorStateMatcher: ErrorStateMatcher, _parentFormGroup: FormGroupDirective, ngControl: NgControl); } export declare const _PgInputMixinBase: import("./input-error-options").Constructor & typeof PgInputBase; export declare class PgInputDirective extends _PgInputMixinBase implements PgFieldControl, OnChanges, OnDestroy, DoCheck, OnInit, CanUpdateErrorState { elementRef: ElementRef; ngControl: NgControl; protected _platform: Platform; protected _uid: string; protected _previousNativeValue: any; private _inputValueAccessor; stateChanges: any; isFocused: boolean; get isErrorStateFrozen(): boolean; set isErrorStateFrozen(value: boolean); protected _isErrorStateFrozen: boolean; controlType: string; isAutofilled: boolean; get isEmpty(): boolean; get shouldLabelFloat(): boolean; readonly _classList = "pg-input"; get id(): string; set id(value: string); protected _id: string; get isDisabled(): boolean; set isDisabled(value: boolean); protected _isDisabled: boolean; required: any; _ariaDescribedby: string; isError: any; _ariaLabelledby: string; placeholder: any; secure: boolean; get type(): string; set type(value: string); protected _type: string; errorStateMatcher: ErrorStateMatcher; get value(): any; set value(value: any); /** Whether the element is readonly. */ get readonly(): boolean; set readonly(value: boolean); private _readonly; selfCheckSub: Subscription; _prevValidity: any; constructor(elementRef: ElementRef, ngControl: NgControl, _parentFormGroup: FormGroupDirective, inputValueAccessor: any, _defaultErrorStateMatcher: ErrorStateMatcher, _platform: Platform, ngZone: NgZone); onFocus(): void; onBlur(): void; onInput(): void; onChange(): void; ngOnInit(): void; ngOnChanges(): void; ngOnDestroy(): void; ngDoCheck(): void; focus(selectionStart?: any, selectionEnd?: any): void; blur(): void; private _focusChanged; protected _dirtyCheckNativeValue(): void; /** Checks whether the input is invalid based on the native validation. */ protected _isBadInput(): boolean; /** Determines if the component host is a textarea. */ protected _isTextarea(): boolean; setDescribedByIds(ids: string[]): void; onContainerClick(): void; static ɵfac: i0.ɵɵFactoryDef; static ɵdir: i0.ɵɵDirectiveDefWithMeta; }