import { OnDestroy } from '@angular/core'; import { GasDynamicComponentsService } from '@cikrf/gas-utils/services'; import { GasModal } from './gas-modal.interface'; import { GasModalComponent } from './modal/gas-modal.component'; export declare class GasModalService implements OnDestroy { gasDynamicComponentsService: GasDynamicComponentsService; modals: GasModalComponent[]; private modalComponents; private dynamicComponents; constructor(gasDynamicComponentsService: GasDynamicComponentsService); createModal(modal: GasModal.Modal, props?: Partial): GasModalComponent; /** сохранение данных и закрытие модального окна */ saveAndClose(data: C, modalId: string): void; /** закрытие модального окна */ closeModal(modalId: string): void; /** удаляем все модалки и инстансы */ ngOnDestroy(): void; /** удаление динамичных элементов */ private clearData; }