import { type LibrariesTreeItem, type SortedItem, type SortOrder } from '../../LibrariesSidebar/types';
import { type SidebarCapabilities, type SidebarNode } from '../../LibrariesSidebar/types/model';
import { type AvatarProps } from '../../../design-system/Avatar/types';
import { type UniqueIdentifier } from '@dnd-kit/core';
export declare const toLibrariesTreeItem: (node: SidebarNode, capabilities: SidebarCapabilities) => LibrariesTreeItem;
export declare const getAvatarConfig: (item: LibrariesTreeItem, showDragIcon?: boolean) => AvatarProps;
export declare const getLeftSpacing: (depth: number) => number;
export declare const getCursorMode: (isSortMode: boolean, isDragging?: boolean) => "grab" | "grabbing" | "pointer";
export declare const getReorderedItems: (items: LibrariesTreeItem[], active: UniqueIdentifier, over: UniqueIdentifier | null) => LibrariesTreeItem[];
/**
 * Adapt the sidebar's `onSort` payload into the `{ parentId, orderedIds }`
 * shape backends typically expect for a bulk reorder.
 */
export declare const getNewPositionOrders: (payload: SortedItem[]) => SortOrder[];
