import { type Config, type GetGuestOrderLegacy, type GetGuestOrderLegacyData, type OrderLegacy } from '@farfetch/blackout-client'; import type { Dispatch } from 'redux'; import type { FetchOrderAction } from '../../types/actions.types.js'; import type { GetOptionsArgument, StoreState } from '../../../types/index.js'; /** * Fetches guest order details using the legacy client. * * @param getGuestOrderLegacy - Get guest order legacy client. * * @returns Thunk factory. */ declare const fetchGuestOrderLegacyFactory: (getGuestOrderLegacy: GetGuestOrderLegacy) => (orderId: string, data: GetGuestOrderLegacyData, config?: Config) => (dispatch: Dispatch, getState: () => StoreState, { getOptions, }: GetOptionsArgument) => Promise; export default fetchGuestOrderLegacyFactory;