import { ComponentPublicInstance } from 'vue';
import { MessageParamsT } from './types';
export declare function useMessage(target: string | ComponentPublicInstance | HTMLElement | null): {
    info: (params: MessageParamsT) => Promise<void>;
    success: (params: MessageParamsT) => Promise<void>;
    warning: (params: MessageParamsT) => Promise<void>;
    danger: (params: MessageParamsT) => Promise<void>;
    loading: (params: MessageParamsT) => Promise<void>;
    show: (params: MessageParamsT) => Promise<void>;
    close: () => void;
    closeAll: () => void;
};
