constants.d.ts 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. export declare const BITS = 128;
  2. export declare const GROUPS = 8;
  3. /**
  4. * Represents IPv6 address scopes
  5. * @memberof Address6
  6. * @static
  7. */
  8. export declare const SCOPES: {
  9. [key: number]: string | undefined;
  10. };
  11. /**
  12. * Represents IPv6 address types
  13. * @memberof Address6
  14. * @static
  15. */
  16. export declare const TYPES: {
  17. [key: string]: string | undefined;
  18. };
  19. /**
  20. * A regular expression that matches bad characters in an IPv6 address
  21. * @memberof Address6
  22. * @static
  23. */
  24. export declare const RE_BAD_CHARACTERS: RegExp;
  25. /**
  26. * A regular expression that matches an incorrect IPv6 address
  27. * @memberof Address6
  28. * @static
  29. */
  30. export declare const RE_BAD_ADDRESS: RegExp;
  31. /**
  32. * A regular expression that matches an IPv6 subnet
  33. * @memberof Address6
  34. * @static
  35. */
  36. export declare const RE_SUBNET_STRING: RegExp;
  37. /**
  38. * A regular expression that matches an IPv6 zone
  39. * @memberof Address6
  40. * @static
  41. */
  42. export declare const RE_ZONE_STRING: RegExp;
  43. export declare const RE_URL: RegExp;
  44. export declare const RE_URL_WITH_PORT: RegExp;
  45. //# sourceMappingURL=constants.d.ts.map