import React from "react"; import "./notification.scss"; declare type CommonProps = JSX.IntrinsicElements["div"] & { /** Automatic dismissal timeout in milliseconds (default: `5000`) */ dismissTimeout?: number; /** Callback when notification is dismissed */ onDismiss?: (e: React.MouseEvent | Event) => void; /** Persist notification until dismissed (default: `false`) */ persist?: boolean; /** Notification theme */ theme?: "purple" | "primary" | "danger" | "success" | "warning" | "inverted"; /** Property sets whether the notification is toggled */ toggle?: boolean; /** content wrapper props */ contentWrapperProps?: JSX.IntrinsicElements["div"]; }; interface SlideNotification extends CommonProps { /** Notification type: `slide` */ type?: "slide"; /** Notification position: `bottom-left` | `bottom-right` | `top-left` | `top-right` */ position?: "bottom-left" | "bottom-right" | "top-left" | "top-right"; } interface BarNotification extends CommonProps { /** Notification type: `bar` */ type?: "bar"; /** Notification position: `top` | `bottom` */ position?: "top" | "bottom"; } export declare type NotificationProps = SlideNotification | BarNotification; /** An alert which pops up on the page to inform the user of an event which occured and optionally provide actions to perform. */ export declare const Notification: React.FC; export {};