Couchbase Lite framework integration and declares

Hello,

I would like to use the couchbase lite SDK for macOS and wondering if this is possibile from Xojo.
I know I could develop a Xojo plugin but I think this will be a hard task.
So can I use declares to access API from external frameworks? Couchbase lite is available as .framework package. In that case how can I include those into a Xojo app?

thanks!