Data Source Plugin Api Connection

I am trying to connect my data source plugin to an api. I am using this tutorial https://grafana.com/docs/grafana/latest/developers/plugins/add-authentication-for-data-source-plugins/, but I am not able to import BackendSrv because it says the module ‘@grafana/runtime’ can’t be found. Did this get recently updated?