import { Component, PropsWithChildren } from 'react'; import { ErrorBoundaryState } from './types'; import { ErrorBoundaryContext } from './ErrorBoundaryContext'; export declare abstract class ErrorBoundaryBase extends Component, ErrorBoundaryState> { static contextType: import("react").Context; context: React.ContextType; static getDerivedStateFromError(error: Error): { error: Error; hasError: boolean; }; renderOrError(children: T, { isDynamicSdkError }: { isDynamicSdkError: boolean; }): T | JSX.Element; }