import { 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: import("@angular/core").InputSignal<"submit" | "reset" | "button">;
    resetAfterSubmit: import("@angular/core").InputSignalWithTransform<boolean | "", boolean>;
    navigateAfterSubmit: import("@angular/core").InputSignal<string[] | undefined>;
    afterSubmit: import("@angular/core").OutputEmitterRef<any>;
    disableWhileSubmitting: import("@angular/core").InputSignal<boolean>;
    submitting: import("@angular/core").Signal<boolean>;
    disabled: import("@angular/core").Signal<boolean>;
    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]", ["rxapFormSubmit"], { "type": { "alias": "type"; "required": false; "isSignal": true; }; "resetAfterSubmit": { "alias": "resetAfterSubmit"; "required": false; "isSignal": true; }; "navigateAfterSubmit": { "alias": "navigateAfterSubmit"; "required": false; "isSignal": true; }; "disableWhileSubmitting": { "alias": "disableWhileSubmitting"; "required": false; "isSignal": true; }; }, { "afterSubmit": "afterSubmit"; }, never, never, true, never>;
}
