import React, { ErrorInfo } from 'react';
interface ErrorBoundaryState {
    hasError: boolean;
}
export declare class ErrorBoundary extends React.Component {
    state: ErrorBoundaryState;
    static getDerivedStateFromError(): {
        hasError: boolean;
    };
    componentDidCatch(error: unknown, errorInfo: ErrorInfo): void;
    render(): {} | null | undefined;
}
export {};
//# sourceMappingURL=ErrorBoundary.d.ts.map