// Type definitions for ag-grid-row-unselectable v10.0.1
// Project: https://github.com/tomli/ag-grid-row-unselectable
// Definitions by: Niall Crosby <https://github.com/ceolter/>
/** Adds drag listening onto an element. In ag-Grid this is used twice, first is resizing columns,
 * second is moving the columns and column groups around (ie the 'drag' part of Drag and Drop. */
export declare class DragService {
    private loggerFactory;
    private eventService;
    private gridOptionsWrapper;
    private currentDragParams;
    private dragging;
    private mouseEventLastTime;
    private mouseStartEvent;
    private touchLastTime;
    private touchStart;
    private onMouseUpListener;
    private onMouseMoveListener;
    private onTouchEndListener;
    private onTouchMoveListener;
    private logger;
    private dragEndFunctions;
    private dragSources;
    private init();
    private destroy();
    private removeListener(dragSourceAndListener);
    removeDragSource(params: DragListenerParams): void;
    private setNoSelectToBody(noSelect);
    addDragSource(params: DragListenerParams, includeTouch?: boolean): void;
    private onTouchStart(params, touchEvent);
    private onMouseDown(params, mouseEvent);
    private isEventNearStartEvent(currentEvent, startEvent);
    private getFirstActiveTouch(touchList);
    private onCommonMove(currentEvent, startEvent);
    private onTouchMove(touchEvent);
    private onMouseMove(mouseEvent);
    onTouchUp(touchEvent: TouchEvent): void;
    onMouseUp(mouseEvent: MouseEvent): void;
    onUpCommon(eventOrTouch: MouseEvent | Touch): void;
}
export interface DragListenerParams {
    /** After how many pixels of dragging should the drag operation start. Default is 4px. */
    dragStartPixels?: number;
    /** Dom element to add the drag handling to */
    eElement: HTMLElement;
    /** Callback for drag starting */
    onDragStart: (mouseEvent: MouseEvent | Touch) => void;
    /** Callback for drag stopping */
    onDragStop: (mouseEvent: MouseEvent | Touch) => void;
    /** Callback for mouse move while dragging */
    onDragging: (mouseEvent: MouseEvent | Touch) => void;
}
