import { default as React, Component, ReactNode, ErrorInfo } from 'react'; interface Props { children: ReactNode; fallback?: ReactNode; onError?: (error: Error, errorInfo: ErrorInfo) => void; maxRetries?: number; retryDelay?: number; componentName?: string; showRetryButton?: boolean; } interface State { hasError: boolean; error: Error | null; errorInfo: ErrorInfo | null; retryCount: number; isRetrying: boolean; lastErrorTime: number; } export declare class LazyErrorBoundary extends Component { private retryTimer; constructor(props: Props); static getDerivedStateFromError(error: Error): Partial; componentDidCatch(error: Error, errorInfo: ErrorInfo): void; private sendErrorToMonitoring; private handleRetry; private handleReload; componentWillUnmount(): void; render(): string | number | bigint | boolean | Iterable | Promise> | Iterable | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined; } /** * HOC for wrapping lazy components with error boundary */ export declare function withLazyErrorBoundary

(Component: React.ComponentType

, errorBoundaryProps?: Omit): { (props: P): import("react/jsx-runtime").JSX.Element; displayName: string; }; /** * Specialized error boundary for network-related lazy loading errors */ export declare class NetworkErrorBoundary extends LazyErrorBoundary { static getDerivedStateFromError(error: Error): Partial; } /** * Hook for programmatic error boundary usage */ export declare function useErrorRecovery(): { errorRecoveryCount: number; triggerErrorRecovery: () => void; }; /** * Global error boundary for the entire lazy loading system */ export declare function GlobalLazyErrorBoundary({ children }: { children: ReactNode; }): import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=ErrorBoundaryLazy.d.ts.map