import * as React from 'react'; export declare class ErrorBoundary extends React.Component, { error?: Error; }> { constructor(props: React.PropsWithChildren); componentDidCatch(error: Error, errorInfo: React.ErrorInfo): void; render(): string | number | bigint | boolean | Iterable | Promise> | Iterable | null | undefined> | React.JSX.Element | null | undefined; } //# sourceMappingURL=ErrorBoundary.d.ts.map