import type { ReactElement, RefObject } from 'react'; import type { DragPreviewOptions, DragSourceOptions } from './options'; export declare type ConnectableElement = RefObject | ReactElement | Element | null; export declare type DragElementWrapper = (elementOrNode: ConnectableElement, options?: Options) => ReactElement | null; export declare type ConnectDragSource = DragElementWrapper; export declare type ConnectDropTarget = DragElementWrapper; export declare type ConnectDragPreview = DragElementWrapper;