import { default as http } from 'node:http';
/**
 * Determines a readable network address and port for the given HTTP server.
 * If the server is bound to a wildcard (0.0.0.0 or ::) or loopback address,
 * it will attempt to use a non-internal IPv4 address instead.
 *
 * @param server HTTP server instance to query.
 * @returns object containing address and port
 * @throws Error if the server is not currently listening or the address is not in the expected format.
 */
export declare function getReadableServerAddress(server: http.Server): {
    address: string;
    port: number;
};
