Importing QueryCtrl

Hi
I’m working on a datasource plugin using TypeScript. What is the right way to import QueryCtrl and sdk? I see that crate and druid plugin actually have a copy of those files from Grafana repo. I’d like to avoid that. Is there any other way?

https://github.com/raintank/crate-datasource/blob/master/src/sdk/query_ctrl.ts, https://github.com/grafana-druid-plugin/druidplugin/blob/master/src/sdk/query_ctrl.ts

Thanks
Grzegorz

not sure there is another way :frowning: