import { SetState, GetState } from 'zustand';
import { StoresUseState } from './stores/types';
import { BasketUseState } from './basket/types';
import { CustomerUseState } from './customer/types';
import { AppUseState } from './app/types';
import { RemoteConfigUseState } from './remoteConfig/types';

export type AllStoreSlices = StoresUseState &
  AppUseState &
  RemoteConfigUseState &
  CustomerUseState &
  BasketUseState;

export type StoreSetState = SetState<AllStoreSlices>;

export type StoreGetState = GetState<AllStoreSlices>;