Files
2026-08-03 12:24:28 +02:00

11 lines
547 B
TypeScript

/**
* Cookie consent categories (GDPR). 'necessary' is always granted and cannot be
* disabled. The rest default to false until the user opts in.
*/
export declare const CONSENT_CATEGORIES: readonly ["necessary", "functional", "analytics", "marketing"];
export type ConsentCategory = (typeof CONSENT_CATEGORIES)[number];
export type ConsentState = Record<ConsentCategory, boolean>;
export declare const DEFAULT_CONSENT: ConsentState;
export declare const ACCEPT_ALL_CONSENT: ConsentState;
export declare const REJECT_ALL_CONSENT: ConsentState;