export declare class WebMessageManager { static initialize(hard?: boolean): Promise; static maybeTriggerWebMessagesAndUpdateEventCounts(eventName: string, eventParams: Record, externalUserID: string | null, segmentationEventParamKeys?: string[] | null): void; private static _triggerWebMessages; /** * Get campaigns to schedule. */ private static _getCampaignsToSchedule; /** * Compare function for sorting campaigns by delay in ascending order. * If those are equal, sort by updated_at in descending order. */ private static _compareCampaigns; /** * This function assumes that all campaigns should be scheduled and sorted with _compareCampaigns function. * This function removes campaigns that are scheduled to be shown at the same time. * When there are multiple campaigns scheduled to be shown at the same time, the one with the latest updated_at will be chosen. */ private static _compactCampaigns; /** * Check if any scheduled campaigns should be cancelled based on the incoming event. */ private static _checkCancellationConditions; /** * Functions below are helpers for checking whether a campaign should be scheduled or not. */ private static _isCampaignActive; private static _isEventApplicableForCampaign; private static _matchTriggeringConditions; private static _matchTriggeringConditionUnit; private static _matchTriggeringEventFilters; private static _matchTriggeringEventFilterUnit; private static _isEntityOfSegment; private static _matchCondition; private static _matchEventBasedCondition; private static _matchUserPropertyBasedCondition; private static _extractUserAttribute; static isEntityOfSegment: typeof WebMessageManager._isEntityOfSegment; static isEventApplicableForCampaign: typeof WebMessageManager._isEventApplicableForCampaign; static getCampaignsToSchedule: typeof WebMessageManager._getCampaignsToSchedule; } //# sourceMappingURL=Manager.d.ts.map