import { EventEmitter, OnDestroy } from '@angular/core';
import { Router } from '@angular/router';
import { ConfirmClick } from '@rxap/directives';
import { FormDirective } from './form.directive';
import * as i0 from "@angular/core";
export declare class FormSubmitDirective extends ConfirmClick implements OnDestroy {
    private readonly formDirective;
    private readonly router;
    type: string;
    set resetAfterSubmit(value: boolean | '');
    navigateAfterSubmit?: string[];
    afterSubmit: EventEmitter<any>;
    private _resetAfterSubmit;
    private subscription?;
    constructor(formDirective: FormDirective, router?: Router | null);
    protected execute(): void;
    ngOnDestroy(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<FormSubmitDirective, [null, { optional: true; }]>;
    static ɵdir: i0.ɵɵDirectiveDeclaration<FormSubmitDirective, "[rxapFormSubmit]", never, { "type": { "alias": "type"; "required": false; }; "resetAfterSubmit": { "alias": "resetAfterSubmit"; "required": false; }; "navigateAfterSubmit": { "alias": "navigateAfterSubmit"; "required": false; }; }, { "afterSubmit": "afterSubmit"; }, never, never, true, never>;
}
