import { OnDestroy, OnInit, TemplateRef, ViewContainerRef } from '@angular/core'; import { ControlContainer } from '@angular/forms'; import { ValidationErrors } from '../types'; import * as i0 from "@angular/core"; /** * @deprecated removed use the rxapControlError or rxapControlErrors directive */ export declare class FormControlErrorDirective implements OnInit, OnDestroy { private readonly template; private readonly parent; private readonly viewContainerRef; name: string; errorKey: string; private subscription?; constructor(template: TemplateRef<{ $implicit: ValidationErrors; }>, parent: ControlContainer, viewContainerRef: ViewContainerRef); ngOnInit(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }