import type { _NSData } from "./NSData.js";
import type { _NSPort } from "./NSPort.js";
import type { _NSString } from "./NSString.js";
export declare class _NSSocketPort extends _NSPort {
    static alloc(): _NSSocketPort;
    static new(): _NSSocketPort;
    init(): _NSSocketPort;
    initWithTCPPort$(port: number): _NSSocketPort | null;
    initWithProtocolFamily$socketType$protocol$address$(family: number, type: number, protocol: number, address: _NSData): _NSSocketPort | null;
    initWithProtocolFamily$socketType$protocol$socket$(family: number, type: number, protocol: number, sock: number): _NSSocketPort | null;
    initRemoteWithTCPPort$host$(port: number, hostName: _NSString | null): _NSSocketPort | null;
    initRemoteWithProtocolFamily$socketType$protocol$address$(family: number, type: number, protocol: number, address: _NSData): _NSSocketPort;
    protocolFamily(): number;
    socketType(): number;
    protocol(): number;
    address(): _NSData;
    socket(): number;
}
