declare const STRICT_MODE = "strict"; declare const RELAXED_MODE = "relaxed"; export declare const CONSENT_CATEGORIES: readonly ["ADVERTISING", "ANALYTICS", "FUNCTIONAL", "MARKETING", "PERSONALIZATION"]; export type ConsentCategory = typeof CONSENT_CATEGORIES[number]; export type ConsentMode = typeof STRICT_MODE | typeof RELAXED_MODE; export declare enum ConsentPreference { UNSPECIFIED = "CONSENT_PREFERENCE_UNSPECIFIED", GRANTED = "GRANTED", DENIED = "DENIED" } export type ConsentCategoryPreferences = { [K in Lowercase]: ConsentPreference; }; export type Consent = { categoryPreferences?: ConsentCategoryPreferences; }; export type ConsentState = { consentMode: ConsentMode; consent: Consent; }; export interface ConsentService { updateConsent(categoryPreferences: ConsentCategoryPreferences): void; hasConsent(destinationCategory: ConsentCategory): boolean; getConsent(): Consent; } export declare function resolveConsentMode(country?: string, workspaceConsentMode?: ConsentMode): ConsentMode; export declare class ConsentServiceImpl implements ConsentService { private readonly consentState; constructor(consentMode: ConsentMode, initialConsent?: ConsentCategoryPreferences); updateConsent(categoryPreferences: ConsentCategoryPreferences): void; getConsent(): Consent; hasConsent(destinationCategory: ConsentCategory): boolean; } export {};