import { Component } from 'react';
import type { ReactNode, ErrorInfo } from 'react';
interface ErrorBoundaryProps {
    children: ReactNode;
    logError: (error: Error, componentStack: string) => void;
}
interface ErrorBoundaryState {
    hasError: boolean;
    errorMessage: Error;
}
export declare class ErrorBoundary extends Component<ErrorBoundaryProps, ErrorBoundaryState> {
    constructor(props: ErrorBoundaryProps);
    static getDerivedStateFromError(error: Error): {
        hasError: boolean;
        errorMessage: Error;
    };
    componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
    render(): {};
}
export {};
