     (WKWebView, String, WKFrameInfo, ((Bool) -> Void)) -> Void
 public typealias LKRunJavaScriptTextInputPanelWithPrompt =
     (WKWebView, String, String?, WKFrameInfo, ((String?) -> Void)) -> Void
-public typealias LKShouldPreviewElement = (WKWebView, WKPreviewElementInfo) -> Bool
-public typealias LKPreviewingViewControllerForElement =
-    (WKWebView, WKPreviewElementInfo, [WKPreviewActionItem]) -> UIViewController?
 public typealias LKCommitPreviewingViewController = (WKWebView, UIViewController) -> Void
 
 // MARK: - WKNavigationDelegate

        } else {
            completionHandler(nil)
        }
    }

    public func webView(_ webView: WKWebView, shouldPreviewElement elementInfo: WKPreviewElementInfo) -> Bool
    {
        return self.shouldPreviewElement?(webView, elementInfo) ?? true
    }

    public func webView(_ webView: WKWebView,
                        previewingViewControllerForElement elementInfo: WKPreviewElementInfo,
                        defaultActions previewActions: [WKPreviewActionItem]) -> UIViewController?
    {
        return self.previewingViewControllerForElement?(webView, elementInfo, previewActions)
    }

    public func webView(_ webView: WKWebView,

        get { return self.closuresWrapper.runJavaScriptTextInputPanelWithPrompt }
    }

    /// Allows your app to pop to the view controller it created.
    public var commitPreviewingViewController: LKCommitPreviewingViewController? {
        set { self.closuresWrapper.commitPreviewingViewController = newValue }
