import { Component, type ErrorInfo, type ReactNode } from 'react';
interface ErrorBoundaryState {
    hasError: boolean;
    error?: Error;
}
/**
 * Error boundary wrapper for course registration.
 * Catches render errors and displays a fallback UI.
 */
export declare class CourseRegistrationErrorBoundary extends Component<{
    children: ReactNode;
    className?: string;
}, ErrorBoundaryState> {
    constructor(props: {
        children: ReactNode;
        className?: string;
    });
    static getDerivedStateFromError(error: Error): ErrorBoundaryState;
    componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
    render(): ReactNode;
}
export {};
