import React from "react"; import { Exception } from "../Exception"; interface Props { render: (exception: Exception) => React.ReactElement | null; children: React.ReactNode; } interface State { exception: Exception | null; } export declare class ErrorBoundary extends React.PureComponent { static displayName: string; static defaultProps: Pick; constructor(props: Props); componentDidCatch(error: Error, errorInfo: React.ErrorInfo): void; render(): string | number | bigint | true | React.ReactElement> | Iterable | Promise> | Iterable | null | undefined> | null; } export {}; //# sourceMappingURL=ErrorBoundary.d.ts.map