import { Component, PropsWithChildren } from 'react'; interface ErrorBoundaryState { hasError: boolean; heading: string | null; message: string | null; } export declare class ErrorBoundary extends Component { constructor(props: PropsWithChildren); static getDerivedStateFromError(error: Error | unknown): { hasError: boolean; heading: string; message: string; }; render(): string | number | boolean | Iterable | import("@emotion/react/jsx-runtime").JSX.Element | null | undefined; } export {};