import React, { ReactNode } from 'react'; import { BaseProps } from '../_utils/props'; export declare type NotificationType = 'success' | 'error' | 'warning' | 'info' | undefined; export interface NotificationProps extends BaseProps { type: NotificationType; title?: ReactNode; description?: ReactNode; footer?: ReactNode; onClick?: (e: React.MouseEvent) => void; onClose?: (e: React.MouseEvent) => void; icon?: ReactNode | boolean; willUnmount: (height: number) => void; didMount: () => void; duration?: number; children?: React.ReactNode; } declare const Notification: (props: NotificationProps) => JSX.Element; export default Notification;