/** * Return value from useDragCleanup hook. */ export interface UseDragCleanupResult { /** Clear the safety timeout (call when starting new drag) */ clearSafetyTimeout: () => void; /** Start failsafe cleanup timeout */ failsafeCleanup: () => void; /** Ref to the safety timeout for external management */ safetyTimeoutRef: React.MutableRefObject | null>; } /** * Hook that manages timeout-based cleanup and failsafe mechanisms. * * This hook is responsible for: * - Managing safety timeout that ensures state is reset after drop * - Failsafe cleanup that force-clears stuck state after registry changes * - Cleanup on unmount to prevent writes to stale SharedValues * * The safety timeout is a last-resort mechanism that fires if the normal * animation-based cleanup doesn't complete. This prevents the drag system * from getting stuck in an inconsistent state. * * @returns Functions for clearing timeouts and the safety timeout ref */ export declare function useDragCleanup(): UseDragCleanupResult; //# sourceMappingURL=useDragCleanup.d.ts.map