/** * Vendored and pruned from node "OS" module dependency version of * @see https://github.com/indutny/node-ip */ import { Buffer } from "buffer"; declare const ip: { isV4Format: (ip: string) => boolean; toBuffer: (ip: string, buff?: Buffer, offset?: number) => Buffer; isV6Format: (ip: string) => boolean; toLong: (ip: string) => number; fromLong: (ipl: number) => string; subnet: (addr: any, mask: any) => { networkAddress: string; firstAddress: string; lastAddress: string; broadcastAddress: string; subnetMask: any; subnetMaskLength: number; numHosts: number; length: number; contains(other: string): boolean; }; toString: (buff: any, offset?: number, length?: number) => any; fromPrefixLen: (prefixlen: number, family?: string) => any; cidrSubnet: (cidrString: string) => { networkAddress: string; firstAddress: string; lastAddress: string; broadcastAddress: string; subnetMask: any; subnetMaskLength: number; numHosts: number; length: number; contains(other: string): boolean; }; mask: (addrA: string, maskA: string) => any; }; export default ip; //# sourceMappingURL=ip.d.ts.map