import { type CheckoutOrder, type Config, type GetCheckoutOrder, type GetCheckoutOrderQuery, type GetCheckoutOrderResponse } from '@farfetch/blackout-client'; import type { Dispatch } from 'redux'; import type { GetOptionsArgument, StoreState } from '../../../types/index.js'; /** * Method responsible for obtaining the checkout. * * @param getCheckoutOrder - Get checkout client. * * @returns Thunk factory. */ declare const fetchCheckoutOrderFactory: (getCheckoutOrder: GetCheckoutOrder) => (checkoutOrderId: CheckoutOrder['id'], query?: GetCheckoutOrderQuery, config?: Config) => (dispatch: Dispatch, getState: () => StoreState, { getOptions, }: GetOptionsArgument) => Promise; export default fetchCheckoutOrderFactory;