import type { ModalFunc, ModalFuncProps } from 'ant-design-vue/lib/modal/Modal';
import type { ConfigProps, NotificationArgsProps } from 'ant-design-vue/lib/notification';
export interface NotifyApi {
    info(config: NotificationArgsProps): void;
    success(config: NotificationArgsProps): void;
    error(config: NotificationArgsProps): void;
    warn(config: NotificationArgsProps): void;
    warning(config: NotificationArgsProps): void;
    open(args: NotificationArgsProps): void;
    close(key: string): void;
    config(options: ConfigProps): void;
    destroy(): void;
}
export declare type NotificationPlacement = 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight';
export declare type IconType = 'success' | 'info' | 'error' | 'warning';
export interface ModalOptionsEx extends Omit<ModalFuncProps, 'iconType'> {
    iconType: 'warning' | 'success' | 'error' | 'info';
}
export declare type ModalOptionsPartial = Partial<ModalOptionsEx> & Pick<ModalOptionsEx, 'content'>;
interface ConfirmOptions {
    info: ModalFunc;
    success: ModalFunc;
    error: ModalFunc;
    warn: ModalFunc;
    warning: ModalFunc;
}
/**
 * @description: Create confirmation box
 */
declare function createConfirm(options: ModalOptionsEx): ConfirmOptions;
declare function createSuccessModal(options: ModalOptionsPartial): any;
declare function createErrorModal(options: ModalOptionsPartial): any;
declare function createInfoModal(options: ModalOptionsPartial): any;
declare function createWarningModal(options: ModalOptionsPartial): any;
/**
 * @description: message
 */
export declare function useMessage(): {
    createMessage: import("ant-design-vue/lib/message").MessageApi;
    notification: NotifyApi;
    createConfirm: typeof createConfirm;
    createSuccessModal: typeof createSuccessModal;
    createErrorModal: typeof createErrorModal;
    createInfoModal: typeof createInfoModal;
    createWarningModal: typeof createWarningModal;
};
export {};
