import { type AddressPrediction, type Config, type GetAddressPredictions, type GetAddressPredictionsQuery } from '@farfetch/blackout-client'; import type { Dispatch } from 'redux'; import type { FetchAddressPredictionsAction } from '../../types/index.js'; /** * Load Predictions based in the inserted text. * * @param getAddressPredictions - Get address predictions client. * * @returns Thunk factory. */ declare const fetchAddressPredictionsFactory: (getAddressPredictions: GetAddressPredictions) => (text: string, query?: GetAddressPredictionsQuery, config?: Config) => (dispatch: Dispatch) => Promise; export default fetchAddressPredictionsFactory;