import * as React from 'react'; import { StandardProps } from '..'; import { SnackbarContentProps } from '.'; import { TransitionHandlerProps, TransitionProps } from '../transitions/transition'; export type SnackBarOrigin = { horizontal?: 'left' | 'center' | 'right' | number; vertical?: 'top' | 'center' | 'bottom' | number; }; export interface SnackbarProps extends StandardProps< React.HTMLAttributes & Partial, SnackbarClassKey > { action?: React.ReactElement | React.ReactElement[]; anchorOrigin?: SnackBarOrigin; autoHideDuration?: number; disableWindowBlurListener?: boolean; message?: React.ReactElement; onClose?: (event: React.SyntheticEvent, reason: string) => void; onMouseEnter?: React.MouseEventHandler; onMouseLeave?: React.MouseEventHandler; open: boolean; resumeHideDuration?: number; SnackbarContentProps?: Partial; transition?: React.ReactType; transitionDuration?: TransitionProps['timeout']; } export type SnackbarClassKey = | 'root' | 'anchorTopCenter' | 'anchorBottomCenter' | 'anchorTopRight' | 'anchorBottomRight' | 'anchorTopLeft' | 'anchorBottomLeft'; declare const Snackbar: React.ComponentType; export default Snackbar;