///
import { Component } from 'react';
type ErrorState = {
error: null | Error;
hasError: boolean;
};
export declare class ErrorBoundary extends Component {
state: ErrorState;
static getDerivedStateFromError(error: Error): ErrorState;
componentDidCatch(error: any, errorInfo: any): void;
render(): any;
}
export {};