import React, { ErrorInfo, PropsWithChildren } from "react"; export declare class ErrorBoundary extends React.Component, { hasError: boolean; }> { constructor(props: any); static getDerivedStateFromError(error: Error): { hasError: boolean; }; componentDidCatch(error: Error, errorInfo: ErrorInfo): void; render(): string | number | boolean | import("@emotion/react/jsx-runtime").JSX.Element | React.ReactFragment | null | undefined; }