/** * Consent management utilities for handling tracking consent flags in cookies. * These functions bypass the consent-aware storage system to ensure consent * preferences are always stored persistently for compliance purposes. * * All consent cookies are project-specific to avoid conflicts between different * Formo projects on the same domain. */ /** * Set a consent flag directly in cookies, bypassing the consent-aware storage system. * Uses cookies for consent storage to ensure: * - Cross-domain/subdomain compatibility * - Server-side accessibility for compliance auditing * - Regulatory compliance (GDPR/CCPA requirements) * - Explicit expiration handling * - Project isolation (no conflicts between different Formo projects) * @param projectId - The project identifier (writeKey) * @param key - The cookie key * @param value - The cookie value */ export declare function setConsentFlag(projectId: string, key: string, value: string): void; /** * Get a consent flag directly from cookies, bypassing the consent-aware storage system * @param projectId - The project identifier (writeKey) * @param key - The cookie key * @returns The cookie value or null if not found */ export declare function getConsentFlag(projectId: string, key: string): string | null; /** * Remove a consent flag directly from cookies, bypassing the consent-aware storage system * @param projectId - The project identifier (writeKey) * @param key - The cookie key */ export declare function removeConsentFlag(projectId: string, key: string): void; //# sourceMappingURL=index.d.ts.map