export interface RelativePosition { top: number; right: number; left?: number; } /** * Add the drag and drop logic into elementRef. * * @param toolbarElement - Ref of the element container, that will be dragged * @param maxBounds - max bounds of the draggable element * @param initialPosition - initial position of the draggable element */ export declare function useDragElement(toolbarElement: HTMLDivElement | undefined, maxBounds: RelativePosition, initialPosition: RelativePosition): { isDragging: boolean; triggerDragRef: import("react").RefObject; };