import { DropIndicatorType } from '../symbols'; import { Ref } from 'vue'; /** * Provides dragging state to the tree component hierarchy. * Called by PvTreeGroup (for cross-tree sharing) or by PvTree itself as a fallback (standalone use). */ export declare const provideDraggingState: () => { isDragging: Ref; draggingGroupName: Ref; dropIndicator: Ref<{ parentId?: string | number | undefined; siblingTargetId?: string | number | undefined; siblingInsertAfter?: boolean | undefined; } | null, DropIndicatorType | { parentId?: string | number | undefined; siblingTargetId?: string | number | undefined; siblingInsertAfter?: boolean | undefined; } | null>; }; /** * Injects dragging state from the nearest PvTreeGroup or PvTree ancestor. * Should be called in PvTreeItem and PvSimpleNestedTree components. */ export declare const useDraggingState: () => { isDragging: Ref; draggingGroupName: Ref; dropIndicator: Ref<{ parentId?: string | number | undefined; siblingTargetId?: string | number | undefined; siblingInsertAfter?: boolean | undefined; } | null, DropIndicatorType | { parentId?: string | number | undefined; siblingTargetId?: string | number | undefined; siblingInsertAfter?: boolean | undefined; } | null>; setDropIndicator: ({ parentId, siblingTargetId, siblingInsertAfter }: DropIndicatorType) => void; clearDropIndicator: () => void; onDragStart: (groupName?: string) => void; onDragEnd: () => void; };