import { Component } from 'react'; interface IErrorBoundaryProps { children?: JSX.Element; } interface IErrorBoundaryState { isError: boolean; } export declare class ErrorBoundary extends Component { constructor(props: IErrorBoundaryProps); static getDerivedStateFromError(_: Error): { isError: boolean; }; render(): JSX.Element | undefined; } export default ErrorBoundary;