UNPKG

c15t

Version:

<div align="center"> <img src="https://c15t.com/logo-icon.png" alt="c15t Logo" width="64" height="64" /> <h1>c15t</h1> <p>Transform privacy consent from a compliance checkbox into a fully observable system</p>

40 lines 1.23 kB
/** * @packageDocumentation * Provides the default initial state configuration for the consent management store. */ import type { PrivacyConsentState } from './store.type'; /** * Default initial state for the consent management store. * * @remarks * This configuration establishes the baseline state for the consent manager, * including default consent values, compliance settings, and privacy preferences. * * Notable defaults include: * - All consents start with their type-specific default values * - GDPR compliance is globally enabled * - CCPA compliance is enabled for US users only * - Do Not Track is respected by default * - Only necessary and marketing consents are included in gdprTypes * * @example * Using the initial state: * ```typescript * const store = createConsentManagerStore(); * * // Reset to initial state * store.setState(initialState); * * // Extend initial state * const customState = { * ...initialState, * privacySettings: { * honorDoNotTrack: false * } * }; * ``` * * @public */ export declare const initialState: Omit<PrivacyConsentState, 'getEffectiveConsents' | 'hasConsentFor' | 'fetchConsentBannerInfo'>; //# sourceMappingURL=store.initial-state.d.ts.map