import React from 'react';
export declare class ErrorBoundary extends React.Component<{
    children: React.ReactNode;
    fallback: React.ReactNode;
}, {
    hasError: boolean;
}> {
    constructor(props: any);
    static getDerivedStateFromError(): {
        hasError: boolean;
    };
    componentDidCatch(error: any, errorInfo: any): void;
    render(): React.ReactNode;
}
