import { Component, type ErrorInfo, type ReactNode } from "react"; interface BoundaryProps { children: ReactNode; nodeId: string; /** When this identity changes (streamed data arriving, an upgraded * payload), a latched error clears and the node re-renders — a crash on * absent mid-stream data must not survive the data. */ retryKey?: unknown; /** True while the payload is a mid-stream partial: a crash is a transient * (the node's props/data may still be rewritten before ship), so the loud * notice yields to the forming skeleton and the latch retries on every * new prefix. The notice is a verdict for FINAL payloads only. */ streaming?: boolean; } interface BoundaryState { error?: Error; } /** 08-ui §5 — one node may fail without taking its siblings with it. */ export declare class NodeErrorBoundary extends Component { state: BoundaryState; static getDerivedStateFromError(error: Error): BoundaryState; componentDidCatch(_error: Error, _info: ErrorInfo): void; componentDidUpdate(previous: BoundaryProps): void; render(): string | number | bigint | boolean | Iterable | Promise> | Iterable | null | undefined> | import("react").JSX.Element | null | undefined; } export {};