/**
 * @fileoverview DnDevErrorBoundary component
 * @description React error boundary for catching and handling component errors
 *
 * @version 0.0.1
 * @since 0.0.1
 * @author AMBROISE PARK Consulting
 */
import { Component, type ErrorInfo, type ReactElement, type ReactNode } from 'react';
interface DnDevErrorBoundaryProps {
    children: ReactNode;
    fallback: (props: {
        error: unknown;
        resetError: () => void;
        componentStack?: string | null;
        eventId?: string | null;
    }) => ReactElement;
    level?: 'app' | 'route' | 'component';
}
interface DnDevErrorBoundaryState {
    hasError: boolean;
    error: unknown;
}
/**
 * React error boundary for catching and handling component errors
 *
 * @version 0.0.1
 * @since 0.0.1
 * @author AMBROISE PARK Consulting
 */
export declare class DnDevErrorBoundary extends Component<DnDevErrorBoundaryProps, DnDevErrorBoundaryState> {
    constructor(props: DnDevErrorBoundaryProps);
    static getDerivedStateFromError(error: unknown): DnDevErrorBoundaryState;
    componentDidCatch(error: unknown, errorInfo: ErrorInfo): void;
    resetError: () => void;
    render(): ReactNode;
}
export default DnDevErrorBoundary;
//# sourceMappingURL=DnDevErrorBoundary.d.ts.map