import { default as React, ErrorInfo } from 'react';
export interface ErrorBoundaryState {
    error: Error | null;
    errorInfo: ErrorInfo | null;
}
export interface ErrorBoundaryProps extends React.PropsWithChildren {
    fallback?: React.ReactNode;
}
declare class ErrorBoundary extends React.Component<ErrorBoundaryProps, ErrorBoundaryState> {
    constructor(props: ErrorBoundaryProps);
    componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
    render(): string | number | boolean | Iterable<React.ReactNode> | import("@emotion/react/jsx-runtime").JSX.Element | null | undefined;
}
export default ErrorBoundary;
//# sourceMappingURL=error-boundary.d.ts.map