/** * Event utilities * Functions for extracting event properties, campaign parameters, and person info */ export declare const PERSONAL_DATA_CAMPAIGN_PARAMS: string[]; export declare const CAMPAIGN_PARAMS: string[]; export declare const EVENT_TO_PERSON_PROPERTIES: string[]; export declare const MASKED = ""; export declare const COOKIE_CAMPAIGN_PARAMS: string[]; /** * Get campaign parameters from URL * Extracts UTM and other campaign tracking parameters from current page URL * Masks personal data parameters if configured */ export declare function getCampaignParams(customTrackedParams?: string[], maskPersonalDataProperties?: boolean, customPersonalDataProperties?: string[] | undefined): Record; export declare function getBrowserLanguage(): string | undefined; export declare function getBrowserLanguagePrefix(): string | undefined; export declare function getReferrer(): string; export declare function getReferringDomain(): string; /** * Get person info for initial storage * Extracts referrer and URL info, masks personal data if configured * Returns compact format (r: referrer, u: url) for storage efficiency */ export declare function getPersonInfo(maskPersonalDataProperties?: boolean, customPersonalDataProperties?: string[]): { r: string; u: string | undefined; }; export declare function getTimezone(): string | undefined; export declare function getTimezoneOffset(): number | undefined; /** * Get event properties that should be added to all events * Returns all event context properties (browser, device, URL, etc.) plus event metadata * Note: Only properties in EVENT_TO_PERSON_PROPERTIES are copied to person properties */ export declare function getEventProperties(maskPersonalDataProperties?: boolean, customPersonalDataProperties?: string[]): Record;