import { IFormTemplate, IServiceMethods } from "../../interfaces/utils.interface"; import { ServiceManager } from "../../service-manager"; import { FormTemplateComponent } from "./form-template.component"; import { BlockerManager } from "../../helpers/modal-option"; import { ModalFormRef, FormLevel } from "./modal-form.service"; import { OnDestroy, AfterViewInit, OnInit } from "@angular/core"; import { NgForm } from "@angular/forms"; import { Subscription } from "rxjs/internal/Subscription"; import { ActivatedRoute, Router } from "@angular/router"; import { MessageService } from "primeng/api"; import { ComponentManager } from "../../component-manager"; export declare class SingleForm implements OnDestroy, AfterViewInit { formTemplate: FormTemplateComponent; protected _suscriptions: Subscription[]; modalFormRef: ModalFormRef; formLevel: FormLevel; blocker: BlockerManager; constructor(); setOptions(options: IFormTemplate): void; ngAfterViewInit(): void; ngOnDestroy(): void; dismissCancel(event: string): void; dismissOk(event: string): void; objectToWatchChanged(event: any): void; readonly form: NgForm; } export declare class FormManager extends SingleForm implements IServiceMethods, OnDestroy, AfterViewInit, OnInit { serviceManager: ServiceManager; private _hasComponentManager; route: ActivatedRoute; router: Router; toastr: MessageService; refreshCacheDataIfNotOwner: boolean; hasComponentManager: boolean; constructor(serviceManager: ServiceManager); ngAfterViewInit(): void; ngOnInit(): void; ngOnDestroy(): void; formInit(): void; dismissOk(event: string): void; dismissCancel(event: string): void; onLoad(args?: any): void; onModal(args: any): void; onAdd(args?: any): void; onAdded(args?: any): void; onEdit(args?: any): void; onEdited(args?: any): void; onDelete(args: any): void; onDeleted(args: any): void; onStateChange(state?: any): void; onSettingRefreshed(args?: any): void; onCancel(event: string): void; readonly componentManager: ComponentManager; }