import * as React from 'react'; type PropTypes = { children: React.ReactNode; styles: { [key: string]: any; }; chartType: string; }; declare class ErrorBoundary extends React.Component { state: { hasError: boolean; errorMessage: string; showError: boolean; }; props: PropTypes; constructor(props: PropTypes); static getDerivedStateFromError(): { hasError: boolean; }; componentDidCatch(error: Error, errorInfo: React.ErrorInfo): void; handleClick(): void; render(): string | number | bigint | boolean | React.JSX.Element | Iterable | Promise> | Iterable>; } export default ErrorBoundary;