import React, { ComponentType } from 'react';
export declare const withErrorBoundary: <P extends Record<string, unknown>>(Component: ComponentType<P>) => {
    (props: P): React.JSX.Element;
    displayName: string;
};
