import { BrowserPlugin } from '@snowplow/browser-tracker-core'; type PrivacySandboxTopic = { configVersion: string; modelVersion: string; taxonomyVersion: string; topic: number; version: string; }; type BrowsingTopicsOptions = { /* Enabling will not cause the current page to be included in the weekly epoch calculation or update the list of topics observed for the caller. */ skipObservation?: boolean; }; declare global { interface Document { featurePolicy?: { allowsFeature: (feature: string, origin?: string) => boolean; }; browsingTopics: (options: BrowsingTopicsOptions) => Promise; } } /** * Adds Privacy Sandbox Topics context to events */ declare function PrivacySandboxPlugin(): BrowserPlugin; export { PrivacySandboxPlugin };