import { StatsigUpdateDetails, StatsigUser } from '@statsig/client-core'; type UpdaterArg = StatsigUser | ((previous: StatsigUser) => StatsigUser); type UpdaterFunc = (updated: UpdaterArg) => T; type SyncUpdateFunc = UpdaterFunc; type AsyncUpdateFunc = UpdaterFunc>; export type UseStatsigUserResult = { user: StatsigUser; updateUserSync: SyncUpdateFunc; updateUserAsync: AsyncUpdateFunc; }; export declare function useStatsigUser(): UseStatsigUserResult; export {};