//#region src/lib/inline-reorder.d.ts /** * Reordering for a horizontal row of items (tabs, chips) dragged with * pragmatic drag and drop. Edges match the hitbox package's `Edge`, so a * caller passes `extractClosestEdge(...)` straight through. */ type InlineDropEdge = "top" | "right" | "bottom" | "left"; export type InlineDirection = "ltr" | "rtl"; export type InlineDropPosition = "before" | "after"; export declare const toInlineDropPosition: (edge: InlineDropEdge | null, direction: InlineDirection) => InlineDropPosition | null; type ReorderInlineIdsParams = { ids: readonly string[]; draggedId: string; targetId: string; position: InlineDropPosition; }; /** The new order, or null when the drop leaves the order unchanged. */ export declare const reorderInlineIds: ({ ids, draggedId, targetId, position }: ReorderInlineIdsParams) => string[] | null; //#endregion