import type { SortableListDragResult } from "../components/index.js"; import type { TableDndScopeHandlers } from "../components/TableDndRoot/index.js"; export interface UseSortableListParams { items: string[]; onDragStart?: (activeId: string) => void; onDragEnd?: (result: SortableListDragResult) => void; enableNesting?: boolean; childModeOffset?: number; nextChildModeOffset?: number; } export declare const useSortableList: ({ items, onDragStart, onDragEnd, enableNesting, childModeOffset, nextChildModeOffset, }: UseSortableListParams) => { activeItemKey: string | null; isKeyboardDragging: boolean; activeItemIndex: number; targetItemIndex: number; isParentMode: boolean; isChildMode: boolean; isNextChildMode: boolean; handlers: TableDndScopeHandlers; };