import { VNode } from 'vue'; declare type NoticeType = 'info' | 'success' | 'error' | 'warning' | 'loading'; interface Options { type?: NoticeType; content?: VNode | string; duration?: number; onClose?: () => void; icon?: VNode; } export declare const createCloseMessage: ({ type, content, duration, onClose, icon }: Options) => void; export declare const useMessage: () => { createCloseMessage: ({ type, content, duration, onClose, icon }: Options) => void; }; export {};