import React, { ComponentType } from "react"; import { ProFormSelect } from "./antd-pro/select"; import { ProFormTreeSelect } from "./antd-pro/tree-select"; import { Modal } from "./antd/modal"; import { ProList } from "./antd-pro/pro-list"; export declare const moduleTypes: { jueying: Record>; antd: { Modal: typeof Modal; }; antdPro: { ProFormSelect: typeof ProFormSelect; ProFormTreeSelect: typeof ProFormTreeSelect; ProList: typeof ProList; }; icons: Record>; }; /** * Checks if the given component is a React component type. * Prioritizes name for identification. * * @param component - The component to check * @param name - Optional name override (useful when component.name is not reliable) * @returns True if the component is a React component type, false otherwise */ export declare function isReactComponentType(component: any, name?: string): boolean; export declare const componentTypes: Record>;