import DialogDefinition from './dialog-definition';
declare class DialogList {
    list: DialogDefinition[];
    private currentRef;
    constructor();
    setCurrent(): void;
    get current(): DialogDefinition | null;
    push(dialogDef: DialogDefinition, existingDialogId?: number): number;
    getDialogFromId(id: number): DialogDefinition | null;
    pop(existingDialogId: number): void;
    isCurrentDialogPromise(promise: Promise<any>): boolean;
    getDialogDefFromPromise(promise: Promise<any>): DialogDefinition | undefined;
}
declare const dialogList: DialogList;
export { DialogDefinition };
export default dialogList;
//# sourceMappingURL=modal-view-list.d.ts.map