How to use lv_lottie.h in cpp

Hi everyone. I already read all of the docs about lottie animations. They say rlottie is outdated on LVGL 9. so i tried to use lv_lottie.h instead but i cant figure out how to import it to our projects. Can anyone help please?

My platformio.ini file:

[env:esp32dev]
platform = espressif32
board = esp32dev
framework = arduino
lib_extra_dirs = 
    ~/Documents/Arduino/libraries
    ~/Documents/Arduino/libraries/src/widgets/lottie
lib_deps =
    ArduinoJson

How should i edit it and how to import it to out cpp file? I tried:

#include <lottie.h>

and some more combinations but none of them are working.

Thanks!