import * as React from 'react'; export interface Props { message?: string; } export interface State { hasError: boolean; } export declare class ErrorBoundary extends React.Component { static defaultProps: Props; constructor(props: any); static getDerivedStateFromError(): { hasError: boolean; }; componentDidCatch(error: any, errorInfo: any): void; render(): React.ReactNode; }