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