i can propose you this first draft of wrapper for LoRa library, to see if it can help you.
original library :
https://github.com/sandeepmistry/arduino-LoRa (this one you want to use)
2 initialize available:
not working for ARDUINO_SAMD_MKRWAN1300
configuration with callbacks
void Initialize( Subvoid_int OnReceiveSub, Subvoid_void OnTxDoneSub);
configuration without callbacks
void Initialize1();
2 setSPI for esp32
one for HSPI or VSPI with standard configuration of pins
void setSPI(byte SPIbus);
one for HSPI or VSPI and with reconfiguration of pins. (pin=255 => pin not changed)
void setSPI1(byte SPIbus,byte sck, byte miso, byte mosi, byte ss);
SPIbus is a parameter available in library