import { Component } from 'react'; declare type props = {}; declare type state = { hasError: boolean; error: string; info: any; }; export default class ErrorBoundary extends Component { static getDerivedStateFromError(): { hasError: boolean; }; constructor(props: any); componentDidCatch(error: any, info: any): void; render(): {}; } export {};