import React from "react"; import PropTypes from "prop-types"; interface ReportErrorProps { children: React.ReactNode; } interface ReportErrorState { hasError: boolean; error: { message: string; stack: string; }; info: { componentStack: string; }; } export declare class ReportError extends React.Component { state: { hasError: boolean; error: { message: string; stack: string; }; info: { componentStack: string; }; }; static getDerivedStateFromError: () => { hasError: boolean; }; componentDidCatch: (error: any, info: any) => void; static propTypes: { children: PropTypes.Requireable; }; render(): string | number | boolean | Iterable | React.JSX.Element | null | undefined; } export {};