import React from 'react'; /** * The boundary itself must stay a class (getDerivedStateFromError / * componentDidCatch), so `t` is injected by this thin function wrapper rather * than the withTranslation HOC: under pnpm's nested layout the HOC's inferred * return type can't be named portably, which fails declaration emit (TS2742). * Errors from children still land on the inner class - it is the boundary. */ declare const ErrorBoundary: (props: any) => React.JSX.Element; export default ErrorBoundary; //# sourceMappingURL=ErrorBoundary.d.ts.map