import { ModalConfig, MnModalRef } from 'mn-angular-lib/modal-core'; import * as i0 from '@angular/core'; declare class MnModalService { private readonly appRef; private readonly injector; private readonly modalStack; constructor(); /** * Loads the modal components ahead of the first `open()`. After it resolves, `open()` renders * synchronously; tests await it before asserting on the DOM. * @returns Resolves once the components are loaded. */ preload(): Promise; open(config: ModalConfig): MnModalRef; /** * Creates the shell for a modal, stacks it on top of any open modal and attaches it to the app. * @param ui The loaded modal components. * @param modalRef The ref returned from `open()`. * @param workingConfig The mutable config shared by the ref and the shell. */ private render; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export { MnModalService };