export type MessageEmits = {
    (e: 'closed'): void;
};
export interface MessageHandler {
    confirm?: (data?: any) => boolean | Promise<boolean>;
    cancel?: () => boolean | Promise<boolean>;
}
export interface MessageProps {
    request?: (data: any) => Promise<any>;
    data?: any;
    handler?: MessageHandler;
    onClose?: () => void;
    onDestroy?: () => void;
}
