import { INotificationOpened } from '@rc-hooks/notification';
import { IMessage, IMessageProps, Message, MessageType } from './Message';
export interface IMessageOptions extends Omit<IMessage, 'shadow'> {
    duration?: number;
    key?: string;
}
export declare type IMessageOpened = INotificationOpened;
export declare const message: {
    success(content: string | Pick<IMessageOptions, "content" | "icon" | "key" | "onClose" | "duration" | "showIcon" | "hasClose">): INotificationOpened;
    error(content: string | Pick<IMessageOptions, "content" | "icon" | "key" | "onClose" | "duration" | "showIcon" | "hasClose">): INotificationOpened;
    info(content: string | Pick<IMessageOptions, "content" | "icon" | "key" | "onClose" | "duration" | "showIcon" | "hasClose">): INotificationOpened;
    warning(content: string | Pick<IMessageOptions, "content" | "icon" | "key" | "onClose" | "duration" | "showIcon" | "hasClose">): INotificationOpened;
    loading(content: string | Pick<IMessageOptions, "content" | "icon" | "key" | "onClose" | "duration" | "showIcon" | "hasClose">): INotificationOpened;
    open(conf: IMessageOptions): INotificationOpened;
    close(key: string): void;
    closeAll(filter?: ((options: IMessageOptions) => boolean) | undefined): void;
};
export { Message, IMessage, IMessageProps, MessageType };
