import * as i0 from '@angular/core'; import { ViewContainerRef, OnInit, AfterViewInit, OnDestroy, ElementRef, Renderer2, NgZone, ComponentRef, EmbeddedViewRef, Injector, TemplateRef } from '@angular/core'; import * as i3 from '@angular/cdk/overlay'; import { OverlayRef, Overlay } from '@angular/cdk/overlay'; import { Subject, Observable } from 'rxjs'; import * as i4 from '@angular/cdk/portal'; import { CdkPortalOutlet, ComponentPortal, TemplatePortal, ComponentType } from '@angular/cdk/portal'; import { ConfigurableFocusTrapFactory } from '@angular/cdk/a11y'; import * as i2 from '@angular/common'; declare class MdbModalConfig { animation?: boolean; backdrop?: boolean; ignoreBackdropClick?: boolean; keyboard?: boolean; modalClass?: string; containerClass?: string; viewContainerRef?: ViewContainerRef; data?: D | null; nonInvasive?: boolean; focusElementSelector?: string; } declare class MdbModalContainerComponent implements OnInit, AfterViewInit, OnDestroy { private _document; _elementRef: ElementRef; private _renderer; private _focusTrapFactory; private _ngZone; _portalOutlet: CdkPortalOutlet; modalDialog: ElementRef; modalContent: ElementRef; readonly _destroy$: Subject; readonly backdropClick$: Subject; _config: MdbModalConfig; BACKDROP_TRANSITION: number; MODAL_TRANSITION: number; NON_INVASIVE_TRANSITION: number; private _previouslyFocusedElement; private _focusTrap; modal: boolean; get hasAnimation(): boolean; onWindowResize(): void; get host(): HTMLElement; private _isScrollable; private _isBottomRight; private _isBottomLeft; private _isTopRight; private _isTopLeft; private _isSideTopModal; private _isSideBottomModal; private _isSideModal; private _isModalBottom; private _modalContentRect; private _modalContentComputedStyles; private _modalDialogComputedStyles; private _topOffset; private _leftOffset; private _rightOffset; private _bottomOffset; constructor(_document: any, _elementRef: ElementRef, _renderer: Renderer2, _focusTrapFactory: ConfigurableFocusTrapFactory, _ngZone: NgZone); ngOnInit(): void; ngAfterViewInit(): void; ngOnDestroy(): void; private _updateContainerClass; private _onNonInvasiveModalShown; private _setNonInvasiveStyles; _onNonInvasiveModalHidden(): void; private _resetNonInvasiveStyles; private _removeNonInvasiveClass; private _handleWindowResize; _close(): void; _restoreScrollbar(): void; attachComponentPortal(portal: ComponentPortal): ComponentRef; attachTemplatePortal(portal: TemplatePortal): EmbeddedViewRef; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class MdbModalRef { protected _overlayRef: OverlayRef; private _container; constructor(_overlayRef: OverlayRef, _container: MdbModalContainerComponent); component: T; private readonly onClose$; readonly onClose: Observable; close(message?: any): void; } declare class MdbModalService { private _document; private _overlay; private _injector; constructor(_document: any, _overlay: Overlay, _injector: Injector); open(componentOrTemplateRef: ComponentType | TemplateRef, config?: MdbModalConfig): MdbModalRef; private _createOverlay; private _getOverlayConfig; private _createContainer; private _createContent; private _createInjector; private _registerListeners; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare class MdbModalModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { MdbModalConfig, MdbModalContainerComponent, MdbModalModule, MdbModalRef, MdbModalService };