import React, { CSSProperties, HTMLAttributes, ReactNode } from 'react';
import { WithRef } from '../utils/type';
export declare type NotificationType = 'info' | 'error' | 'success' | 'warning';
export declare type NotificationProps = {
/**
* @default info
*/
type?: NotificationType;
message: ReactNode;
/**
* 是否可以关闭
* @default true
*/
closable?: boolean;
onClose?(): void;
className?: string;
style?: CSSProperties;
/**
* 根元素的 html 属性
*/
rootHtmlProps?: WithRef, HTMLDivElement>;
};
export default function Notification(props: NotificationProps): React.JSX.Element | null;