@cliqdigital/bloomreach-sdk
Version:
React component library for integrating Bloomreach SDK with push notifications support
11 lines (10 loc) • 436 B
TypeScript
export declare function useBloomreach(): {
isInitialized: boolean;
hasConsent: boolean;
identifyUser: (userId: string, properties?: Record<string, any>) => void;
updateUser: (properties: Record<string, any>) => void;
isSubscribed: () => Promise<boolean>;
subscribe: () => Promise<boolean>;
unsubscribe: () => Promise<boolean>;
identify: (customerId: string, properties?: Record<string, any>) => void;
};