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