import { default as React } from 'react'; import { GlobalCaptureException } from '../../core'; export interface ErrorProps { children?: React.ReactNode; onCaptureException?: GlobalCaptureException; } export interface ErrorState { hasError: boolean; } declare class ErrorBoundary extends React.Component { state: ErrorState; componentDidCatch(error: Error, errorInfo: React.ErrorInfo): void; static getDerivedStateFromError(): ErrorState; render(): string | number | bigint | boolean | Iterable | Promise> | Iterable | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined; } export default ErrorBoundary;