import { Component, ErrorInfo, ReactNode } from 'react'; interface Props { children?: ReactNode; onRetry?: () => void; fallback?: ReactNode; } interface State { hasError: boolean; error: Error | null; } export declare class ErrorBoundary extends Component { state: State; static getDerivedStateFromError(error: Error): State; componentDidCatch(error: Error, errorInfo: ErrorInfo): void; private handleRetry; render(): string | number | bigint | boolean | Iterable | Promise> | Iterable | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined; } export {}; //# sourceMappingURL=error-boundary.d.ts.map