import { Store } from 'vuex' ; import { RootXStoreState , StoreModuleStateAndGetters } from '../store/store.types' ; import { getGettersProxy } from '../store/utils/getters-proxy.utils' ; import { ExtractState , XModuleName } from '../x-modules/x-modules.types' ; import { Wiring } from './wiring.types' ; param wiring returns public export function createWiring < T extends Partial < Wiring > > ( wiring ) { return wiring ; } param state param getters param moduleName - The  XModuleName of the module.
 *  returns The  StoreModuleStateAndGetters with the Getters and the State of the
 *  XStoreModule defined by moduleName.
 *
 *  public export function getStateAndGettersFromModule < ModuleName extends XModuleName > ( state , getters , moduleName ) { return { state : state . x [ moduleName ] as unknown as ExtractState < ModuleName > , getters : getGettersProxy ( getters , moduleName ) } ; }