import { ComponentFactoryResolver, OnChanges, OnDestroy, OnInit } from '@angular/core'; import { ControlValueAccessor, FormControl } from '@angular/forms'; import { TerraFormEntryBase } from './terra-form-entry.base'; import * as i0 from "@angular/core"; export declare class TerraFormEntryComponent extends TerraFormEntryBase implements OnInit, OnChanges, OnDestroy, ControlValueAccessor { /** * @description FormControl instance corresponding to the given formField. */ inputFormControl: FormControl; private _onChangeCallback; private _onTouchedCallback; constructor(componentFactoryResolver: ComponentFactoryResolver); /** * Implementation of the OnInit life cycle hook. * @description Dynamically creates a component that will be bound to the given FormControl instance based on the specification of the * `inputFormField`. Also starts listening to status changes of the FormControl instance to highlight the formField if it is * invalid. */ ngOnInit(): void; /** * Part of the implementation of the ControlValueAccessor interface * @description Registers a given callback method that will be called whenever the form field represented by the dynamically created * component changes its value. * @param changeCallback */ registerOnChange(changeCallback: (value: any) => void): void; /** * Part of the implementation of the ControlValueAccessor interface * @description Registers a given callback method that will be called when the form field represented by the dynamically created * component has been touched. * @param touchedCallback */ registerOnTouched(touchedCallback: () => void): void; /** * Part of the implementation of the ControlValueAccessor interface * @description Writes a given value to the form field using the writeValue method of the dynamically created component instance. * @param value */ writeValue(value: any): void; protected get _hasChildren(): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }