import { AfterViewInit, OnDestroy, TemplateRef, ViewContainerRef } from '@angular/core';
import { FormDirective } from './form.directive';
import * as i0 from "@angular/core";
export declare class FormSubmitFailedDirective implements AfterViewInit, OnDestroy {
    private readonly formDirective;
    private readonly template;
    private readonly viewContainerRef;
    private subscription?;
    constructor(formDirective: FormDirective, template: TemplateRef<{
        $implicit: Error;
    }>, viewContainerRef: ViewContainerRef);
    ngAfterViewInit(): void;
    ngOnDestroy(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<FormSubmitFailedDirective, never>;
    static ɵdir: i0.ɵɵDirectiveDeclaration<FormSubmitFailedDirective, "[rxapFormSubmitFailed]", never, {}, {}, never, never, true, never>;
}
