import { OnInit, ElementRef, ChangeDetectorRef, AfterContentInit } from '@angular/core'; import { PgFieldControl } from './pg-field-control'; import { PgLabelDirective } from '../pg-content-blocks/pg-label/pg-label.directive'; import { PgFieldOptions, PgFieldSize } from './pg-field-options'; import * as i0 from "@angular/core"; /** * Boilerplate for applying mixins to MatFormField. * @docs-private */ export declare class PgFormFieldBase { _elementRef: ElementRef; constructor(_elementRef: ElementRef); } export declare class PgFieldComponent extends PgFormFieldBase implements AfterContentInit, OnInit { elementRef: ElementRef; private _cdRef; private _options; protected _uid: string; readonly _classList = "pg-field grit"; get _classInvalid(): boolean; get _classIsFocused(): boolean; get _classIsComplete(): boolean; get _classIsHovered(): boolean; protected _isHovered: boolean; get _classShouldLabelFloat(): boolean; get _classDisabled(): boolean; get _classIsDisabledFilled(): boolean; get _classSm(): boolean; get _classMd(): boolean; size: PgFieldSize; _fieldBorderChild: ElementRef; get fieldBorderEl(): HTMLElement; /** * The implementation of PgFieldControl passed in as content * to this field class. */ control: PgFieldControl; label: PgLabelDirective; constructor(elementRef: ElementRef, _cdRef: ChangeDetectorRef, _options: PgFieldOptions); ngOnInit(): void; onMouseOver(): void; onMouseOut(): void; ngAfterContentInit(): void; /** Throws an error if the form field's control is missing. */ protected _validateControlChild(): void; static ɵfac: i0.ɵɵFactoryDef; static ɵcmp: i0.ɵɵComponentDefWithMeta; }