import { Component, ErrorInfo, ReactNode } from 'react'; interface Props { children: ReactNode; } interface State { hasError: boolean; error: Error | null; } /** * Error boundary that wraps the editor content area. * Catches render errors in children and displays a fallback UI with a retry button. * Logs errors with [TiptapEditor] prefix for debugging. */ export declare class EditorErrorBoundary extends Component { state: State; static getDerivedStateFromError(error: Error): Partial; componentDidCatch(error: Error, errorInfo: ErrorInfo): void; handleRetry: () => void; render(): string | number | bigint | boolean | Iterable | Promise> | Iterable | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined; } export {};