import { type AppContext, type ComponentInternalInstance, type VNode } from 'vue';
import type { MessageProps } from './message';
export interface MessageOptions extends Omit<MessageProps, 'onClose'> {
    onClose?: () => void;
}
export interface MessageHandler {
    close: () => void;
}
export interface MessageContext {
    id: string;
    vnode: VNode;
    vm: ComponentInternalInstance;
    handler: MessageHandler;
    props: MessageProps;
}
export type MessageParamsNormalized = MessageOptions & {
    appendTo: HTMLElement;
};
declare const message: {
    (options?: MessageOptions, handler?: any, context?: AppContext | null): MessageHandler;
    closeAll(): void;
};
export default message;
