UNPKG

@aller/blink

Version:

A library for tracking user behaviour.

13 lines (12 loc) 432 B
import { BlinkEvent } from '../types'; import { Page } from '../selectors/get-page-state'; export interface PrepareConsentInput { page: Page; uuid: string; tcfV2: string; kind: string; consentGranted: boolean; consentedToAll: boolean; applies: boolean; } export default function prepareConsentEvent({ page, uuid, tcfV2, kind, consentGranted, consentedToAll, applies, }: PrepareConsentInput): BlinkEvent;