import React from "react";
/**
 * @description
 * This error boundary component refreshes the webpage if chunk loading error received due to code splitting after deploying a new version of react app.
 * For reference, see this article: https://mitchgavan.com/code-splitting-react-safely/
 */
type State = {
    hasError: boolean;
};
export declare function getWithExpiry(key: string): any;
export default class ErrorBoundary extends React.Component<{
    children?: React.ReactNode;
}, State> {
    constructor(props: any);
    static getDerivedStateFromError(error: any): {
        hasError: boolean;
    } | undefined;
    componentDidCatch(error: any, errorInfo: any): void;
    render(): React.ReactNode;
}
export {};
//# sourceMappingURL=ErrorBoundary.d.ts.map