import { type Config, type GetStaffMember, type StaffMember } from '@farfetch/blackout-client'; import type { Dispatch } from 'redux'; import type { FetchStaffMemberAction } from '../../types/index.js'; /** * Creates a thunk factory configured with the specified client to fetch a staff * member based on an id. * * @param getStaffMember - Get staff member client. * * @returns Thunk factory. */ declare const fetchStaffMemberFactory: (getStaffMember: GetStaffMember) => (id: StaffMember['id'], config?: Config) => (dispatch: Dispatch) => Promise; export default fetchStaffMemberFactory;