import React from 'react';
import { VizzlyComponents } from '../types';
declare type State = {
    error: any;
    tryCount: number;
};
declare type Props = {
    children: React.ReactNode;
    renderOnError: (onManualRetry: () => void, error: any) => React.ReactNode;
    onError?: VizzlyComponents.OnError;
};
export declare class ErrorBoundary extends React.Component<Props, State> {
    constructor(props: any);
    static getDerivedStateFromError(_error: any): {
        hasError: boolean;
    };
    componentDidCatch(error: any, errorInfo: any): void;
    render(): React.ReactNode;
}
export {};
