/** * Represents an IP address and port. */ export default class InetAddress { private readonly address; private readonly port; private readonly version; get [Symbol.toStringTag](): string; /** * Constructs an InetAddress. * @param {string} address - The IP address. * @param {number} port - The port. * @param {number} [version=4] - The IP version. * @example * ```typescript * const address = new InetAddress('0.0.0.0', 19132); * ``` */ constructor(address: string, port: number, version?: number); /** * Returns the string representation of the IP address and port. * @returns {string} The string representation of the IP address and port. */ toString(): string; /** * Returns the IP address. * @returns {string} The IP address. */ getAddress(): string; /** * Returns the port. * @returns {number} The port. */ getPort(): number; /** * Returns the IP version. * @returns {number} The IP version. */ getVersion(): number; /** * Returns the token of the IP address and port. * @returns {string} The token of the IP address and port. */ toToken(): string; } //# sourceMappingURL=InetAddress.d.ts.map