import { MessageOption } from './types'; /** * 插入消息 * @param id 消息id * @param content 消息内容 * @param type 消息类型 */ declare function insertMessage(msg: Required): void; /** * 删除消息 * @param id 消息id */ declare function removeMessage(id: string): void; declare function updateMessage(id: string, message: MessageOption): void; /** * 删除所有消息 */ declare function removeAllMessages(): void; declare const __VLS_export: import('vue').DefineComponent<{}, { insertMessage: typeof insertMessage; removeMessage: typeof removeMessage; removeAllMessages: typeof removeAllMessages; updateMessage: typeof updateMessage; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { empty: (...args: any[]) => void; }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{ onEmpty?: ((...args: any[]) => any) | undefined; }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>; declare const _default: typeof __VLS_export; export default _default;