import { DialogProps, DrawerProps, ElMessageBoxOptions, LoadingOptions, MessageParams, NotificationParams } from 'element-plus';
declare const popup: {
    createModal(component: Component | Promise<Component | {
        default: Component;
    }>, params?: Record<string, any>, config?: Partial<DialogProps & {
        id?: string;
        showFooter?: boolean;
        footerPosition?: 'right' | 'left' | 'center';
        cancelText?: string;
        confirmText?: string;
        onBeforeClose?: (res: any) => boolean;
    }>): Promise<unknown>;
    createDrawer(component: Component | Promise<Component | {
        default: Component;
    }>, params?: Record<string, any>, config?: Partial<DrawerProps & {
        id?: string;
        showFooter?: boolean;
        footerPosition?: 'right' | 'left' | 'center';
        cancelText?: string;
        confirmText?: string;
        onBeforeClose?: (res: any) => boolean;
    }>): Promise<unknown>;
    close(id: string): void;
    confirm(content: string | VNode | void, config?: Partial<ElMessageBoxOptions>): Promise<unknown>;
    message: (config: MessageParams) => import('element-plus').MessageHandler;
    info: (config: string | MessageParams) => import('element-plus').MessageHandler;
    success: (config: string | MessageParams) => import('element-plus').MessageHandler;
    warning: (config: string | MessageParams) => import('element-plus').MessageHandler;
    error: (config: string | MessageParams) => import('element-plus').MessageHandler;
    notify: (config: NotificationParams) => import('element-plus').NotificationHandle;
    inf: (config: string | Partial<NotificationParams>) => import('element-plus').NotificationHandle;
    succ: (config: string | NotificationParams) => import('element-plus').NotificationHandle;
    warn: (config: string | NotificationParams) => import('element-plus').NotificationHandle;
    err: (config: string | NotificationParams) => import('element-plus').NotificationHandle;
    loading: (config: LoadingOptions) => {
        setText: (text: string) => void;
        removeElLoadingChild: () => void;
        close: () => void;
        handleAfterLeave: () => void;
        vm: globalThis.ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import('vue').ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import('vue').ComponentProvideOptions>, {}, {}, "", {}, any>;
        $el: HTMLElement;
        originalPosition: globalThis.Ref<string, string>;
        originalOverflow: globalThis.Ref<string, string>;
        visible: globalThis.Ref<boolean, boolean>;
        parent: globalThis.Ref<import('element-plus').LoadingParentElement, import('element-plus').LoadingParentElement>;
        background: globalThis.Ref<string, string>;
        svg: globalThis.Ref<string, string>;
        svgViewBox: globalThis.Ref<string, string>;
        spinner: globalThis.Ref<string | boolean, string | boolean>;
        text: globalThis.Ref<string, string>;
        fullscreen: globalThis.Ref<boolean, boolean>;
        lock: globalThis.Ref<boolean, boolean>;
        customClass: globalThis.Ref<string, string>;
        target: globalThis.Ref<HTMLElement, HTMLElement>;
        beforeClose?: globalThis.Ref<(() => boolean) | undefined, (() => boolean) | undefined> | undefined;
        closed?: globalThis.Ref<(() => void) | undefined, (() => void) | undefined> | undefined;
    };
};
export default popup;
