import { type Config, type PostUserAddress, type User, type UserAddress, type UserAddressInput } from '@farfetch/blackout-client'; import type { CreateUserAddressAction } from '../../types/actions.types.js'; import type { Dispatch } from 'redux'; /** * Responsible for creating an address for the current user. * * @param postAddress - PostAddress client. * * @returns Thunk factory. */ declare const createUserAddressFactory: (postAddress: PostUserAddress) => (userId: User['id'], data: UserAddressInput, config?: Config) => (dispatch: Dispatch) => Promise; export default createUserAddressFactory;