import { type Config, type PutUserDefaultBillingAddress, type User, type UserAddress } from '@farfetch/blackout-client'; import type { Dispatch } from 'redux'; import type { SetUserDefaultBillingAddressAction } from '../../types/index.js'; /** * Sets the address specified with 'addressId', as the default billing address. * * @param putUserDefaultBillingAddress - Put default billing address client. * * @returns Thunk factory. */ declare const setUserDefaultBillingAddressFactory: (putUserDefaultBillingAddress: PutUserDefaultBillingAddress) => (userId: User['id'], addressId: UserAddress['id'], config?: Config) => (dispatch: Dispatch) => Promise; export default setUserDefaultBillingAddressFactory;