import React from 'react'; export declare type ErrorState = { hasError: boolean; }; declare type Props = { children: React.ReactNode; }; export declare class ErrorBoundary extends React.Component { constructor(props: Props); static getDerivedStateFromError(): { hasError: boolean; }; componentDidCatch(error: Error, errorInfo: React.ErrorInfo): void; render(): React.ReactNode; } export declare const eb: (Component: React.ComponentType) => React.FC; export {};