/** * extract FullyQualifiedDomainName of this computer */ export declare function extractFullyQualifiedDomainName(): Promise; export declare function prepareFQDN(): Promise; export declare function getFullyQualifiedDomainName(optional_max_length?: number): string; export declare function getHostname(): string; export declare function resolveFullyQualifiedDomainName(str: string): string; /** * Return all non-internal IPv4 addresses detected on this host. * * The result is sorted for deterministic output. */ export declare function getIpAddresses(): string[]; /** * Check whether a string is an IP address (v4 or v6). * * Returns `4` for IPv4, `6` for IPv6, or `0` if the string * is a hostname (not an IP literal). * * Useful for segregating `alternateHostname` and * `advertisedEndpoints` values into SAN `dNSName` vs * `iPAddress` entries. */ export declare function isIPAddress(value: string): 0 | 4 | 6; /** * Convert a dotted-decimal IPv4 address to a hex string. * * This matches the format returned by `exploreCertificate`'s * `iPAddress` SAN entries (e.g. `"192.168.1.69"` → `"c0a80145"`). */ export declare function ipv4ToHex(ip: string): string;