import * as React from 'react'; interface Props { } declare class ErrorBoundary extends React.Component { state: { hasError: boolean; }; constructor(props: Props); static getDerivedStateFromError(error: Error): { hasError: boolean; }; componentDidCatch(error: Error, errorInfo: any): void; render(): {} | null | undefined; } export default ErrorBoundary;