import type { MoveSortableElementsOptions } from './useSortable.types'; /** * Move sortable elements in the list * @param list List of sortable elements * @param from Original element position * @param to New element position */ export declare function moveSortableElements({ list, from, to }: MoveSortableElementsOptions): void; /** * Create a ghost element for dragging, which is the element that follows the cursor while dragging * @param e Drag event * @param ghostClass Custom classes to be added to the ghost element * @returns Ghost element and cleanup function */ export declare function createGhostElement(e: DragEvent, ghostClass: string[]): { ghost: HTMLElement; cleanupGhostElement: () => void; }; /** * Get the valid draggable target element * @param element * @returns Draggable element */ export declare function getValidDragTarget(element: HTMLElement | null): HTMLElement;