import { DragType } from '../constant/dragTypes'; export interface useDragCompParams { item: { type: DragType; layerTitle?: string; [key: string]: any; }; useCustomPreview?: boolean; canDrag?: boolean; } declare const useDragComp: ({ item, canDrag }: useDragCompParams) => { drag: (ref: U, containerType?: import("../utils/localDragUtils/LocalDragUtils").RelateTargetType | undefined, compId?: string | undefined) => U; isDragging: boolean; draggingItem: { [key: string]: any; type: DragType; layerTitle?: string | undefined; }; dragPreview: boolean; }; export default useDragComp;