import { AppContext } from 'vue'; import { MessageProps } from './message'; export type MessagePlacement = 'top' | 'bottom' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right'; export type MessageOptions = { placement?: MessagePlacement; } & Partial>; export type MessageReturn = { destroy: () => void; content: MessageProps['content']; type: MessageProps['type']; }; export declare const useMessage: { (_context?: AppContext): { message: { (content: MessageProps["content"], options?: MessageOptions, __context?: AppContext): MessageReturn; success(content: string | (() => import('vue').VNodeChild), options?: MessageOptions | undefined, __context?: AppContext | undefined): MessageReturn; error(content: string | (() => import('vue').VNodeChild), options?: MessageOptions | undefined, __context?: AppContext | undefined): MessageReturn; warning(content: string | (() => import('vue').VNodeChild), options?: MessageOptions | undefined, __context?: AppContext | undefined): MessageReturn; info(content: string | (() => import('vue').VNodeChild), options?: MessageOptions | undefined, __context?: AppContext | undefined): MessageReturn; loading(content: string | (() => import('vue').VNodeChild), options?: MessageOptions | undefined, __context?: AppContext | undefined): MessageReturn; }; }; _context: AppContext | null; };