UNPKG

nextjs-cookie-consent

Version:

A GDPR/DSGVO-compliant cookie consent banner for Next.js

6 lines (5 loc) 231 B
import { ConsentState } from '../types'; export declare const storageUtils: { get: (strategy: "localStorage" | "cookie") => ConsentState | null; set: (strategy: "localStorage" | "cookie", consent: ConsentState) => void; };