import { type Brands, type Config, type GetBrands, type GetBrandsQuery } from '@farfetch/blackout-client'; import type { Dispatch } from 'redux'; import type { FetchBrandsAction } from '../../types/index.js'; import type { StoreState } from '../../../types/index.js'; /** * Creates a thunk factory configured with the specified client to fetch brands for * a given query or all brands if no query is provided. * * @param getBrands - Get brands client. * * @returns - Thunk factory. */ declare const fetchBrandsFactory: (getBrands: GetBrands) => (query?: GetBrandsQuery, useCache?: boolean, config?: Config) => (dispatch: Dispatch, getState: () => StoreState) => Promise; export default fetchBrandsFactory;