import * as react from 'react'; import { Component, ReactNode } from 'react'; import * as react_jsx_runtime from 'react/jsx-runtime'; interface BlockErrorBoundaryProps { blockType: string; blockId: string; editMode?: boolean; children?: ReactNode; } interface BlockErrorBoundaryState { failed: boolean; error: unknown; } declare class BlockErrorBoundary extends Component { state: BlockErrorBoundaryState; static getDerivedStateFromError(error: unknown): BlockErrorBoundaryState; componentDidCatch(error: unknown): void; render(): string | number | bigint | boolean | react_jsx_runtime.JSX.Element | Iterable | Promise> | Iterable | null | undefined> | null | undefined; } export { BlockErrorBoundary, type BlockErrorBoundaryProps };