import React, { ReactNode } from 'react';
interface ErrorBoundaryProps {
    fallback: ReactNode;
    children: ReactNode;
}
interface ErrorBoundaryState {
    hasError: boolean;
}
/**
 * @internal
 * ErrorBoundary component to handle errors in React components.
 */
export declare class _ErrorBoundary extends React.Component<ErrorBoundaryProps, ErrorBoundaryState> {
    constructor(props: ErrorBoundaryProps);
    static getDerivedStateFromError(): ErrorBoundaryState;
    componentDidCatch(error: Error): void;
    render(): ReactNode;
}
export {};
//# sourceMappingURL=ErrorBoundary.d.ts.map