import React from 'react'; export declare const renderErrorInfo: (error: Error, { name, $$componentItem }: any, onClick?: () => void, errorBtnTitle?: string) => JSX.Element; /** * 渲染错误边界处理 * @param WrappedComponent 组件监听 * @returns */ declare function catchErrorBoundary(WrappedComponent: React.ComponentClass | React.FunctionComponent): React.ForwardRefExoticComponent & React.RefAttributes>; export default catchErrorBoundary;