UNPKG

@identitysquare/cookiechimp-segment-wrapper

Version:
20 lines (19 loc) 559 B
interface CookieChimpPreferences { acceptedCategories: string[]; rejectedCategories: string[]; } interface CookieChimp { visitorNeedsConsent: boolean; getUserPreferences: () => CookieChimpPreferences; validConsent: () => boolean; } declare global { interface Window { CookieChimp: CookieChimp; } } interface CookieChimpOptions { alwaysLoadSegment?: boolean; } export declare const withCookieChimpCMP: (analytics: any, options?: CookieChimpOptions) => import("@segment/analytics-consent-tools").AnyAnalytics; export {};