import type { MenuTreeNodeWithChildren } from "./composable/tree";
import type { DragDropEvent } from "./fmtree/type";
export declare function useMenuDrag(): {
    isCategoryNode: (node: MenuTreeNodeWithChildren) => boolean;
    isItemNode: (node: MenuTreeNodeWithChildren) => boolean;
    isSubCategoryNode: (node: MenuTreeNodeWithChildren) => boolean;
    canDropFn: (draggedNodeId: string, targetNodeId: string, dragPosition: "before" | "after" | "inside") => boolean;
    handleNodeDragDrop: (event: DragDropEvent) => Promise<void>;
};
