import * as React from 'react'; type State = { hasError: boolean; componentStack?: string; error?: Error; }; export default class ErrorCatcher extends React.Component<{ children: React.ReactNode; }, State> { constructor(props: { children: React.ReactNode; }); static getDerivedStateFromError(_error: Error): { hasError: boolean; }; componentDidCatch(error: Error, errorInfo: React.ErrorInfo): void; render(): string | number | bigint | boolean | Iterable | Promise> | Iterable> | import("react/jsx-runtime").JSX.Element; } export {}; //# sourceMappingURL=error-catcher.d.ts.map