"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("node:os");function a(){let e="";const t=s.networkInterfaces();for(const r in t){const i=t[r]||[];for(const n of i)if(n.family==="IPv4"&&!n.internal)return e=n.address,e}return e}function o(){let e="";const t=s.networkInterfaces();for(const r in t){const i=t[r]||[];for(const n of i)if(n.family==="IPv6"&&!n.internal)return e=n.address,e}return e}exports.internalIPv4=a;exports.internalIPv6=o;