Why do you think the problem lies with the framework choice? Both your libs are Arduino libraries.
Just Ctrl+Shift+P → Rebuild IntelliSense in VSCode. PlatformIO will only recognize the library dependency after it sees an include in your code referencing it, not before that. Works perfectly fine.
