import { OnInit, OnDestroy } from '@angular/core'; import { Subscription } from 'rxjs'; import { ActivatedRoute } from '@angular/router'; import { AlertService } from '../../../../widgets/entry-components/alert/services/alert.service'; import { LoadingService } from '../../../../widgets/entry-components/loading/services/loading.service'; import { ToastService } from '../../../../widgets/entry-components/toast/services/toast.service'; import { AbstractService } from '../../services/abstract.service'; import { Location } from '@angular/common'; export declare class AbstractPageAddComponent implements OnInit, OnDestroy { private service; private loadingService; protected alertService: AlertService; private toastService; private activatedRoute; private location; dataFromRoute: T; dataRoute: Subscription; dataForUpdate: T; dataNameStr: string; title: string; constructor(service: AbstractService, loadingService: LoadingService, alertService: AlertService, toastService: ToastService, activatedRoute: ActivatedRoute, location: Location); ngOnInit(): void; ngOnDestroy(): void; getDataFromRouter(): void; save(data: T): void; update(data: T): void; }