import { System } from '../system';
import { Unlisten } from '../types/Unlisten';
import { UnitPointerEvent } from './event/pointer';
import { IOElement } from './IOElement';
export type IODragAndDropEvent = UnitPointerEvent;
export declare function startDragAndDrop<T = any>(system: System, element: IOElement, pointerId: number, data: T, onDrag: (screenX: number, screenY: number) => void, onDrop?: (foundTarget: boolean, data?: T) => void): Unlisten;
