import { CustomCacheKeyGenerator, EvaluationsDataAdapter, Flatten, NetworkConfigCommon, StatsigOptionsCommon, StatsigPlugin } from '@statsig/client-core'; import StatsigClient from './StatsigClient'; type UrlOverrideOptions = Flatten; export type StatsigOptions = Flatten & { /** * An implementor of {@link EvaluationsDataAdapter}, used to customize the initialization/update flow. * * default: `StatsigEvaluationsDataAdapter` * * @see {@link https://docs.statsig.com/client/javascript-sdk/using-evaluations-data-adapter} */ dataAdapter?: EvaluationsDataAdapter; /** * Overrides the default cache key generation. Given the SDKKey and current * StatsigUser, return a key to be used for storing values related to that user. * * default: Cache key is a hash of the sdkKey + user.userID + user.customIDs. */ customUserCacheKeyFunc?: CustomCacheKeyGenerator; /** * Register various plugins to run along with your StatsigClient (eg SessionReplay or AutoCapture) */ plugins?: StatsigPlugin[]; }>; export {};