import { ElementRef, Renderer2 } from '@angular/core'; import * as i0 from "@angular/core"; export declare enum FormSubmitActionOptions { RESET = 0 } /** * this directive should be added to forms with a submit button * the directive check if submit is clicked and adds a submitted class on the form element * this gives us an indication for when submit is clicked */ export declare class SingFormSubmitDirective { private hostElementRef; private renderer; constructor(hostElementRef: ElementRef, renderer: Renderer2); /** * in order to support actions from the component like reset * we can use this input which gets a new object with action name * @param {{name: FormSubmitActionOptions}} action */ set formSubmitActions(action: { name: FormSubmitActionOptions; }); onClick($event: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } //# sourceMappingURL=form-submit.directive.d.ts.map