#pragma once #include #include #include #include #include namespace reanimated { using namespace facebook; class MutableValue; class LayoutAnimationsProxy { public: LayoutAnimationsProxy( std::function _notifyAboutProgress, std::function _notifyAboutEnd); void startObserving(int tag, std::shared_ptr sv, jsi::Runtime &rt); void stopObserving(int tag, bool finished); void notifyAboutCancellation(int tag); private: std::function notifyAboutProgress; std::function notifyAboutEnd; std::map> observedValues; }; } // namespace reanimated