import type { DropTargetMonitor } from 'react-dnd'; interface useDropCompParams { path?: any[]; id: string; _component?: any; onHover?: (monitor: DropTargetMonitor) => void; containerProps?: any; } /** * @description: 拖拽容器hooks * @param {type} path:当前页面(容器组件)的路径, id:当前页面(容器组件)的id */ declare const useDropComp: ({ _component, containerProps }: useDropCompParams) => { drop: (ref: U, containerType?: import("../../utils/localDragUtils/LocalDragUtils").RelateTargetType | undefined, compId?: string | undefined) => U; isOverCurrent: boolean; draggingItem: any; canDrop: boolean; type: ("OBJ_BOX" | "SIDER_BOX" | "PAGE_BOX" | "PAGE_CONTAINER_BOX" | "ROW" | "BLOCK_BOX" | "BUSI_OBJ" | "BUSI_OBJ_ATTR" | "BUSI_OBJ_GROUP" | "EVENT_LIST")[]; }; export default useDropComp;