export interface MessageOptions { content: string; type?: 'success' | 'error' | 'info' | 'warning'; duration?: number; key?: string; } declare class MessageService { private _container; private _instances; private _maxCount; private _idCounter; private getContainer; private generateId; private getMessageKey; private removeOldestMessage; private removeMessage; private create; success(content: string | MessageOptions, duration?: number): void; error(content: string | MessageOptions, duration?: number): void; info(content: string | MessageOptions, duration?: number): void; warning(content: string | MessageOptions, duration?: number): void; clear(): void; remove(key: string): void; setMaxCount(count: number): void; destroy(): void; } export declare const Message: MessageService; export {};