import * as React from "react";
export default class ErrorBoundary extends React.Component<{
    children: React.ReactElement;
}, {
    hasError: boolean;
}> {
    constructor(props: any);
    static getDerivedStateFromError(): {
        hasError: boolean;
    };
    componentDidCatch(): void;
    render(): React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
}
