import { Component, type ReactNode } from 'react'; interface ErrorBoundaryProps { children: ReactNode; } interface ErrorBoundaryState { hasError: boolean; } export declare class GracefulDegradeBoundary extends Component { private rootHtml; private htmlAttributes; private htmlRef; constructor(props: ErrorBoundaryProps); static getDerivedStateFromError(_: unknown): ErrorBoundaryState; componentDidMount(): void; render(): string | number | bigint | boolean | Iterable | Promise> | import("react").ReactPortal | Iterable | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined; } export default GracefulDegradeBoundary;