import type { UseDropCompensationConfig } from "../../types"; /** * Hook that handles index change compensation after drag reorder. * * REFACTORED: Simplified to only handle non-dragged item compensation. * The complex commit detection has been removed - we now trust FlashList * to handle item repositioning and simply snap non-dragged items to their * correct positions during drop. * * When an item is dropped and the data updates, React re-renders with new indices. * This hook compensates non-dragged items by adjusting their translateY. * * @example * ```tsx * useDropCompensation({ * itemId: item.id, * index, * translateY, * }); * ``` */ export declare function useDropCompensation(config: UseDropCompensationConfig): void; //# sourceMappingURL=useDropCompensation.d.ts.map