import { Component } from 'react'; import PropTypes from 'prop-types'; import DevCenterAppErrorView from './DevCenterAppErrorView'; /** @extends {Component} */ declare class ErrorBoundary extends Component { state: { hasInternalError: boolean; }; static getDerivedStateFromError(): { hasInternalError: boolean; }; componentDidCatch(error: any): void; render(): any; } declare namespace ErrorBoundary { var propTypes: { children: PropTypes.Validator>; ErrorView: PropTypes.Requireable; }; var defaultProps: { ErrorView: typeof DevCenterAppErrorView; }; } export default ErrorBoundary; //# sourceMappingURL=ErrorBoundary.d.ts.map