import React from "react"; interface ErrorBoundaryState { hasError: boolean; error?: Error; } export declare class ErrorBoundary extends React.Component<{ children: React.ReactNode; title: string; }, ErrorBoundaryState> { constructor(props: { children: React.ReactNode; title: string; }); static getDerivedStateFromError(error: Error): ErrorBoundaryState; componentDidCatch(error: Error, errorInfo: React.ErrorInfo): void; render(): string | number | bigint | boolean | Iterable | Promise> | Iterable | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined; } export {}; //# sourceMappingURL=error-boundary.d.ts.map