export interface AddressItem { /** Address hostname */ host: string; /** IPv6 marker. Only mark IPv6 IP addresses, never domains or interface names */ ipv6?: boolean; /** Target port */ port: number; } export interface AddressSpec { [host: string]: { [port: string]: string[]; }; } /** * Check addresses for being valid and local and unique. Also converts interface names to addresses * @param addresses list of address objects * @param cb async return with address specification */ export declare function resolveAddresses(addresses: AddressItem[], cb: (addressSpec: AddressSpec) => void): void;