import { ContextPlugin } from '@uniformdev/context'; declare global { interface Window { __UF_PATCHED_GTAG__?: boolean; } } declare const enableGoogleGtagAnalytics: (options?: { /** If true, disables reflecting events passed to gtag into Uniform Context as event signals */ disableEventSignals?: boolean; /** Override the window object that will have the gtag property added to it */ theWindow?: { gtag?: Gtag.Gtag; __UF_PATCHED_GTAG__?: boolean; }; /** Whether to emit every personalize and test that occurs, or only if something has actually changed * false (default): only emit events when a test assigns a variant the first time, or a personalization chooses different variants than before * true: emit an event every time a personalization or test is evaluated (e.g. for vDOM frameworks, each time a re-render occurs) */ emitAll?: boolean; }) => ContextPlugin; export { enableGoogleGtagAnalytics };