import { SourceType } from 'dnd-core'; import { DndOptions, DndComponentEnhancer, DragSourceSpec, DragSourceCollector } from './types'; /** * Decorates a component as a dragsource * @param type The dragsource type * @param spec The drag source specification * @param collect The props collector function * @param options DnD options */ export declare function DragSource(type: SourceType | ((props: RequiredProps) => SourceType), spec: DragSourceSpec, collect: DragSourceCollector, options?: DndOptions): DndComponentEnhancer;