/// <reference types="react" />
import { Element } from "easy-email-pro-core";
export declare const useDragging: ({ element, nodeElement, action, cloneGhost, }: {
    element: Element;
    nodeElement?: HTMLElement | null | undefined;
    action: "move" | "copy";
    cloneGhost?: boolean | undefined;
}) => {
    dragHandle: {
        onDragStart: (e: any) => void;
        onPointerDown(event: import("react").PointerEvent<any>): void;
        onDragEnd(): void;
        draggable: boolean;
    };
};
