HEX
Server: nginx
System: Linux pool195-106-36.bur.atomicsites.net 6.12.57+deb12-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.57-1~bpo12+1 (2025-11-17) x86_64
User: (0)
PHP: 8.3.32
Disabled: pcntl_fork
Upload Files
File: //wordpress/plugins/jetpack/latest/jetpack_vendor/automattic/jetpack-explat/build/anon.d.ts
/**
 * Gather w.js anonymous cookie, tk_ai
 *
 * @return {?string} The anonymous cookie value, or null if it doesn't exist
 */
export declare const readAnonCookie: () => string | null;
/**
 * Initializes the anonId:
 * - Polls for AnonId receival
 * - Should only be called once at startup
 * - Happens to be safe to call multiple times if it is necessary to reset the anonId - something like this was necessary for testing.
 *
 * This purely for boot-time initialization, in usual circumstances it will be retrieved within 100-300ms, it happens in parallel booting
 * so should only delay experiment loading that much for boot-time experiments. In some circumstances such as a very slow connection this
 * can take a lot longer.
 *
 * The state of initializeAnonIdPromise should be used rather than the return of this function.
 * The return is only avaliable to make this easier to test.
 *
 * Throws on error.
 *
 * @return {Promise<string | null>} The anonymous cookie value, or null if it doesn't exist
 */
export declare const initializeAnonId: () => Promise<string | null>;
export declare const getAnonId: () => Promise<string | null>;