import { EventEmitter, OnDestroy, OnInit, TemplateRef } from '@angular/core'; import { SubscriptionService } from '@abp/ng.core'; import { NgbModal, NgbModalOptions, NgbModalRef } from '@ng-bootstrap/ng-bootstrap'; import { Subject } from 'rxjs'; import { DismissableModal, ModalDismissMode } from '../../models'; import { ConfirmationService, ModalRefService } from '../../services'; import { ButtonComponent } from '../button/button.component'; import * as i0 from "@angular/core"; export declare type ModalSize = 'sm' | 'md' | 'lg' | 'xl'; export declare class ModalComponent implements OnInit, OnDestroy, DismissableModal { private confirmationService; private subscription; private suppressUnsavedChangesWarningToken; private modal; private modalRefService; get visible(): boolean; set visible(value: boolean); get busy(): boolean; set busy(value: boolean); options: NgbModalOptions; suppressUnsavedChangesWarning: boolean; modalContent?: TemplateRef; modalHeader?: TemplateRef; modalBody?: TemplateRef; modalFooter?: TemplateRef; modalSubmit?: ButtonComponent; readonly visibleChange: EventEmitter; readonly init: EventEmitter; readonly appear: EventEmitter; readonly disappear: EventEmitter; _visible: boolean; _busy: boolean; modalRef: NgbModalRef; isConfirmationOpen: boolean; destroy$: Subject; modalIdentifier: string; private toggle$; get modalWindowRef(): Element; get isFormDirty(): boolean; constructor(confirmationService: ConfirmationService, subscription: SubscriptionService, suppressUnsavedChangesWarningToken: boolean, modal: NgbModal, modalRefService: ModalRefService); ngOnInit(): void; ngOnDestroy(): void; close(): void; listen(): void; dismiss(mode: ModalDismissMode): void; private initToggleStream; private toggle; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }