import * as react_jsx_runtime from 'react/jsx-runtime'; import React__default, { ReactNode } from 'react'; interface ErrorBoundaryProps { children: ReactNode; fallback?: ReactNode; } interface ErrorBoundaryState { hasError: boolean; error: Error | null; } declare class ErrorBoundary extends React__default.Component { constructor(props: ErrorBoundaryProps); static getDerivedStateFromError(error: Error): ErrorBoundaryState; componentDidCatch(error: Error, errorInfo: React__default.ErrorInfo): void; render(): string | number | boolean | react_jsx_runtime.JSX.Element | Iterable | null | undefined; } export { ErrorBoundary as default };