declare global { interface Window { clarity?: (...args: unknown[]) => void; } } /** * Microsoft Clarity loader — mirrors {@link AppAnalytics} (null render, injects * the vendor tag on mount from a Vite env var). Set `VITE_APP_CLARITY_ID`. * * On top of the plain snippet it stitches every session of the logged-in Tycho * user under their stable `uid` (from `CookieStorage` / `SecurityUtils.parseJwt`) * via `clarity('identify', …)`, so cross-module full-page navigations count as * ONE identified user instead of N anonymous ones. Re-runs identify when the JWT * cookie changes (login/logout) or the tab becomes visible again. The friendly * name is PII — drop the last `identify` argument for a stricter privacy posture. */ export default function AppClarity(): null;