import React from 'react';
export declare class WidgetErrorBoundary extends React.Component<{
    widgetName: string;
    children: any;
}, {
    hasError: boolean;
    errorMessage: string;
}> {
    constructor(props: any);
    static getDerivedStateFromError(error: any): {
        hasError: boolean;
        errorMessage: string;
    };
    componentDidCatch(error: any, errorInfo: any): void;
    render(): any;
}
