import { ComponentFactoryResolver, TemplateRef } from '@angular/core';
import { ModalStack } from './modal-stack';
import { ModalRef } from './modal-ref';
import { LuxModalOptions } from './modal-config';
import * as i0 from "@angular/core";
/**
 * A service that it allow open an close modal components
 */
export declare class ModalService {
    private modalStack;
    private moduleCFR;
    constructor(modalStack: ModalStack, moduleCFR: ComponentFactoryResolver);
    /**Open a modal component
     * @param content TemplateRef
     */
    open(content: TemplateRef<any>, options?: LuxModalOptions): ModalRef;
    static ɵfac: i0.ɵɵFactoryDeclaration<ModalService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<ModalService>;
}
