import React from 'react'; import type { ReactNode, FunctionComponent } from 'react'; import type { DefaultProps } from '../../types'; import type { TransitionProps } from '@mui/material/transitions'; export interface SnackBarProps extends DefaultProps { autoHide?: number; message: ReactNode; open: boolean; action?: ReactNode; icon?: ReactNode; variant?: 'success' | 'warning' | 'error' | 'info'; transitionDuration?: number | { enter: number; exit: number; }; anchorOrigin?: { horizontal: 'left' | 'center' | 'right'; vertical: 'top' | 'bottom'; }; TransitionProps?: TransitionProps; TransitionComponent?: FunctionComponent; onClose?(): void; onClick?(): void; } declare const SnackBar: (props: SnackBarProps) => React.JSX.Element; export default SnackBar;