import React from 'react';
import { AlertProps } from '..';
export declare type ErrorBoundaryState = {
    hasError: boolean;
};
export declare type ErrorBoundaryProps = {
    alertProps?: AlertProps;
};
export declare class ErrorBoundary extends React.Component<ErrorBoundaryProps> {
    readonly state: ErrorBoundaryState;
    static getDerivedStateFromError(error: any): {
        hasError: boolean;
    };
    componentDidCatch(error: any, errorInfo: any): void;
    render(): {} | null | undefined;
}
