/**
 * @license
 * Copyright 2022-2026 Matter.js Authors
 * SPDX-License-Identifier: Apache-2.0
 */
import { MatterError } from "../MatterError.js";
class NetworkError extends MatterError {
}
class NoAddressAvailableError extends NetworkError {
}
class BindError extends NetworkError {
}
class AddressInUseError extends BindError {
}
class AddressUnreachableError extends NetworkError {
}
const STANDARD_MATTER_PORT = 5540;
var InterfaceType = /* @__PURE__ */ ((InterfaceType2) => {
  InterfaceType2[InterfaceType2["Unspecified"] = 0] = "Unspecified";
  InterfaceType2[InterfaceType2["WiFi"] = 1] = "WiFi";
  InterfaceType2[InterfaceType2["Ethernet"] = 2] = "Ethernet";
  InterfaceType2[InterfaceType2["Cellular"] = 3] = "Cellular";
  InterfaceType2[InterfaceType2["Thread"] = 4] = "Thread";
  return InterfaceType2;
})(InterfaceType || {});
class Network {
  async close() {
  }
}
export {
  AddressInUseError,
  AddressUnreachableError,
  BindError,
  InterfaceType,
  Network,
  NetworkError,
  NoAddressAvailableError,
  STANDARD_MATTER_PORT
};
//# sourceMappingURL=Network.js.map
