import { ComponentRef } from '@angular/core';
import { ModalDialogComponent } from './modal-dialog.component';
export declare class ModalDialogInstanceService {
    /**
     * Used to make sure there is exactly one instance of Modal Dialog
     */
    private componentRefs;
    /**
     * Closes existing modal dialog
     */
    closeAnyExistingModalDialog(): void;
    /**
     * Save component ref for future comparison
     * @param componentRef
     */
    saveExistingModalDialog(componentRef: ComponentRef<ModalDialogComponent>): void;
    setOverlayForTopDialog(value: boolean): void;
}
