import { Component, type ErrorInfo, type PropsWithChildren } from 'react'; type Props = { fallBackComponent?: React.ReactNode; }; export declare class ErrorBoundary extends Component, { hasError: boolean; }> { constructor(props: PropsWithChildren); componentDidCatch(error: Error, errorInfo: ErrorInfo): void; render(): string | number | boolean | Iterable | import("react/jsx-runtime").JSX.Element | null | undefined; } export {};