import { namespacedWireCommit , namespacedWireDispatch } from '../../wiring/namespaced-wires.factory' ; import { NamespacedWireCommit } from '../../wiring/namespaced-wiring.types' ; import { createWiring } from '../../wiring/wiring.utils' ; /**
 * `popularSearches`  XModuleName .
 *
 *  internal const moduleName = 'popularSearches' ; /**
 * WireDispatchfor  PopularSearchesXModule .
 *
 *  internal const wireDispatch = namespacedWireDispatch ( moduleName ) ; /**
 * WireCommit for  PopularSearchesXModule .
 *
 *  internal const wireCommit = namespacedWireCommit ( moduleName ) ; public const retrievePopularSuggestions = wireDispatch ( 'fetchAndSaveSuggestions' ) ; public export const setSearchedQueriesInPopularSearches = wireCommit ( 'setSearchedQueries' ) ; public export const setPopularSearchesExtraParams = wireCommit ( 'setParams' ) ; internal export const popularSearchesWiring = createWiring ( { PopularSearchesRequestChanged : { retrievePopularSuggestions } , SessionHistoryQueriesChanged : { setSearchedQueriesInPopularSearches } , ExtraParamsChanged : { setPopularSearchesExtraParams } } ) ;