import React from 'react';
import { ErrorBoundaryContextType, ErrorBoundaryProps, ErrorBoundaryState } from './types/errorBoundary';
export declare class ErrorBoundary extends React.Component<ErrorBoundaryProps, ErrorBoundaryState> {
    constructor(props: ErrorBoundaryProps);
    static contextType: React.Context<ErrorBoundaryContextType>;
    static getDerivedStateFromError(): ErrorBoundaryState;
    static getDerivedStateFromProps(props: ErrorBoundaryProps, state: ErrorBoundaryState): ErrorBoundaryState | null;
    componentDidCatch(error: Error): ErrorBoundaryState;
    render(): React.ReactNode;
}
