Help on create Declares to access external framework methods


I am trying to integrate a simple app with Couchbase-lite, an embedded database, distributed as a .framework, both for macOS and iOS.

Following the documentation, I see I need to make 4 calls to the following Objective-C code:

CBLManager* manager = [CBLManager sharedInstance];
self.listener = [[CBLListener alloc] initWithManager:manager port:55000];
self.listener.passwords = @{@"hello": @"pw123"};
[listener start:nil];

Can you provide with any Declare examples that calls into Objective-C constructors and methods to study from?