export default ErrorBoundary;
declare class ErrorBoundary extends React.Component<any, any, any> {
    static getDerivedStateFromError(error: any): {
        hasError: boolean;
        error: any;
    };
    constructor(props: any);
    state: {
        hasError: boolean;
        errorLabel: null;
        errorDetails: null;
    };
    componentDidCatch(errorLabel: any, errorDetails: any): void;
    render(): any;
}
declare namespace ErrorBoundary {
    export { IntlContext as contextType };
}
import React from "react";
import { IntlContext } from "../contexts/IntlContextProvider";
