import { DragSource } from '@~sunsimiao/cj-dnd-core'; import { DragSourceSpec } from './interfaces'; export interface Source extends DragSource { receiveProps(props: any): void; } export default function createSourceFactory(spec: DragSourceSpec, dragStartItem?: object | undefined): (monitor: any) => Source;