import React from 'react'; import type { EnhancedErrorDNA } from '../core/types'; interface ErrorBoundaryProps { children: React.ReactNode; fallback?: React.ReactNode; } interface ErrorBoundaryState { hasError: boolean; error?: Error; errorInfo?: React.ErrorInfo; errorDNA?: EnhancedErrorDNA; } export declare class ErrorBoundary extends React.Component { private errorDNAGenerator; constructor(props: ErrorBoundaryProps); static getDerivedStateFromError(error: Error): { hasError: boolean; error: Error; }; componentDidCatch(error: Error, errorInfo: React.ErrorInfo): Promise; render(): string | number | boolean | Iterable | React.JSX.Element | null | undefined; } export {};