import React, { ErrorInfo } from 'react'; interface ErrorBoundaryProps { } interface ErrorBoundaryState { error: Error | null; errorInfo: ErrorInfo | null; } export declare class ErrorBoundary extends React.Component { constructor(props: ErrorBoundaryProps); componentDidCatch(error: Error, errorInfo: ErrorInfo): void; render(): {} | null | undefined; } export {};