//! Distributed configuration management for multi-device sync.
//!
//! Each config type supports merge-based conflict resolution, encrypted push/pull
//! to the Session swarm, and dirty-state tracking. Config data is serialized using
//! bencode and protected with BLAKE2b hashing.
/// Community (open group) configuration.
/// Generic config wrapper with lifecycle state tracking (Clean/Dirty/Waiting).
/// Core merge-capable config message types with bencode serialization.
/// Contact list with approval states and profile data.
/// Volatile conversation metadata: mute, pin, read position.
/// Config encryption/decryption for swarm storage.
/// Config error codes mirroring the C enum.
/// Message expiry types and configuration.
/// Group-specific config: info, members, and key rotation.
/// Device-local settings (not synced to swarm).
/// Namespace identifiers for Session config and message storage.
/// Notification mode and content types.
/// Profile picture URL and key management.
/// User's group and community memberships.
/// User profile: display name, avatar, settings.