import type { _WKURLSchemeTask } from "./WKURLSchemeTask.js";
import type { _WKWebView } from "./WKWebView.js";
export interface _WKURLSchemeHandler {
    /**
     * Notifies your app to start loading the data for a particular resource represented by the URL scheme handler task. The web view invoking the method. The task that your app should start loading data for.
     */
    webView$startURLSchemeTask$?(webView: _WKWebView, urlSchemeTask: _WKURLSchemeTask): void;
    /**
     * Notifies your app to stop handling a URL scheme handler task. The web view invoking the method. The task that your app should stop handling. After your app is told to stop loading data for a URL scheme handler task it must not perform any callbacks for that task. An exception will be thrown if any callbacks are made on the URL scheme handler task after your app has been told to stop loading for it.
     */
    webView$stopURLSchemeTask$?(webView: _WKWebView, urlSchemeTask: _WKURLSchemeTask): void;
}
