import type { NobjcObject } from "objc-js";
import type { _NSColor } from "../AppKit/NSColor.js";
import type { _NSImage } from "../AppKit/NSImage.js";
import type { _NSPrintInfo } from "../AppKit/NSPrintInfo.js";
import type { _NSPrintOperation } from "../AppKit/NSPrintOperation.js";
import type { _NSTextFinderClient } from "../AppKit/NSTextFinderClient.js";
import type { _NSUserInterfaceValidations } from "../AppKit/NSUserInterfaceValidations.js";
import type { _NSView } from "../AppKit/NSView.js";
import type { _WKBackForwardList } from "./WKBackForwardList.js";
import type { _WKBackForwardListItem } from "./WKBackForwardListItem.js";
import type { _WKContentWorld } from "./WKContentWorld.js";
import type { _WKDownload } from "./WKDownload.js";
import type { _WKFindConfiguration } from "./WKFindConfiguration.js";
import type { _WKFindResult } from "./WKFindResult.js";
import type { _WKFrameInfo } from "./WKFrameInfo.js";
import type { _WKNavigation } from "./WKNavigation.js";
import type { _WKNavigationDelegate } from "./WKNavigationDelegate.js";
import type { _WKPDFConfiguration } from "./WKPDFConfiguration.js";
import type { _WKSnapshotConfiguration } from "./WKSnapshotConfiguration.js";
import type { _WKUIDelegate } from "./WKUIDelegate.js";
import type { _WKWebViewConfiguration } from "./WKWebViewConfiguration.js";
import type { _NSArray } from "../Foundation/NSArray.js";
import type { _NSCoder } from "../Foundation/NSCoder.js";
import type { _NSData } from "../Foundation/NSData.js";
import type { _NSDictionary } from "../Foundation/NSDictionary.js";
import type { _NSError } from "../Foundation/NSError.js";
import type { _NSString } from "../Foundation/NSString.js";
import type { _NSURL } from "../Foundation/NSURL.js";
import type { _NSURLRequest } from "../Foundation/NSURLRequest.js";
import type { _NSURLResponse } from "../Foundation/NSURLResponse.js";
import type { CGPoint } from "../structs/CGPoint.js";
import type { CGRect } from "../structs/CGRect.js";
import type { NSEdgeInsets } from "../structs/NSEdgeInsets.js";
import type { WKFullscreenState } from "./WKFullscreenState.js";
import type { WKMediaCaptureState } from "./WKMediaCaptureState.js";
import type { WKMediaPlaybackState } from "./WKMediaPlaybackState.js";
import type { WKWebViewDataType } from "./WKWebViewDataType.js";
export declare class _WKWebView extends _NSView {
    static alloc(): _WKWebView;
    static new(): _WKWebView;
    init(): _WKWebView;
    /**
     * Checks whether or not WKWebViews handle the given URL scheme by default. The URL scheme to check.
     */
    static handlesURLScheme$(urlScheme: _NSString): boolean;
    /**
     * Returns a web view initialized with a specified frame and configuration. The frame for the new web view. The configuration for the new web view. An initialized web view, or nil if the object could not be initialized. This is a designated initializer. You can use to initialize an instance with the default configuration. The initializer copies the specified configuration, so mutating the configuration after invoking the initializer has no effect on the web view.
     */
    initWithFrame$configuration$(frame: CGRect, configuration: _WKWebViewConfiguration): _WKWebView;
    initWithCoder$(coder: _NSCoder): _WKWebView | null;
    /**
     * Navigates to a requested URL. The request specifying the URL to which to navigate. A new navigation for the given request.
     */
    loadRequest$(request: _NSURLRequest): _WKNavigation | null;
    /**
     * Navigates to the requested file URL on the filesystem. The file URL to which to navigate. The URL to allow read access to. If readAccessURL references a single file, only that file may be loaded by WebKit. If readAccessURL references a directory, files inside that file may be loaded by WebKit. A new navigation for the given file URL.
     */
    loadFileURL$allowingReadAccessToURL$(URL: _NSURL, readAccessURL: _NSURL): _WKNavigation | null;
    /**
     * Sets the webpage contents and base URL. The string to use as the contents of the webpage. A URL that is used to resolve relative URLs within the document. A new navigation.
     */
    loadHTMLString$baseURL$(string_: _NSString, baseURL: _NSURL | null): _WKNavigation | null;
    /**
     * Sets the webpage contents and base URL. The data to use as the contents of the webpage. The MIME type of the data. The data's character encoding name. A URL that is used to resolve relative URLs within the document. A new navigation.
     */
    loadData$MIMEType$characterEncodingName$baseURL$(data: _NSData, MIMEType: _NSString, characterEncodingName: _NSString, baseURL: _NSURL): _WKNavigation | null;
    /**
     * Navigates to an item from the back-forward list and sets it as the current item. The item to which to navigate. Must be one of the items in the web view's back-forward list. A new navigation to the requested item, or nil if it is already the current item or is not part of the web view's back-forward list. backForwardList
     */
    goToBackForwardListItem$(item: _WKBackForwardListItem): _WKNavigation | null;
    /**
     * Navigates to the back item in the back-forward list. A new navigation to the requested item, or nil if there is no back item in the back-forward list.
     */
    goBack(): _WKNavigation | null;
    /**
     * Navigates to the forward item in the back-forward list. A new navigation to the requested item, or nil if there is no forward item in the back-forward list.
     */
    goForward(): _WKNavigation | null;
    /** Reloads the current page. A new navigation representing the reload. */
    reload(): _WKNavigation | null;
    /**
     * Reloads the current page, performing end-to-end revalidation using cache-validating conditionals if possible. A new navigation representing the reload.
     */
    reloadFromOrigin(): _WKNavigation | null;
    /** Stops loading all resources on the current page. */
    stopLoading(): void;
    /**
     * Evaluates the given JavaScript string. The JavaScript string to evaluate. A block to invoke when script evaluation completes or fails. The completionHandler is passed the result of the script evaluation or an error. Calling this method is equivalent to calling `evaluateJavaScript:inFrame:inContentWorld:completionHandler:` with: - A `frame` value of `nil` to represent the main frame - A `contentWorld` value of `WKContentWorld.pageWorld`
     */
    evaluateJavaScript$completionHandler$(javaScriptString: _NSString, completionHandler: ((WK_NULLABLE_RESULT: NobjcObject, error: _NSError) => NobjcObject) | null): void;
    /**
     * Evaluates the given JavaScript string. The JavaScript string to evaluate. A WKFrameInfo identifying the frame in which to evaluate the JavaScript string. The WKContentWorld in which to evaluate the JavaScript string. A block to invoke when script evaluation completes or fails. The completionHandler is passed the result of the script evaluation or an error. Passing nil is equivalent to targeting the main frame. If the frame argument no longer represents a valid frame by the time WebKit attempts to call the JavaScript function your completion handler will be called with a WKErrorJavaScriptInvalidFrameTarget error. This might happen for a number of reasons, including but not limited to: - The target frame has been removed from the DOM via JavaScript - A parent frame has navigated, destroying all of its previous child frames No matter which WKContentWorld you use to evaluate your JavaScript string, you can make changes to the underlying web content. (e.g. the Document and its DOM structure) Such changes will be visible to script executing in all WKContentWorlds. Evaluating your JavaScript string can leave behind other changes to global state visible to JavaScript. (e.g. `window.myVariable = 1;`) Those changes will only be visible to scripts executed in the same WKContentWorld. evaluateJavaScript: is a great way to set up global state for future JavaScript execution in a given world. (e.g. Importing libraries/utilities that future JavaScript execution will rely on) Once your global state is set up, consider using callAsyncJavaScript: for more flexible interaction with the JavaScript programming model.
     */
    evaluateJavaScript$inFrame$inContentWorld$completionHandler$(javaScriptString: _NSString, frame: _WKFrameInfo | null, contentWorld: _WKContentWorld, completionHandler: ((WK_NULLABLE_RESULT: NobjcObject, error: _NSError) => NobjcObject) | null): void;
    /**
     * Calls the given JavaScript string as an async JavaScript function, passing the given named arguments to that function. The JavaScript string to use as the function body. A dictionary representing the arguments to be passed to the function call. A WKFrameInfo identifying the frame in which to call the JavaScript function. The WKContentWorld in which to call the JavaScript function. A block to invoke with the return value of the function call, or with the asynchronous resolution of the function's return value. The functionBody string is treated as an anonymous JavaScript function body that can be called with named arguments. Do not format your functionBody string as a function-like callable object as you would in pure JavaScript. Your functionBody string should contain only the function body you want executed. For example do not pass in the string: Instead pass in the string: The arguments dictionary supplies the values for those arguments which are serialized into JavaScript equivalents. For example: Combining the above arguments dictionary with the above functionBody string, a function with the arguments named "x", "y", and "z" is called with values true, 1, and "hello world" respectively. Allowed argument types are: NSNumber, NSString, NSDate, NSArray, NSDictionary, and NSNull. Any NSArray or NSDictionary containers can only contain objects of those types. Passing nil is equivalent to targeting the main frame. If the frame argument no longer represents a valid frame by the time WebKit attempts to call the JavaScript function your completion handler will be called with a WKErrorJavaScriptInvalidFrameTarget error. This might happen for a number of reasons, including but not limited to: - The target frame has been removed from the DOM via JavaScript - A parent frame has navigated, destroying all of its previous child frames No matter which WKContentWorld you use to call your JavaScript function, you can make changes to the underlying web content. (e.g. the Document and its DOM structure) Such changes will be visible to script executing in all WKContentWorlds. Calling your JavaScript function can leave behind other changes to global state visibile to JavaScript. (e.g. `window.myVariable = 1;`) Those changes will only be visibile to scripts executed in the same WKContentWorld. Your completion handler will be called with the explicit return value of your JavaScript function. If your JavaScript does not explicitly return any value, that undefined result manifests as nil being passed to your completion handler. If your JavaScript returns null, that result manifests as NSNull being passed to your completion handler. JavaScript has the concept of a "thenable" object, which is any JavaScript object that has a callable "then" property. The most well known example of a "thenable" object is a JavaScript promise. If your JavaScript returns a "thenable" object WebKit will call "then" on the resulting object and wait for it to be resolved. If the object resolves successfully (e.g. Calls the "fulfill" function) your completion handler will be called with the result. If the object rejects (e.g. Calls the "reject" function) your completion handler will be called with a WKErrorJavaScriptAsyncFunctionResultRejected error containing the reject reason in the userInfo dictionary. If the object is garbage collected before it is resolved, your completion handler will be called with a WKErrorJavaScriptAsyncFunctionResultUnreachable error indicating that it will never be resolved. Since the function is a JavaScript "async" function you can use JavaScript "await" on thenable objects inside your function body. For example: The above function text will create a promise that will fulfull with the value 42 after a one second delay, wait for it to resolve, then return the fulfillment value of 42.
     */
    callAsyncJavaScript$arguments$inFrame$inContentWorld$completionHandler$(functionBody: _NSString, arguments_: _NSDictionary | null, frame: _WKFrameInfo | null, contentWorld: _WKContentWorld, completionHandler: ((result: NobjcObject, error: _NSError) => NobjcObject) | null): void;
    /**
     * Closes all out-of-window media presentations in a WKWebView. Includes picture-in-picture and fullscreen.
     * @deprecated closeAllMediaPresentationsWithCompletionHandler:
     */
    closeAllMediaPresentationsWithCompletionHandler$(completionHandler: (() => NobjcObject) | null): void;
    /** @deprecated closeAllMediaPresentationsWithCompletionHandler: */
    closeAllMediaPresentations(): void;
    /**
     * Pauses media playback in WKWebView. Pauses media playback. Media in the page can be restarted by calling play() on a media element or resume() on an AudioContext in JavaScript. A user can also use media controls to play media content after it has been paused.
     * @deprecated pauseAllMediaPlaybackWithCompletionHandler:
     */
    pauseAllMediaPlaybackWithCompletionHandler$(completionHandler: (() => NobjcObject) | null): void;
    /** @deprecated pauseAllMediaPlaybackWithCompletionHandler: */
    pauseAllMediaPlayback$(completionHandler: (() => NobjcObject) | null): void;
    /**
     * Suspends or resumes all media playback in WKWebView. Whether media playback should be suspended or resumed. If suspended is true, this pauses media playback and blocks all attempts by the page or the user to resume until setAllMediaPlaybackSuspended is called again with suspended set to false. Media playback should always be suspended and resumed in pairs.
     * @deprecated setAllMediaPlaybackSuspended:completionHandler:
     */
    setAllMediaPlaybackSuspended$completionHandler$(suspended: boolean, completionHandler: (() => NobjcObject) | null): void;
    /** @deprecated setAllMediaPlaybackSuspended:completionHandler: */
    resumeAllMediaPlayback$(completionHandler: (() => NobjcObject) | null): void;
    /** @deprecated setAllMediaPlaybackSuspended:completionHandler: */
    suspendAllMediaPlayback$(completionHandler: (() => NobjcObject) | null): void;
    /**
     * Get the current media playback state of a WKWebView. A block to invoke with the return value of the function call. If media playback exists, WKMediaPlaybackState will be one of three values: WKMediaPlaybackPaused, WKMediaPlaybackSuspended, or WKMediaPlaybackPlaying. If no media playback exists in the current WKWebView, WKMediaPlaybackState will equal WKMediaPlaybackStateNone.
     * @deprecated requestMediaPlaybackStateWithCompletionHandler:
     */
    requestMediaPlaybackStateWithCompletionHandler$(completionHandler: (arg0: WKMediaPlaybackState) => NobjcObject): void;
    /** @deprecated requestMediaPlaybackStateWithCompletionHandler: */
    requestMediaPlaybackState$(completionHandler: (arg0: WKMediaPlaybackState) => NobjcObject): void;
    /**
     * Set camera capture state of a WKWebView. State to apply for capture. A block to invoke after the camera state has been changed. If value is WKMediaCaptureStateNone, this will stop any camera capture. If value is WKMediaCaptureStateMuted, any active camera capture will become muted. If value is WKMediaCaptureStateActive, any muted camera capture will become active.
     */
    setCameraCaptureState$completionHandler$(state: WKMediaCaptureState, completionHandler: (() => NobjcObject) | null): void;
    /**
     * Set microphone capture state of a WKWebView. state to apply for capture. A block to invoke after the microphone state has been changed. If value is WKMediaCaptureStateNone, this will stop any microphone capture. If value is WKMediaCaptureStateMuted, any active microphone capture will become muted. If value is WKMediaCaptureStateActive, any muted microphone capture will become active.
     */
    setMicrophoneCaptureState$completionHandler$(state: WKMediaCaptureState, completionHandler: (() => NobjcObject) | null): void;
    takeSnapshotWithConfiguration$completionHandler$(snapshotConfiguration: _WKSnapshotConfiguration | null, completionHandler: ((snapshotImage: _NSImage, error: _NSError) => NobjcObject) | null): void;
    /**
     * Create a PDF document representation from the web page currently displayed in the WKWebView An object that specifies how the PDF capture is configured. A block to invoke when the pdf document data is ready. If the WKPDFConfiguration is nil, the method will create a PDF document representing the bounds of the currently displayed web page. The completionHandler is passed the resulting PDF document data or an error. The data can be used to create a PDFDocument object. If the data is written to a file the resulting file is a valid PDF document.
     */
    createPDFWithConfiguration$completionHandler$(pdfConfiguration: _WKPDFConfiguration | null, completionHandler: ((pdfDocumentData: _NSData, error: _NSError) => NobjcObject) | null): void;
    /**
     * Create WebKit web archive data representing the current web content of the WKWebView A block to invoke when the web archive data is ready. WebKit web archive data represents a snapshot of web content. It can be used to represent web content on a pasteboard, loaded into a WKWebView directly, and saved to a file for later use. The uniform type identifier kUTTypeWebArchive can be used get the related pasteboard type and MIME type.
     */
    createWebArchiveDataWithCompletionHandler$(completionHandler: ((arg0: _NSData, arg1: _NSError) => NobjcObject) | null): void;
    /**
     * Scales the page content by a specified factor and centers the result on a specified point. The factor by which to scale the content. The point (in view space) on which to center magnification.
     */
    setMagnification$centeredAtPoint$(magnification: number, point: CGPoint): void;
    /**
     * Searches the page contents for the given string. The string to search for. A set of options configuring the search. A block to invoke when the search completes. If the WKFindConfiguration is nil, all of the default WKFindConfiguration values will be used. A match found by the search is selected and the page is scrolled to reveal the selection. The completion handler is called after the search completes.
     */
    findString$withConfiguration$completionHandler$(string_: _NSString, configuration: _WKFindConfiguration | null, completionHandler: (result: _WKFindResult) => NobjcObject): void;
    /**
     * Begins a download in the context of the currently displayed webpage as if the WKNavigationDelegate turned a navigation into a download instead The request specifying the URL to download. A block called when the download has started. The download needs its delegate to be set in the completionHandler to receive updates about its progress.
     */
    startDownloadUsingRequest$completionHandler$(request: _NSURLRequest, completionHandler: (arg0: _WKDownload) => NobjcObject): void;
    /**
     * Resumes a download that failed or was canceled. Data from a WKDownloadDelegate's didFailWithError or a WKDownload's cancel completionHandler. A block called when the download has resumed. The download needs its delegate to be set in the completionHandler to receive updates about its progress.
     */
    resumeDownloadFromResumeData$completionHandler$(resumeData: _NSData, completionHandler: (arg0: _WKDownload) => NobjcObject): void;
    /**
     * Sets the webpage contents from the passed data as if it was the response to the supplied request. The request is never actually sent to the supplied URL, though loads of resources defined in the NSData object would be performed. The request specifying the base URL and other loading details to be used while interpreting the supplied data object. A response that is used to interpret the supplied data object. The data to use as the contents of the webpage. A new navigation.
     * @deprecated loadSimulatedRequest:response:responseData:
     */
    loadSimulatedRequest$response$responseData$(request: _NSURLRequest, response: _NSURLResponse, data: _NSData): _WKNavigation;
    /** @deprecated loadSimulatedRequest:response:responseData: */
    loadSimulatedRequest$withResponse$responseData$(request: _NSURLRequest, response: _NSURLResponse, data: _NSData): _WKNavigation;
    /**
     * Navigates to the requested file URL on the filesystem. The request specifying the file URL to which to navigate. The URL to allow read access to. If readAccessURL references a single file, only that file may be loaded by WebKit. If readAccessURL references a directory, files inside that file may be loaded by WebKit. A new navigation for the given file URL.
     */
    loadFileRequest$allowingReadAccessToURL$(request: _NSURLRequest, readAccessURL: _NSURL): _WKNavigation;
    /**
     * Sets the webpage contents from the passed HTML string as if it was the response to the supplied request. The request is never actually sent to the supplied URL, though loads of resources defined in the HTML string would be performed. The request specifying the base URL and other loading details to be used while interpreting the supplied data object. The data to use as the contents of the webpage. A new navigation.
     * @deprecated loadSimulatedRequest:responseHTMLString:
     */
    loadSimulatedRequest$responseHTMLString$(request: _NSURLRequest, string_: _NSString): _WKNavigation;
    /** @deprecated loadSimulatedRequest:responseHTMLString: */
    loadSimulatedRequest$withResponseHTMLString$(request: _NSURLRequest, string_: _NSString): _WKNavigation;
    /**
     * Returns an NSPrintOperation object configured to print the contents of this WKWebView The print info object used to configure the resulting print operation.
     */
    printOperationWithPrintInfo$(printInfo: _NSPrintInfo): _NSPrintOperation;
    setMinimumViewportInset$maximumViewportInset$(minimumViewportInset: NSEdgeInsets, maximumViewportInset: NSEdgeInsets): void;
    /**
     * Called when the client wants to fetch WKWebView data. The option set of WKWebView data types whose data the client wants to fetch. The completion handler that should be invoked with the retrieved data and possibly an error. The retrieved data will be a serialized blob. If an error occurred, the retrieved data will be nil. An error may occur if the data cannot be retrieved for some reason (such as a crash).
     */
    fetchDataOfTypes$completionHandler$(dataTypes: WKWebViewDataType, completionHandler: ((data: _NSData, error: _NSError) => NobjcObject) | null): void;
    /**
     * Called when the client wants to restore WKWebView data. The serialized blob containing the data that the client wants to restore. The completion handler that may be invoked with an error if the data is in an invalid format or if the data cannot be restored for some other reason (such as a crash).
     */
    restoreData$completionHandler$(data: _NSData, completionHandler: ((error: _NSError) => NobjcObject) | null): void;
    /**
     * Action method that navigates to the back item in the back-forward list. The object that sent this message.
     */
    goBack$(sender: NobjcObject | null): void;
    /**
     * Action method that navigates to the forward item in the back-forward list. The object that sent this message.
     */
    goForward$(sender: NobjcObject | null): void;
    /** Action method that reloads the current page. The object that sent this message. */
    reload$(sender: NobjcObject | null): void;
    /**
     * Action method that reloads the current page, performing end-to-end revalidation using cache-validating conditionals if possible. The object that sent this message.
     */
    reloadFromOrigin$(sender: NobjcObject | null): void;
    /**
     * Action method that stops loading all resources on the current page. The object that sent this message.
     */
    stopLoading$(sender: NobjcObject | null): void;
    /** A copy of the configuration with which the web view was initialized. */
    configuration(): _WKWebViewConfiguration;
    /** The web view's navigation delegate. */
    navigationDelegate(): _WKNavigationDelegate | null;
    setNavigationDelegate$(value: _WKNavigationDelegate | null): void;
    /** The web view's user interface delegate. */
    UIDelegate(): _WKUIDelegate | null;
    setUIDelegate$(value: _WKUIDelegate | null): void;
    /** The web view's back-forward list. */
    backForwardList(): _WKBackForwardList;
    /** The page title. is key-value observing (KVO) compliant for this property. */
    title(): _NSString | null;
    /**
     * The active URL. This is the URL that should be reflected in the user interface. is key-value observing (KVO) compliant for this property.
     */
    URL(): _NSURL | null;
    /**
     * A Boolean value indicating whether the view is currently loading content. is key-value observing (KVO) compliant for this property.
     */
    loading(): boolean;
    /**
     * An estimate of what fraction of the current navigation has been completed. This value ranges from 0.0 to 1.0 based on the total number of bytes expected to be received, including the main document and all of its potential subresources. After a navigation completes, the value remains at 1.0 until a new navigation starts, at which point it is reset to 0.0. is key-value observing (KVO) compliant for this property.
     */
    estimatedProgress(): number;
    /**
     * A Boolean value indicating whether all resources on the page have been loaded over securely encrypted connections. is key-value observing (KVO) compliant for this property.
     */
    hasOnlySecureContent(): boolean;
    /**
     * A SecTrustRef for the currently committed navigation. is key-value observing (KVO) compliant for this property.
     */
    serverTrust(): NobjcObject;
    /**
     * A Boolean value indicating whether there is a back item in the back-forward list that can be navigated to. is key-value observing (KVO) compliant for this property. backForwardList.
     */
    canGoBack(): boolean;
    /**
     * A Boolean value indicating whether there is a forward item in the back-forward list that can be navigated to. is key-value observing (KVO) compliant for this property. backForwardList.
     */
    canGoForward(): boolean;
    /**
     * The state of camera capture on a web page. is key-value observing (KVO) compliant for this property.
     */
    cameraCaptureState(): WKMediaCaptureState;
    /**
     * The state of microphone capture on a web page. is key-value observing (KVO) compliant for this property.
     */
    microphoneCaptureState(): WKMediaCaptureState;
    /**
     * A Boolean value indicating whether horizontal swipe gestures will trigger back-forward list navigations. The default value is NO.
     */
    allowsBackForwardNavigationGestures(): boolean;
    setAllowsBackForwardNavigationGestures$(value: boolean): void;
    /**
     * The custom user agent string or nil if no custom user agent string has been set.
     */
    customUserAgent(): _NSString | null;
    setCustomUserAgent$(value: _NSString | null): void;
    /**
     * A Boolean value indicating whether link preview is allowed for any links inside this WKWebView. The default value is YES on Mac and iOS.
     */
    allowsLinkPreview(): boolean;
    setAllowsLinkPreview$(value: boolean): void;
    /**
     * A Boolean value indicating whether magnify gestures will change the web view's magnification. It is possible to set the magnification property even if allowsMagnification is set to NO. The default value is NO.
     */
    allowsMagnification(): boolean;
    setAllowsMagnification$(value: boolean): void;
    /**
     * The factor by which the viewport of the page is currently scaled. The default value is 1.0.
     */
    magnification(): number;
    setMagnification$(value: number): void;
    /**
     * The factor by which page content is scaled relative to the viewport. The default value is 1.0. Changing this value is equivalent to web content setting the CSS "zoom" property on all page content.
     */
    pageZoom(): number;
    setPageZoom$(value: number): void;
    /**
     * The media type for the WKWebView The value of mediaType will override the normal value of the CSS media property. Setting the value to nil will restore the normal value. The default value is nil.
     */
    mediaType(): _NSString | null;
    setMediaType$(value: _NSString | null): void;
    /**
     * The interaction state for the WKWebView The interaction state (back-forward list, currently loaded page, scroll position, form data...) for the WKWebView, which can be retrieved and set on another WKWebView to restore state.
     */
    interactionState(): NobjcObject | null;
    setInteractionState$(value: NobjcObject | null): void;
    /** A Boolean value indicating whether Screen Time blocking has occurred. */
    isBlockedByScreenTime(): boolean;
    themeColor(): _NSColor;
    underPageBackgroundColor(): _NSColor;
    setUnderPageBackgroundColor$(value: _NSColor): void;
    /** A WKWebView's fullscreen state. */
    fullscreenState(): WKFullscreenState;
    minimumViewportInset(): NSEdgeInsets;
    maximumViewportInset(): NSEdgeInsets;
    /** Controls whether this is inspectable in Web Inspector. The default value is NO. */
    inspectable(): boolean;
    setInspectable$(value: boolean): void;
    /**
     * A Boolean value indicating whether Writing Tools is active for the view. is key-value observing (KVO) compliant for this property.
     */
    writingToolsActive(): boolean;
    /**
     * @abstract Edge insets on all sides, relative to the web view's coordinate space, which shrink the bounds of the layout viewport. Obscured content areas (that is, parts of the web view that overlap with obscured content insets) should be covered by UI elements managed by the client, such as a navigation bar or buttons. The web view automatically adjusts how fixed and sticky elements are rendered near edges with non-zero obscured insets, to ensure compatibility and legibility. All edge insets must be non-negative. Defaults to 0 on all sides.
     */
    obscuredContentInsets(): NSEdgeInsets;
    setObscuredContentInsets$(value: NSEdgeInsets): void;
    /** @deprecated serverTrust */
    certificateChain(): _NSArray;
}
export interface _WKWebView extends _NSUserInterfaceValidations, _NSTextFinderClient {
}
