import * as _angular_animations from '@angular/animations'; import { AnimationEvent } from '@angular/animations'; import * as i4 from '@angular/cdk/portal'; import { Portal } from '@angular/cdk/portal'; import * as i0 from '@angular/core'; import { EventEmitter, Injector, OnInit, ViewContainerRef } from '@angular/core'; import * as i3 from '@angular/cdk/overlay'; import { OverlayRef, Overlay } from '@angular/cdk/overlay'; import { Observable } from 'rxjs'; import * as i5 from '@angular/common'; import * as i6 from 'novo-elements/elements/button'; /** * Params that can be passed to the Modal */ interface ModalParams { [propName: string]: any; } declare class NovoModalParams implements ModalParams { } declare class NovoModalRef { component: any; params: T; private overlayRef; constructor(component: any, params: T, overlayRef: OverlayRef); private _beforeClose; private _afterClosed; componentInstance: NovoModalContainerComponent; isClosed: boolean; get onClosed(): Promise; afterClosed(): Observable; beforeClose(): Observable; close(result?: R): void; } declare class NovoModalContainerComponent { private injector; private modalRef; animationStateChanged: EventEmitter; animationState: 'void' | 'enter' | 'leave'; component: Portal; initTimestamp: number; id: string; constructor(injector: Injector, modalRef: NovoModalRef); onAnimationStart(event: AnimationEvent): void; onAnimationDone(event: AnimationEvent): void; startExitAnimation(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare const zoomInOut: _angular_animations.AnimationTriggerMetadata; declare class NovoModalElement { private modalRef; constructor(modalRef: NovoModalRef); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class NovoModalNotificationElement implements OnInit { private modalRef; type: string; icon: string; cancel: EventEmitter; iconType: string; constructor(modalRef: NovoModalRef); close(): void; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class NovoModalModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare class NovoModalService { private injector; private overlay; _parentViewContainer: ViewContainerRef; overlayRef: OverlayRef; set parentViewContainer(view: ViewContainerRef); constructor(injector: Injector, overlay: Overlay); open>(component: any, params?: Partial): NovoModalRef, any>; private createOverlay; private attachModalContainer; private createInjector; private getOverlayConfig; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export { NovoModalContainerComponent, NovoModalElement, NovoModalModule, NovoModalNotificationElement, NovoModalParams, NovoModalRef, NovoModalService, zoomInOut }; export type { ModalParams };