/** * performance.interactionCount polyfill * * The interactionCount is an integer which counts the total number of distinct user interactions, * for which there was a unique interactionId. * * The interactionCount polyfill is an estimate based on a convention specific to Chrome. Cf: https://github.com/GoogleChrome/web-vitals/pull/213 * This is currently not an issue as the polyfill is only used for INP which is currently only supported on Chrome. * Hopefully when/if other browsers will support INP, they will also implement performance.interactionCount at the same time, so we won't need that polyfill. * * Reference implementation: https://github.com/GoogleChrome/web-vitals/blob/main/src/lib/polyfills/interactionCountPolyfill.ts */ export declare function initInteractionCountPolyfill(): void; /** * Returns the `interactionCount` value using the native API (if available) * or the polyfill estimate in this module. */ export declare const getInteractionCount: () => number;