import { HtmlHTMLAttributes, ErrorInfo } from 'react'; import PropTypes from 'prop-types'; declare const Error: { (props: ErrorProps): JSX.Element; propTypes: { className: PropTypes.Requireable; error: PropTypes.Validator; errorInfo: PropTypes.Requireable; title: PropTypes.Requireable; }; }; export interface ErrorProps extends HtmlHTMLAttributes { className?: string; error: Error; errorInfo?: ErrorInfo; title?: string; } export default Error;