import { VNodeChild, ExtractPropTypes, PropType, CSSProperties } from 'vue'; import type { ExtractPublicPropTypes } from '../../_utils'; import type { MessageOptions, MessageType } from './types'; declare type ContentType = string | (() => VNodeChild); export interface MessageApiInjection { info: (content: ContentType, options?: MessageOptions) => MessageReactive; success: (content: ContentType, options?: MessageOptions) => MessageReactive; warning: (content: ContentType, options?: MessageOptions) => MessageReactive; error: (content: ContentType, options?: MessageOptions) => MessageReactive; loading: (content: ContentType, options?: MessageOptions) => MessageReactive; destroyAll: () => void; } export interface MessageReactive { content?: ContentType; duration?: number; closable?: boolean; keepAliveOnHover?: boolean; type: MessageType; icon?: () => VNodeChild; onClose?: () => void; destroy: () => void; } export declare type MessageProviderInst = MessageApiInjection; declare const messageProviderProps: { to: PropType; duration: { type: NumberConstructor; default: number; }; keepAliveOnHover: BooleanConstructor; max: NumberConstructor; placement: { type: PropType<"bottom" | "top" | "top-left" | "top-right" | "bottom-left" | "bottom-right">; default: string; }; closable: BooleanConstructor; containerStyle: PropType; theme: PropType>; themeOverrides: PropType>>; builtinThemeOverrides: PropType>>; }; export declare type MessageProviderProps = ExtractPublicPropTypes; export declare type MessageProviderSetupProps = ExtractPropTypes; declare const _default: import("vue").DefineComponent<{ to: PropType; duration: { type: NumberConstructor; default: number; }; keepAliveOnHover: BooleanConstructor; max: NumberConstructor; placement: { type: PropType<"bottom" | "top" | "top-left" | "top-right" | "bottom-left" | "bottom-right">; default: string; }; closable: BooleanConstructor; containerStyle: PropType; theme: PropType>; themeOverrides: PropType>>; builtinThemeOverrides: PropType>>; }, { mergedClsPrefix: import("vue").ComputedRef; messageRefs: import("vue").Ref<{ [x: string]: { key: string; hide: () => void; content?: ContentType | undefined; duration?: number | undefined; closable?: boolean | undefined; keepAliveOnHover?: boolean | undefined; type: MessageType; icon?: (() => VNodeChild) | undefined; onClose?: (() => void) | undefined; destroy: () => void; }; }>; messageList: import("vue").Ref<{ key: string; content?: ContentType | undefined; duration?: number | undefined; closable?: boolean | undefined; keepAliveOnHover?: boolean | undefined; type: MessageType; icon?: (() => VNodeChild) | undefined; onClose?: (() => void) | undefined; destroy: () => void; }[]>; handleAfterLeave: (key: string) => void; } & MessageApiInjection, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly; duration: { type: NumberConstructor; default: number; }; keepAliveOnHover: BooleanConstructor; max: NumberConstructor; placement: { type: PropType<"bottom" | "top" | "top-left" | "top-right" | "bottom-left" | "bottom-right">; default: string; }; closable: BooleanConstructor; containerStyle: PropType; theme: PropType>; themeOverrides: PropType>>; builtinThemeOverrides: PropType>>; }>>, { duration: number; placement: "bottom" | "top" | "top-left" | "top-right" | "bottom-left" | "bottom-right"; closable: boolean; keepAliveOnHover: boolean; }>; export default _default;