import React from 'react';
import { DraggableEvent } from '@datarobot/design-system/floating-panel/types';
export type DraggableArea = {
    areaId: string;
    onDragStart?: (event: DraggableEvent) => void;
    onDrag: (event: DraggableEvent) => void;
    onDragEnd?: (event: DraggableEvent | string) => void;
};
/**
 *
 * @param areaId
 * @param onDragStart
 * @param onDrag
 * @param onDragEnd
 * @returns onStart function to be used in onMouseDown event
 */
export declare function useDraggableArea({ areaId, onDragStart, onDrag, onDragEnd, }: DraggableArea): (e: React.MouseEvent<Element>) => void;
