import React from 'react'; interface ErrorBoundaryProps { children: React.ReactNode; fallback: React.ComponentType<{ error: Error | null; errorInfo: React.ErrorInfo | null; retry: () => void; }>; } interface ErrorBoundaryState { hasError: boolean; error: Error | null; errorInfo: React.ErrorInfo | null; } declare class ErrorBoundary extends React.Component { constructor(props: ErrorBoundaryProps); static getDerivedStateFromError(error: Error): Partial; componentDidCatch(error: Error, errorInfo: React.ErrorInfo): void; render(): string | number | boolean | Iterable | import("react/jsx-runtime").JSX.Element | null | undefined; } export default ErrorBoundary;