import React from 'react';
interface ErrorBoundaryProps {
    children?: React.ReactNode;
    errorTemplate?: React.ComponentType;
}
export declare class ErrorBoundary extends React.Component<ErrorBoundaryProps> {
    constructor(props: ErrorBoundaryProps);
    componentDidCatch(error: Error, errorInfo: {
        componentStack: string;
    }): void;
    render(): string | number | boolean | Iterable<React.ReactNode> | import("react/jsx-runtime.js").JSX.Element | null | undefined;
}
export {};
