import { Ref } from 'vue'; export type PopupType = 'popup' | 'dialog' | 'message'; export type UsePopupManagerOption = { visible?: Ref; runOnMounted?: boolean; }; export declare class PopupManager { private popupStack; private getNextZIndex; add(type: PopupType): number; remove(zIndex: number, type: PopupType): void; isLastDialog(zIndex: number): boolean; } export declare const usePopupManager: (type: PopupType, { visible, runOnMounted }: UsePopupManagerOption) => { zIndex: Readonly>; open: () => void; close: () => void; isLastDialog: () => boolean; };