/** @jsxImportSource @opentui/react */
/**
 * React Error Boundary for the orchestrator panel.
 *
 * Catches render-time errors in the component tree and displays a
 * static fallback so the rest of the TUI doesn't crash.
 */
import { Component, type ReactNode, type ErrorInfo } from "react";
interface ErrorBoundaryProps {
    fallback: (error: Error) => ReactNode;
    children: ReactNode;
}
interface ErrorBoundaryState {
    error: Error | null;
}
export declare class ErrorBoundary extends Component<ErrorBoundaryProps, ErrorBoundaryState> {
    state: ErrorBoundaryState;
    static getDerivedStateFromError(error: Error): ErrorBoundaryState;
    componentDidCatch(error: Error, info: ErrorInfo): void;
    render(): ReactNode;
}
export {};
//# sourceMappingURL=error-boundary.d.ts.map