import { SDKEvent, KitBlockerDataPlan } from './sdkRuntimeModels'; import { BaseEvent } from '@mparticle/event-models'; import { DataPlanPoint } from '@mparticle/data-planning-models'; import { IMParticleWebSDKInstance } from './mp-instance'; export default class KitBlocker { dataPlanMatchLookups: { [key: string]: {}; }; blockEvents: boolean; blockEventAttributes: boolean; blockUserAttributes: boolean; blockUserIdentities: boolean; kitBlockingEnabled: boolean; mpInstance: IMParticleWebSDKInstance; constructor(dataPlan: KitBlockerDataPlan, mpInstance: IMParticleWebSDKInstance); addToMatchLookups(point: DataPlanPoint): void; generateMatchKey(match: any): string | null; generateProductAttributeMatchKey(match: any): string | null; getPlannedProperties(type: any, validator: any): boolean | { [key: string]: true; } | null; getProductProperties(type: any, validator: any): boolean | { [key: string]: true; } | null; getMatchKey(eventToMatch: BaseEvent): string | null; getProductAttributeMatchKey(eventToMatch: BaseEvent): string | null; createBlockedEvent(event: SDKEvent): SDKEvent; transformEventAndEventAttributes(event: SDKEvent): SDKEvent; transformProductAttributes(event: SDKEvent): SDKEvent; transformUserAttributes(event: SDKEvent): { DeviceId: string; IsFirstRun: boolean; EventName: string; EventCategory: number; UserAttributes?: import("./identity-user-interfaces").ISDKUserAttributes; UserIdentities?: import("./identity-user-interfaces").ISDKUserIdentity[]; SourceMessageId: string; MPID: string; EventAttributes?: { [key: string]: string; }; SDKVersion: string; SessionId: string; SessionStartDate: number; SessionLength?: number; currentSessionMPIDs?: string[]; Timestamp: number; EventDataType: number; Debug: boolean; Location?: import("./sdkRuntimeModels").SDKGeoLocation; OptOut?: boolean; CustomFlags?: import("./sdkRuntimeModels").SDKEventCustomFlags; AppVersion?: string; AppName?: string; Package?: string; ConsentState?: import("./consent").SDKConsentState; IntegrationAttributes?: import("./store").IntegrationAttributes; ProductAction?: import("./sdkRuntimeModels").SDKProductAction; PromotionAction?: import("./sdkRuntimeModels").SDKPromotionAction; ProductImpressions?: import("./sdkRuntimeModels").SDKProductImpression[]; ShoppingCart?: import("./sdkRuntimeModels").SDKShoppingCart; UserIdentityChanges?: import("./identity-user-interfaces").ISDKUserIdentityChanges; UserAttributeChanges?: import("./identity-user-interfaces").ISDKUserAttributeChangeData; CurrencyCode: string; DataPlan?: import("./sdkRuntimeModels").SDKDataPlan; LaunchReferral?: string; ExpandedEventCount: number; ActiveTimeOnSite: number; TotalTimeOnSite: number; PageUrl?: string; IsBackgroundAST?: boolean; AlreadySentToForwarders?: boolean; }; isAttributeKeyBlocked(key: string): boolean; isIdentityBlocked(key: string): boolean; transformUserIdentities(event: SDKEvent): { DeviceId: string; IsFirstRun: boolean; EventName: string; EventCategory: number; UserAttributes?: import("./identity-user-interfaces").ISDKUserAttributes; UserIdentities?: import("./identity-user-interfaces").ISDKUserIdentity[]; SourceMessageId: string; MPID: string; EventAttributes?: { [key: string]: string; }; SDKVersion: string; SessionId: string; SessionStartDate: number; SessionLength?: number; currentSessionMPIDs?: string[]; Timestamp: number; EventDataType: number; Debug: boolean; Location?: import("./sdkRuntimeModels").SDKGeoLocation; OptOut?: boolean; CustomFlags?: import("./sdkRuntimeModels").SDKEventCustomFlags; AppVersion?: string; AppName?: string; Package?: string; ConsentState?: import("./consent").SDKConsentState; IntegrationAttributes?: import("./store").IntegrationAttributes; ProductAction?: import("./sdkRuntimeModels").SDKProductAction; PromotionAction?: import("./sdkRuntimeModels").SDKPromotionAction; ProductImpressions?: import("./sdkRuntimeModels").SDKProductImpression[]; ShoppingCart?: import("./sdkRuntimeModels").SDKShoppingCart; UserIdentityChanges?: import("./identity-user-interfaces").ISDKUserIdentityChanges; UserAttributeChanges?: import("./identity-user-interfaces").ISDKUserAttributeChangeData; CurrencyCode: string; DataPlan?: import("./sdkRuntimeModels").SDKDataPlan; LaunchReferral?: string; ExpandedEventCount: number; ActiveTimeOnSite: number; TotalTimeOnSite: number; PageUrl?: string; IsBackgroundAST?: boolean; AlreadySentToForwarders?: boolean; }; }