import type { ComponentType, ErrorInfo, ForwardedRef, PropsWithChildren } from "react";
interface ErrorBoundaryProps extends PropsWithChildren {
    onError?: (errorInfo: ErrorInfo) => void;
    errorComponent?: ComponentType;
    message?: string;
    forwardedRef?: ForwardedRef<HTMLDivElement>;
}
declare const _default: (props: ErrorBoundaryProps & import("react").RefAttributes<HTMLDivElement>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | null;
export default _default;
