import React, { Component, ReactNode } from 'react';
export declare class ErrorBoundary extends Component<{
    fallback: ReactNode;
}> {
    state: {
        hasError: boolean;
    };
    static getDerivedStateFromError(): {
        hasError: boolean;
    };
    componentDidCatch(error: Error, _errorInfo: React.ErrorInfo): void;
    render(): React.ReactNode;
}
//# sourceMappingURL=ErrorBoundary.d.ts.map