import { Component, ReactNode } from "react"; //#region src/web/lib/ToolRendererBoundary.d.ts interface ToolRendererBoundaryProps { toolName: string; /** Renders the item; `failed` is true once the plugin renderer threw, so the host item stands in. */ children: (failed: boolean) => ReactNode; } interface ToolRendererBoundaryState { failed: boolean; } /** * Keeps one plugin's tool renderer from taking the timeline down with it: a * throw during render is logged once and the call falls back to the host's * own item, while every other entry keeps rendering. */ export declare class ToolRendererBoundary extends Component { state: ToolRendererBoundaryState; static getDerivedStateFromError(): ToolRendererBoundaryState; componentDidCatch(error: unknown): void; render(): ReactNode; } //#endregion export {}; //# sourceMappingURL=ToolRendererBoundary.d.mts.map