import { type NetworkInterfaceInfo } from 'node:os'; import type { Paths } from '../utils/index.js'; /** System lookups behind resolveHostIps; replaced in tests. */ export interface HostIpProbes { /** stdout of a command, or undefined when it fails or is missing. */ run(cmd: string, args: string[]): string | undefined; interfaces(): NodeJS.Dict; } /** * The host addresses for nip.io router hosts (all) and avahi (the first), * in create-server.sh's order (ADR-0003 ยง3): `.env` HOST_IPS, else HOST_IP * (comma lists); else the src address of `ip route get 1`; else the first * address of `hostname -I`; else the first non-internal IPv4 interface * (macOS). docker0, br-* and veth* addresses are skipped in every probe. */ export declare function resolveHostIps(paths: Paths, probes?: HostIpProbes): string[]; //# sourceMappingURL=hostIps.d.ts.map