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<FormControlErrorDirective, [null, { host: true; skipSelf: true; }, null]>;
    static ɵdir: i0.ɵɵDirectiveDeclaration<FormControlErrorDirective, "[rxapFormControlError]", never, { "name": { "alias": "rxapFormControlErrorFrom"; "required": true; }; "errorKey": { "alias": "rxapFormControlErrorIf"; "required": true; }; }, {}, never, never, true, never>;
}
