@c15t/nextjs
Version:
Developer-first CMP for Next.js: cookie banner, consent manager, preferences centre. GDPR ready with minimal setup and rich customization.
5 lines • 446 B
TypeScript
type LocationHeader = (typeof LOCATION_HEADERS)[number] | 'x-c15t-country' | 'x-c15t-region';
declare const LOCATION_HEADERS: readonly ["cf-ipcountry", "x-vercel-ip-country", "x-amz-cf-ipcountry", "x-country-code", "x-vercel-ip-country-region", "x-region-code", "accept-language", "user-agent"];
export declare function extractRelevantHeaders(headersList: Headers): Record<LocationHeader, string>;
export {};
//# sourceMappingURL=headers.d.ts.map