Esp32 Wire.h lib does not have callbacks

The <wire.h> lib exist but the TwoWire::onReceive(void ()(int)) and TwoWire::onRequest(void ()()) don’t existed but are a part of the arduino ide. Here is the merge that it happened in Pull Request. If I could get any assistants it would be greatly appreciated.

My Platform.ini file

platform = espressif32
board = esp32dev
framework = arduino
lib_deps =
build_flags =
upload_speed = 460800
monitor_speed = 115200
monitor_filters = esp32_exception_decoder

build_flags =
lib_deps =
	adafruit/Adafruit BusIO
	adafruit/Adafruit GFX Library

Corerct, PlatformIO is behind in the used Arduino-ESP32 version. See Support for the latest Arduino v2.0 · Issue #619 · platformio/platform-espressif32 · GitHub