import type { IUseReorderReturn, IUseReorderConfig } from './Reorder.types'; /** * Hook for managing reorderable lists with FLIP animations. * * Architecture: Thin wrapper around useAnimationOrchestrator. * Delegates all animation logic to the orchestrator and provides * a stable API surface for the Reorder component. * * @param config - Optional reorder configuration (timing, easing, callbacks) * @returns Reorder API with register, exit, enter, and query methods * * @example * ```tsx * const reorder = useReorder({ * onComplete: (id) => removeFromList(id) * }); * *