import * as React from 'react'; import { StandardProps } from '..'; import { TransitionDuration, TransitionHandlers } from '../internal/transition'; export type Origin = { 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?: Origin; autoHideDuration?: number; resumeHideDuration?: number; transitionDuration?: TransitionDuration; message?: React.ReactElement; onMouseEnter?: React.MouseEventHandler; onMouseLeave?: React.MouseEventHandler; onRequestClose?: (event: React.SyntheticEvent, reason: string) => void; open: boolean; SnackbarContentProps?: Object; transition?: React.ReactType; } export type SnackbarClassKey = | 'root' | 'anchorTopCenter' | 'anchorBottomCenter' | 'anchorTopRight' | 'anchorBottomRight' | 'anchorTopLeft' | 'anchorBottomLeft' ; declare const Snackbar: React.ComponentType; export default Snackbar;