import { Component, ErrorInfo } from 'react'; import { ErrorBoundaryProps, ErrorBoundaryState } from "./errorBoundary.types"; declare class ErrorBoundary extends Component { constructor(props: ErrorBoundaryProps); static getDerivedStateFromError(): ErrorBoundaryState; componentDidCatch(error: Error, errorInfo: ErrorInfo): void; render(): import("react").ReactNode; } export default ErrorBoundary;