import { AfterViewInit, ElementRef, Injector, Renderer2 } from '@angular/core'; import { ControlValueAccessor } from '@angular/forms'; import * as i0 from "@angular/core"; export declare class ReactiveFormDirective implements ControlValueAccessor, AfterViewInit { private renderer; private elementRef; private injector; set hostValue(value: any); set hostDisabled(value: boolean); set hostTextError(value: string | null); onChange?: (value: unknown) => void; onTouched: () => void; messages: { [validatorName: string]: (validatorValue?: any) => string; }; private control; constructor(renderer: Renderer2, elementRef: ElementRef, injector: Injector); onBlurChange(): void; onValueChange(value: any): void; ngAfterViewInit(): void; /** * Actualiza el mensaje de error basado en el estado del control * Solo se mostrará si el campo ha sido tocado o modificado */ updateErrorState(): void; writeValue(value: any): void; registerOnChange(fn: any): void; registerOnTouched(fn: any): void; setDisabledState?(isDisabled: boolean): void; setValue(value: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }