import React, { Component, ErrorInfo } from 'react'; import { ErrorBoundaryProps, ErrorBoundaryState } from '../types'; export declare class ErrorBoundary extends Component { state: ErrorBoundaryState; static getDerivedStateFromError(error: Error): ErrorBoundaryState; componentDidCatch(error: Error, errorInfo: ErrorInfo): void; private handleReset; private handleCopyTrace; render(): string | number | bigint | boolean | Iterable | Promise> | Iterable> | React.JSX.Element; } export default ErrorBoundary;