import React from 'react'; import { ErrorBoundaryPropsWithRender } from 'react-error-boundary'; export declare type ErrorBoundaryProps = { children: React.ReactNode; componentStack: string; } & Partial; export declare const ErrorBoundary: ({ children, ...rest }: ErrorBoundaryProps) => JSX.Element;