import * as i0 from '@angular/core'; import { OnDestroy, OnChanges, ChangeDetectorRef, Injector, ViewContainerRef, SimpleChanges, InjectionToken } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { AjaxActionResponse, AjaxActionService } from '@spryker/ajax-action'; import { DataSerializerService, DataSerializer } from '@spryker/data-serializer'; import { Subscription } from 'rxjs'; import * as i2 from '@angular/common'; import * as i3 from '@spryker/html-renderer'; import * as i4 from 'ng-zorro-antd/spin'; import * as i5 from '@spryker/unsaved-changes.monitor.form'; interface AjaxFormResponse extends AjaxActionResponse { form?: string; action?: string; method?: string; } interface SubmitEvent extends Event { submitter: HTMLElement | null; } declare class AjaxFormComponent implements OnDestroy, OnChanges { protected ajaxActionService: AjaxActionService; protected http: HttpClient; protected cdr: ChangeDetectorRef; protected injector: Injector; protected dataSerializerService: DataSerializerService; htmlRendererVcr?: ViewContainerRef; action?: string; method: string; subscription?: Subscription; submitSubscription?: Subscription; ajaxFormResponse?: AjaxFormResponse; isLoading: boolean; form?: string; formAction?: string; formMethod?: string; ngOnChanges(changes: SimpleChanges): void; refreshForm(): void; private fetchForm; ngOnDestroy(): void; submitHandler(form: HTMLFormElement, event: SubmitEvent): void; private responseHandler; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class AjaxFormModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare const AjaxFormRequestToken: InjectionToken>; export { AjaxFormComponent, AjaxFormModule, AjaxFormRequestToken }; export type { AjaxFormResponse, SubmitEvent };