import type { DialogInstance, DialogOptions, MessageInfoOptions, MessageInstance, NotificationInstance, NotificationOptions, TNode } from 'tdesign-vue-next'; interface QdDialogOptions extends Omit { onConfirm?: (context: { e: MouseEvent | KeyboardEvent; }) => void | Promise | boolean | Promise; hideOnDeactivated?: boolean; } export declare function useModal(): { messageOptionsMerge: (content: string | MessageInfoOptions) => MessageInfoOptions; messageCore: (theme: "info" | "success" | "warning" | "error" | "loading", content: string | MessageInfoOptions, duration?: number) => Promise; msg: (content: string | MessageInfoOptions, duration?: number) => Promise; msgSuccess: (content: string | MessageInfoOptions, duration?: number) => Promise; msgError: (content: string | MessageInfoOptions, duration?: number) => Promise; msgWarning: (content: string | MessageInfoOptions, duration?: number) => Promise; msgLoading: (content: string | MessageInfoOptions, duration?: number) => Promise; msgClose: (options: Promise) => void; msgCloseAll: () => void; alertOptionsMerge: (body: string | DialogOptions) => QdDialogOptions; alertCore: (theme: "default" | "info" | "success" | "error" | "warning", content: string | QdDialogOptions) => DialogInstance; alert: (content: string | DialogOptions) => DialogInstance; alertSuccess: (content: string | DialogOptions) => DialogInstance; alertError: (content: string | DialogOptions) => DialogInstance; alertWarning: (content: string | DialogOptions) => DialogInstance; notifyOptionsMerge: (content: string | TNode | NotificationOptions) => NotificationOptions; notifyCore: (theme: "info" | "success" | "error" | "warning", content: string | TNode | NotificationOptions) => Promise; notify: (content: string | TNode | NotificationOptions) => Promise; notifySuccess: (content: string | TNode | NotificationOptions) => Promise; notifyError: (content: string | TNode | NotificationOptions) => Promise; notifyWarning: (content: string | TNode | NotificationOptions) => Promise; notifyClose: (options: Promise) => void; notifyCloseAll: () => void; confirm: (options: string | Pick, onConfirm?: (context: { e: MouseEvent | KeyboardEvent; }) => void | Promise | boolean | Promise, onClose?: () => void) => DialogInstance; dialogCloseAll: () => void; }; export {};