import { GetClasses } from '../../typeUtils'; import * as React from 'react'; import { NotificationStatusType } from '../_private/notificationTypes'; export declare const SnackbarStylesKey = "ChromaSnackbar"; export declare const useStyles: (props?: any) => import("@mui/styles").ClassNameMap<"title" | "root" | "icon" | "infoModifier" | "errorModifier" | "warningModifier" | "successModifier" | "closeButton">; export declare type SnackbarClasses = GetClasses; export interface SnackbarProps { duration?: number; children?: React.ReactNode; className?: string; icon?: React.MemoExoticComponent<(props: React.SVGProps) => JSX.Element>; isOpen?: boolean; allowDismiss?: boolean; onClose?: () => void; role?: 'alert' | 'status'; statusType?: NotificationStatusType; title?: string; } /** * The Snackbar is used to show alerts and give feedback to users after an action * has happened. Currently, it only supports one Snackbar displayed at a time. For * mobile users, the Snackbar will be anchored to the bottom. * * ### Accessibility * * - The Snackbar has `role` set to either `alert` or `status`. * - The Snackbar has `aria-live` set to either `assertive` or `polite`. * - The Snackbar icon has `role="img"` and `aria-hidden`. * * ### Links * * - [Component Source](https://github.com/lifeomic/chroma-react/blob/master/src/components/Snackbar/Snackbar.tsx) * - [Story Source](https://github.com/lifeomic/chroma-react/blob/master/stories/components/Snackbar/Snackbar.stories.tsx) */ export declare const Snackbar: React.FC;