/** * Auto-fire a PRODUCT_VIEW event once per product page load. * * On Shopify storefronts, the liquid block renders `.primestyle-tryon-root` * elements with `data-product-id` and `data-product-title`. The first mounted * root per (sessionId, productId) tuple is the signal that a customer looked * at a product page — we log once, throttled so SPA re-mounts or multiple * widgets on the same page don't double-log. * * Backend scales this into the top step of the Engagement Funnel and the * control-cohort denominator for "vs. Decision Engine" metrics. */ export declare function maybeFireProductView(root: Element): void; /** * Wire all `.primestyle-tryon-root` elements on the page so the first mount * logs a PRODUCT_VIEW. Safe to call multiple times — deduped by product id. */ export declare function installProductViewTracking(): void;