import * as React from 'react'; interface Props { info?: string | React.ElementType; children: any; } interface State { hasError: boolean; } export default class ErrorBoundary extends React.Component { constructor(props: Readonly); componentDidCatch(): void; goBack: () => void; goHome: () => void; render(): any; } export {};