/** * @structured-world/vue-privacy * * GDPR-compliant cookie consent with Google Consent Mode v2 support * * @example * ```ts * import { createConsentManager } from '@structured-world/vue-privacy'; * * const manager = createConsentManager({ * gaId: 'G-XXXXXXXXXX', * euDetection: 'auto', * }); * * await manager.init(); * ``` */ export { VERSION } from "./version"; export { ConsentManager, createConsentManager, CCPA_REGIONS } from "./core/consent-manager"; export { getStoredConsent, storeConsent, clearConsent, getConsentUid, setConsentUid, clearConsentUid, fetchRemoteConsent, pushRemoteConsent, createKVStorage, } from "./core/storage"; export { initGtag, setConsentDefaults, updateConsent, loadGtagScript, initGoogleAnalytics, categoriesToGoogleSignals, trackPageView, trackEvent, } from "./core/gtag"; export { DEFAULT_CONFIG } from "./core/types"; export { CloudflareGeoDetector, IPAPIGeoDetector, WorkerGeoDetector, TimezoneGeoDetector, AutoGeoDetector, createGeoDetector, } from "./geo/index"; export { initScriptBlocker, unblockScriptsByCategory } from "./core/script-blocker"; export { detectLocale, getTranslations, mergeTranslations } from "./i18n/index"; export { createBanner, createModal, injectVanillaBannerStyles, injectVanillaModalStyles, BANNER_CSS, MODAL_CSS, } from "./vanilla/index"; export type { ConsentConfig, ConsentCategories, StoredConsent, ConsentStorage, KVStorageOptions, GoogleConsentSignals, GeoDetector, GeoDetectionResult, GeoDetectionLogEntry, GeoDetectionResultWithLog, BannerConfig, PreferenceCenterConfig, CategoryDisplayConfig, SupportedLocale, GA4Item, GA4EcommerceParams, GA4PurchaseParams, GA4GenerateLeadParams, GA4RouteEvent, GA4RouteMeta, } from "./core/types"; export type { Translations, BannerTranslations, PreferenceCenterTranslations, CategoryTranslations, CCPATranslations, } from "./i18n/types"; export type { VanillaBannerOptions, VanillaBannerInstance, VanillaModalOptions, VanillaModalInstance, VanillaTheme, BannerPosition, } from "./vanilla/types";