import { VisualElement } from '@judo/model-api'; import { Component, ErrorInfo, ReactNode } from 'react'; export interface ContainerErrorBoundaryProps { children: ReactNode; containerType: "TABLE" | "FORM" | "VIEW"; element?: VisualElement; } interface ErrorBoundaryState { hasError: boolean; error: Error | null; errorInfo: ErrorInfo | null; showDetails: boolean; } /** * Error boundary for container types. * No retry - displays error with model context for debugging. */ export declare class ContainerErrorBoundary extends Component { state: ErrorBoundaryState; static getDerivedStateFromError(error: Error): Partial; componentDidCatch(error: Error, errorInfo: ErrorInfo): void; toggleDetails: () => void; /** * Safely stringify objects with cyclic references. */ private safeStringify; render(): string | number | bigint | boolean | Iterable | Promise> | Iterable | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined; } export declare function TableContainerErrorBoundary({ children, element }: { children: ReactNode; element?: VisualElement; }): import("react/jsx-runtime").JSX.Element; export declare function FormContainerErrorBoundary({ children, element }: { children: ReactNode; element?: VisualElement; }): import("react/jsx-runtime").JSX.Element; export declare function ViewContainerErrorBoundary({ children, element }: { children: ReactNode; element?: VisualElement; }): import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=ContainerErrorBoundary.d.ts.map