import * as React from "react"; import { ReactError } from "./ReactError"; export declare type State = { error: ReactError | null; }; export declare type Props = { name?: string; onErrorElement?: React.ReactElement; onErrorPrefixElement?: React.ReactElement; }; export declare class ErrorBoundary extends React.Component { state: State; componentDidCatch(error: Error, errorInfo: React.ErrorInfo): void; render(): {} | null | undefined; } //# sourceMappingURL=ErrorBoundary.d.ts.map