/**
 * ScreenErrorBoundary — catches React render errors in screens
 * and surfaces them in ConsoleView via store.screenError.
 *
 * The error is displayed between the content area and the text input.
 * Pressing R in ConsoleView increments store.screenErrorRetry, which
 * causes this boundary to reset and re-render the screen.
 */
import { Component, type ReactNode } from 'react';
import type { WizardStore } from '../store.js';
interface Props {
    store: WizardStore;
    retryToken: number;
    children: ReactNode;
}
interface State {
    error: Error | null;
}
export declare class ScreenErrorBoundary extends Component<Props, State> {
    state: State;
    static getDerivedStateFromError(error: Error): State;
    componentDidCatch(error: Error, errorInfo: {
        componentStack?: string | null;
    }): void;
    componentDidUpdate(prevProps: Props): void;
    render(): ReactNode;
}
export {};
