import React, { PropsWithChildren } from 'react'; interface Props { componentName?: string; } interface State { error: Error | null; } export declare class ReactBuddyErrorBoundary extends React.Component, State> { state: State; componentDidCatch(error: Error): void; componentDidUpdate(_prevProps: Props, prevState: State): void; render(): string | number | bigint | boolean | React.JSX.Element | Iterable | Promise> | Iterable | null | undefined> | null | undefined; } export {};