import * as react_jsx_runtime from 'react/jsx-runtime'; import { ReactNode, PureComponent } from 'react'; interface ErrorBoundaryProps { errorTitle?: string; children: ReactNode; } interface ErrorBoundaryState { error?: Error; } /** * https://reactjs.org/docs/error-boundaries.html */ declare class ErrorBoundary extends PureComponent { state: ErrorBoundaryState; static getDerivedStateFromError(error: Error): ErrorBoundaryState; render(): string | number | boolean | Iterable | react_jsx_runtime.JSX.Element | null | undefined; } export { ErrorBoundary, type ErrorBoundaryProps, ErrorBoundary as default };