import type { Ref } from 'vue';
export declare function usePopup(): {
    popupProps: Ref<popupProps>;
    showPopup: (componentName: any, callback?: () => void) => void;
    hidePopup: () => void;
    handlePopupEvent: (eventHandlers: eventHandlers, event: popEvent) => void;
};
declare type popupProps = {
    isShow: boolean;
    popupComponentName: any;
    [key: string]: any;
};
declare type eventHandlers = {
    [key: string]: (...params: any) => void;
};
declare type popEvent = {
    type: string;
    params?: {
        [key: string]: any;
    };
};
export {};
