 }
 
 public extension ShareExtension where Self: UIViewController {
+
+    private typealias ItemProviderPair = (provider: NSItemProvider, type: String)
+
     func getShareURL(_ callback: @escaping (URL) -> ()) {
         guard let context = extensionContext else {
             logger.fault("context is nil")

        loadRecursively(providers: providers, callback: callback)
    }

    typealias ItemProviderPair = (provider: NSItemProvider, type: String)

    private static func loadRecursively(providers: [ItemProviderPair], callback: @escaping (URL?) -> ()) {
        var providers = providers
        guard let p = providers.popLast() else {

        }
    }

    func complete() {
        extensionContext!.completeRequest(returningItems: nil, completionHandler: nil)
    }
