import React from 'react'; import { CSS } from '../utils/objectToCss'; interface Props { id?: number | string; children?: React.ReactNode; portalTo?: HTMLElement; isOpen?: boolean; handleClose?: () => void; onClick?: (e: React.MouseEvent, id: number | string | undefined) => void; autoClose?: false | number; css?: CSS; className?: string; type?: 'success' | 'warning' | 'default' | 'error' | 'reminder' | 'ongoing'; } export type SnackbarProps = Props & Omit, keyof Props>; declare const Snackbar: any; export default Snackbar;