import React from 'react';
interface Props {
    FallbackComponent: React.ComponentType<{
        errorMessage: string;
    }>;
}
interface State {
    error?: Error;
}
export declare class ErrorBoundary extends React.Component<Props, State> {
    constructor(props: Props);
    static getDerivedStateFromError(error: any): {
        error: any;
    };
    componentDidCatch(error: any, info: any): void;
    render(): {} | null | undefined;
}
export {};
