/// import { EventListener, Node } from '../types'; import { WithDndDragProps } from './useDndDrag'; import { DragSourceSpec, DragEvent, ConnectDragSource, DragObjectWithType, DragSpecOperationType, DragOperationWithType } from './dnd-types'; export declare const DRAG_NODE_EVENT = "drag_node"; export declare const DRAG_NODE_START_EVENT: string; export declare const DRAG_NODE_END_EVENT: string; export declare type DragNodeEventListener = EventListener<[Node, DragEvent, DragOperationWithType]>; export declare const DRAG_MOVE_OPERATION = "move.useDragNode"; export declare const useDragNode: (spec?: Omit, DropResult, CollectedProps, Props>, "item"> & { item?: DragObject; }, props?: Props) => [CollectedProps, import("./dnd-types").DragElementWrapper]; export interface WithDragNodeProps { dragNodeRef?: WithDndDragProps['dndDragRef']; } export declare const withDragNode: (spec?: Omit, DropResult, CollectedProps, Props>, "item"> & { item?: DragObject; }) => (WrappedComponent: import("react").ComponentType) => import("react").FunctionComponent>; //# sourceMappingURL=useDragNode.d.ts.map
(WrappedComponent: import("react").ComponentType
) => import("react").FunctionComponent>; //# sourceMappingURL=useDragNode.d.ts.map