Initial commit

This commit is contained in:
2026-08-02 20:55:23 +02:00
parent 411f484b40
commit d558d18d9a
295 changed files with 9 additions and 5880 deletions
-11
View File
@@ -1,11 +0,0 @@
import type { ConsentState } from './categories.js';
/**
* Consent persistence in a cookie. Stored with a version so we can invalidate
* old consents when the policy changes, and a timestamp (GDPR: consent must be
* dated). Readable both client-side (banner) and server-side (script gating).
*/
export declare const CONSENT_COOKIE = "cookie-consent";
export declare const CONSENT_VERSION = 1;
export declare const CONSENT_MAX_AGE: number;
export declare function serializeConsent(state: ConsentState): string;
export declare function parseConsent(raw: string | undefined): ConsentState | null;