import { type Config, type GetSearchSuggestions, type GetSearchSuggestionsQuery, type SearchSuggestion } from '@farfetch/blackout-client'; import type { Dispatch } from 'redux'; import type { FetchSearchSuggestionsAction } from '../../types/index.js'; /** * Creates a thunk factory configured with the specified client to fetch the * suggestions for a given search. * * @param getSearchSuggestions - Get search suggestions client. * * @returns Thunk factory. */ declare const fetchSearchSuggestionsFactory: (getSearchSuggestions: GetSearchSuggestions) => (query: GetSearchSuggestionsQuery, config?: Config) => (dispatch: Dispatch) => Promise; export default fetchSearchSuggestionsFactory;