/** * Anonymous view-dedup id (design doc §7.4): a rotating, non-PII identifier * used by the backend to dedup anonymous-reader view events within a 30-minute * window. This is intentionally NOT a session id — it's stored long-lived * (1 year TTL) in localStorage so the same anonymous reader is recognized * across visits, but it carries no PII and rotates once it expires. * * Mirrors the storage shape used by `src/auth/storage.ts` (localStorage + * explicit TTL), just keyed differently and with no auth semantics at all. */ /** * Returns the persisted anonId, generating and storing a new one the first * time it's needed (or after the previous one has expired/TTL'd out). */ export declare function getOrCreateAnonId(): string;