import * as React from 'react';
export default class ErrorBoundary extends React.Component<React.PropsWithChildren> {
    state: {
        hasError: boolean;
        error: {
            message: string;
        };
    };
    componentDidCatch(error: Error): void;
    render(): string | number | boolean | Iterable<React.ReactNode> | React.JSX.Element | null | undefined;
}
