import { type Config, type GetUserLegacy } from '@farfetch/blackout-client'; import type { Dispatch } from 'redux'; import type { FetchUserAction } from '../../types/index.js'; /** * Legacy method that fetches the user data. * * @param getUserLegacy - Get user legacy client. * * @returns Thunk factory. */ declare const fetchUserLegacyFactory: (getUserLegacy: GetUserLegacy) => (config?: Config) => (dispatch: Dispatch) => Promise; export default fetchUserLegacyFactory;