import type { _NSData } from "./NSData.js";
import type { _NSObject } from "./NSObject.js";
import type { _NSString } from "./NSString.js";
import type { NSURLSessionWebSocketMessageType } from "./NSURLSessionWebSocketMessageType.js";
export declare class _NSURLSessionWebSocketMessage extends _NSObject {
    static alloc(): _NSURLSessionWebSocketMessage;
    static new(): _NSURLSessionWebSocketMessage;
    init(): _NSURLSessionWebSocketMessage;
    /** Create a message with data type */
    initWithData$(data: _NSData): _NSURLSessionWebSocketMessage;
    /** Create a message with string type */
    initWithString$(string_: _NSString): _NSURLSessionWebSocketMessage;
    type(): NSURLSessionWebSocketMessageType;
    data(): _NSData | null;
    string(): _NSString | null;
}
