import * as React from "react";
export declare class ErrorBoundary extends React.Component<{
    children: React.ReactNode;
    onError?: (error: Error) => void;
    fallback?: React.ReactNode;
}, {
    hasError: boolean;
}> {
    constructor(props: {
        children: React.ReactNode;
    });
    componentDidCatch(error: Error): void;
    static getDerivedStateFromError(): {
        hasError: boolean;
    };
    render(): string | number | boolean | Iterable<React.ReactNode> | React.JSX.Element | null | undefined;
}
//# sourceMappingURL=ErrorBoundary.d.ts.map