import { InjectionKey } from "vue"; import { MessageType } from "./message-props"; declare type ContentType = string; export interface MessageReactive { content?: ContentType; duration?: number; closable?: boolean; onClose?: () => void; destroy: () => void; } export interface MessageApiInjection { info: (content: ContentType) => void; success: (content: ContentType) => void; warning: (content: ContentType) => void; error: (content: ContentType) => void; loading: (content: ContentType) => void; create: (content: ContentType, options?: { type: MessageType; }) => void; } export declare const messageApiInjectionKey: InjectionKey; declare const _default: import("vue").DefineComponent<{}, { messageRefs: import("vue").Ref<{ [key: string]: any; }>; messageList: import("vue").Ref; handleAfterLeave: (key: string) => void; } & MessageApiInjection, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly>, {}>; export default _default;