import { DbxPopupKey, DbxPopupController } from './popup';
import { OnDestroy } from '@angular/core';
import * as i0 from "@angular/core";
/**
 * Used for coordinating popups and closing/replacing existing ones when a new popup of the same name appears.
 */
export declare class DbxPopupCoordinatorService implements OnDestroy {
    private readonly _popups;
    readonly popups$: import("rxjs").Observable<Map<string, DbxPopupController<unknown, unknown>>>;
    ngOnDestroy(): void;
    get popups(): Map<DbxPopupKey, DbxPopupController>;
    addPopup(popup: DbxPopupController): void;
    removePopup(key: DbxPopupKey, popup?: DbxPopupController): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<DbxPopupCoordinatorService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<DbxPopupCoordinatorService>;
}
