import { toggleConfigValue , updateConfigValue } from '../config' ; import type { ToggleConfigValueAction , UpdateConfigValueAction , } from '../config/types' ; export * from './hooks' ; export * from './selectors' ; export * from './actions' ; export function toggleAnalyticsOptedIn ( ) { return toggleConfigValue ( 'analytics.optedIn' ) ; } export function setAnalyticsOptInSeen ( ) { return updateConfigValue ( 'analytics.seenOptIn' , true ) ; }