import { Component, ReactNode } from 'react'; type Props = { children?: ReactNode; }; type State = { hasError: boolean; errorMessage?: string; }; export declare class ErrorBoundary extends Component { state: State; static getDerivedStateFromError(error: Error): State; componentDidCatch(error: Error): void; componentDidUpdate(): void; render(): string | number | bigint | boolean | Iterable | Promise> | Iterable | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined; } export {};