import type { NobjcObject } from "objc-js";
import type { _NSObject } from "../Foundation/NSObject.js";
import type { _NSString } from "../Foundation/NSString.js";
import type { _WKContentWorld } from "./WKContentWorld.js";
import type { _WKFrameInfo } from "./WKFrameInfo.js";
import type { _WKWebView } from "./WKWebView.js";
export declare class _WKScriptMessage extends _NSObject {
    static alloc(): _WKScriptMessage;
    static new(): _WKScriptMessage;
    init(): _WKScriptMessage;
    /**
     * The body of the message. Allowed types are NSNumber, NSString, NSDate, NSArray, NSDictionary, and NSNull.
     */
    body(): NobjcObject;
    /** The web view sending the message. */
    webView(): _WKWebView | null;
    /** The frame sending the message. */
    frameInfo(): _WKFrameInfo;
    /** The name of the message handler to which the message is sent. */
    name(): _NSString;
    /** The content world from which the message was sent. */
    world(): _WKContentWorld;
}
