import type { Address4, Address6, v4 } from '@gibme/ip-address'; declare global { interface JQueryStatic { /** * Returns whether the specified v4 IP address is valid * @param address */ address4isValid(address: string): boolean; /** * Creates a new Address4 instance * @param address */ address4(address: string): Address4; /** * Returns whether the specified v6 IP address is valid * @param address */ address6isValid(address: string): boolean; /** * Creates a new Address6 instance * @param address */ address6(address: string): Address6; /** * Converts an IP v4 mask length into a dotted decimal subnet mask * @param length */ maskLengthToSubnetMask(length: number): string; /** * Converts a dotted decimal subnet mask into a CIDR mask length * @param mask */ subnetMaskToMaskLength(mask: string): number; } interface Window { Address4: typeof Address4; Address6: typeof Address6; v4: typeof v4; } } export {};