import { CustomerIOInAppMessaging } from './customerio-inapp'; import { CustomerIOLocation } from './customerio-location'; import { CustomerIOPushMessaging } from './customerio-push'; import { MetricEvent, type CioConfig, type IdentifyParams } from './types'; /** @public */ export declare class CustomerIO { /** Initialize the CustomerIO SDK with given configuration. */ static readonly initialize: (config: CioConfig) => Promise; /** Identify a user to start tracking their activity. Requires userId, traits, or both. */ static readonly identify: ({ userId, traits, }?: IdentifyParams) => Promise; /** Clear current user identification and stop tracking. */ static readonly clearIdentify: () => Promise; /** Track an event with optional properties. */ static readonly track: (name: string, properties?: Record) => Promise; /** Track a screen view event with optional properties. */ static readonly screen: (title: string, properties?: Record) => Promise; /** Set or update attributes for the currently identified user profile. */ static readonly setProfileAttributes: (attributes: Record) => Promise; /** Set attributes for the current device. */ static readonly setDeviceAttributes: (attributes: Record) => Promise; /** Register a device token for push notifications. */ static readonly registerDeviceToken: (token: string) => Promise; /** Remove the current device token to stop receiving push notifications. */ static readonly deleteDeviceToken: () => Promise; /** Track push notification metrics for delivered, opened, or converted events. */ static readonly trackMetric: ({ deliveryID, deviceToken, event, }: { deliveryID: string; deviceToken: string; event: MetricEvent; }) => Promise; /** * Check if the CustomerIO SDK has been initialized. * @deprecated This method will be removed in a future version. If you need this functionality, please contact us. */ static readonly isInitialized: () => boolean; static readonly inAppMessaging: CustomerIOInAppMessaging; static readonly location: CustomerIOLocation; static readonly pushMessaging: CustomerIOPushMessaging; } //# sourceMappingURL=customerio-cdp.d.ts.map