import { Dict } from "mixpanel-browser"; import { AnalyticsCommonParams, EventParams, ForcedAttributionProperties, UserAttributionProperties } from "./types"; type GConfig = { userId?: string; email?: string; }; declare class Analytics { private initialized; private locale; private platform; private isProd; private dataLayer; private lastGConfig; private mxDistinctId; init({ isProd, locale, platform, isClearly, config, trackPageScroll, }?: { isProd?: boolean; locale?: string; platform?: string; isClearly?: boolean; config?: GConfig; trackPageScroll?: boolean; }): Promise; private processDataLayer; setUserTag(key: string, value: string): void; getGAClientId(): Promise; setGAClientId: (clientId: string) => void; trackEvent(eventName: string, properties?: EventParams, services?: { ga?: boolean; mixpanel?: boolean; customerIO?: boolean; }): Promise; private setConfig; trackPageView({ referrer }?: { referrer?: string; }): void; setUser(userId: string, userParams: { email: string; name: string; numberOfSessions: number; locale: string; phone?: string; isB2B?: boolean; CIOParams?: EventParams; mixpanelParams?: Dict; }): void; getCommonParams(): AnalyticsCommonParams; setLocale(newLocale: string): void; resetUser(): void; getUserId: () => string; getAttributionProperties(forcedAttributionProperties?: ForcedAttributionProperties): Promise; trackPageScroll(customElement?: HTMLElement): () => void; trackFirstPartyEvent(eventName: string, properties?: EventParams, forcedAttributionProperties?: ForcedAttributionProperties): Promise; } declare const _default: Analytics; export default _default;