/** * A Universally Unique Identifier (UUID) is a 36-character alphanumeric string that's typically represented in the following format: * - Format: 8-4-4-4-12 * */ declare const UUID = 36; /** * The length of an Apple device's unique device identifier (UDID) depends on the model of the device: * - iPhone X and earlier: The UDID is a 40-character alphanumeric string * - iPhone XS and later: The UDID is a 24-character string with a dash after the 8th digit * */ declare const UDID = 40; /** * Apple's Identifier for Vendors (IDFV). * - `var identifierForVendor: UUID? { get }` An alphanumeric string that uniquely identifies a device to the app’s vendor. * - Reference: [identifierForVendor](https://developer.apple.com/documentation/uikit/uidevice/1620059-identifierforvendor) * */ declare const IDFV = 36; /** * Apple's Identifier for Advertisers (IDFA). * - `var advertisingIdentifier: UUID { get }` The UUID that is specific to a device. * - Reference: [advertisingIdentifier](https://developer.apple.com/documentation/adsupport/asidentifiermanager/advertisingidentifier) * */ declare const IDFA = 36; /** * Android Device ID * - 64-bit number (expressed as a hexadecimal string) * - Reference: [ANDROID_ID](https://developer.android.com/reference/android/provider/Settings.Secure.html#ANDROID_ID) * */ declare const ANDROID_ID = 16; /** * - Web Device ID: UUID v4 * - iOS Device ID: IDFV * - Android Device ID: ANDROID_ID * */ declare const DEVICE_ID: number; /** * - The advertising ID is represented using version 3 of the universally unique identifier (UUID) format or an equivalent 128-bit format. * - If this permission is not declared, the returned value will be 00000000-0000-0000-0000-000000000000 starting early 2022. * - Reference: [AD_ID](https://developers.google.com/android/reference/com/google/android/gms/ads/identifier/AdvertisingIdClient.Info#public-string-getid) * */ declare const AAID = 36; /** * - Web: UUID * - iOS: IDFA * - Android: AAID * */ declare const ADVERTISING_ID: number; /** * - An IPv4 address is at most 4 sets of 3 numbers (12 characters), each set separated by a dot (.). That makes 15 characters. * - An IPv6 address, at its longest, would be 8 sets of 4 characters (32 total), each set separated by a colon. That makes 39 characters. * */ declare const IPv4 = 15; declare const IPv6 = 39; declare const IPv4_MAPPED_IPv6 = 45; declare const IP: number; /** * - The longest string in the database is America/Argentina/ComodRivadavia. It's 32 characters long. * - The mysql.time_zone_name table has a Name column defined with 64 characters. * - It makes sense to use VARCHAR(64) for storing this information. * - Reference: [List of tz database time zones](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) * */ declare const TIMEZONE_LONGEST: number; declare const TIMEZONE: number; /** * Reference: [List of ISO 3166 country codes](https://en.wikipedia.org/wiki/List_of_ISO_3166_country_codes) * */ declare const COUNTRY_CODE_ALPHA_2 = 2; declare const COUNTRY_CODE_ALPHA_3 = 3; declare const COUNTRY_CODE: number; /** * Reference: [RFC5646 Tags for Identifying Languages](https://www.rfc-editor.org/rfc/rfc5646#section-4.4.1) * The following illustration shows how the 35-character recommendation was derived: * ``` * language = 8 ; longest allowed registered value * ; longer than primary+extlang * ; which requires 7 characters * script = 5 ; if not suppressed: see Section 4.1 * region = 4 ; UN M.49 numeric region code * ; ISO 3166-1 codes require 3 * variant1 = 9 ; needs 'language' as a prefix * variant2 = 9 ; very rare, as it needs * ; 'language-variant1' as a prefix * * total = 35 characters * ``` * */ declare const LANGUAGE_CODE = 35; /** * Mailbox = Local-part "@" ( Domain / address-literal ) * - Local-part: The maximum total length of a user name or other local-part is 64 octets. * - Domain: The maximum total length of a domain name or number is 255 octets. * - Maximum length of an email address: 64 + 1 + 255 = 320 * - Reference: [Simple Mail Transfer Protocol - Size Limits and Minimums](https://datatracker.ietf.org/doc/html/rfc5321#section-4.5.3.1) * */ declare const EMAIL_LOCAL_PART = 64; declare const EMAIL_DOMAIN = 255; declare const EMAIL: number; /** * Reference: [E.164](https://en.wikipedia.org/wiki/E.164) * */ declare const PHONE_NUMBER = 15; declare const index_AAID: typeof AAID; declare const index_ADVERTISING_ID: typeof ADVERTISING_ID; declare const index_ANDROID_ID: typeof ANDROID_ID; declare const index_COUNTRY_CODE: typeof COUNTRY_CODE; declare const index_COUNTRY_CODE_ALPHA_2: typeof COUNTRY_CODE_ALPHA_2; declare const index_COUNTRY_CODE_ALPHA_3: typeof COUNTRY_CODE_ALPHA_3; declare const index_DEVICE_ID: typeof DEVICE_ID; declare const index_EMAIL: typeof EMAIL; declare const index_EMAIL_DOMAIN: typeof EMAIL_DOMAIN; declare const index_EMAIL_LOCAL_PART: typeof EMAIL_LOCAL_PART; declare const index_IDFA: typeof IDFA; declare const index_IDFV: typeof IDFV; declare const index_IP: typeof IP; declare const index_IPv4: typeof IPv4; declare const index_IPv4_MAPPED_IPv6: typeof IPv4_MAPPED_IPv6; declare const index_IPv6: typeof IPv6; declare const index_LANGUAGE_CODE: typeof LANGUAGE_CODE; declare const index_PHONE_NUMBER: typeof PHONE_NUMBER; declare const index_TIMEZONE: typeof TIMEZONE; declare const index_TIMEZONE_LONGEST: typeof TIMEZONE_LONGEST; declare const index_UDID: typeof UDID; declare const index_UUID: typeof UUID; declare namespace index { export { index_AAID as AAID, index_ADVERTISING_ID as ADVERTISING_ID, index_ANDROID_ID as ANDROID_ID, index_COUNTRY_CODE as COUNTRY_CODE, index_COUNTRY_CODE_ALPHA_2 as COUNTRY_CODE_ALPHA_2, index_COUNTRY_CODE_ALPHA_3 as COUNTRY_CODE_ALPHA_3, index_DEVICE_ID as DEVICE_ID, index_EMAIL as EMAIL, index_EMAIL_DOMAIN as EMAIL_DOMAIN, index_EMAIL_LOCAL_PART as EMAIL_LOCAL_PART, index_IDFA as IDFA, index_IDFV as IDFV, index_IP as IP, index_IPv4 as IPv4, index_IPv4_MAPPED_IPv6 as IPv4_MAPPED_IPv6, index_IPv6 as IPv6, index_LANGUAGE_CODE as LANGUAGE_CODE, index_PHONE_NUMBER as PHONE_NUMBER, index_TIMEZONE as TIMEZONE, index_TIMEZONE_LONGEST as TIMEZONE_LONGEST, index_UDID as UDID, index_UUID as UUID }; } export { ANDROID_ID as A, COUNTRY_CODE_ALPHA_2 as C, DEVICE_ID as D, EMAIL_LOCAL_PART as E, IDFV as I, LANGUAGE_CODE as L, PHONE_NUMBER as P, TIMEZONE_LONGEST as T, UUID as U, UDID as a, IDFA as b, AAID as c, ADVERTISING_ID as d, IPv4 as e, IPv6 as f, IPv4_MAPPED_IPv6 as g, IP as h, index as i, TIMEZONE as j, COUNTRY_CODE_ALPHA_3 as k, COUNTRY_CODE as l, EMAIL_DOMAIN as m, EMAIL as n };