1 | import type { ReactElement, RefObject } from 'react';
|
2 | import type { DragPreviewOptions, DragSourceOptions } from './options';
|
3 | export declare type ConnectableElement = RefObject<any> | ReactElement | Element | null;
|
4 | export declare type DragElementWrapper<Options> = (elementOrNode: ConnectableElement, options?: Options) => ReactElement | null;
|
5 | export declare type ConnectDragSource = DragElementWrapper<DragSourceOptions>;
|
6 | export declare type ConnectDropTarget = DragElementWrapper<any>;
|
7 | export declare type ConnectDragPreview = DragElementWrapper<DragPreviewOptions>;
|