import type { PatchWishlistSet } from './types/index.js'; /** * Method responsible for updating information of a set from the wishlist. Please * note that this PATCH endpoint use the JsonPatch format to send data. * * @example Example `data` to edit the name of the set * ``` * [ * { * value: 'My custom set name', * path: '/name', * op: 'add' * } * ] * ``` * * @example Example `data` to edit the name and description of the set * ``` * [ * { * value: 'My custom set name', * path: '/name', * op: 'add' * }, * { * value: 'My custom set description', * path: '/description', * op: 'add' * } * ] * ``` * * @example Example `data` to add wishlist items to the set * ``` * [ * { * value: { wishlistItemId: 269002001 }, * path: '/wishlistSetItems/-', * op: 'add' * } * ] * ``` * * @example Example `data` to remove a specific wishlist items from the set * ``` * [ * { * path: '/wishlistSetItems/0', * op: 'remove' * } * ] * ``` * * @example Example `data` to remove all wishlist items from the set * ``` * [ * { * path: '/wishlistSetItems/', * op: 'remove' * } * ] * ``` * * @see {@link https://docs.microsoft.com/en-us/aspnet/core/web-api/jsonpatch} * * @param id - Universal identifier of the wishlist. * @param setId - Global identifier of the set to update. * @param data - Details to update. * @param config - Custom configurations to send to the client instance (axios). * * @returns Promise that will be resolved when the call to the endpoint finishes. */ declare const patchWishlistSet: PatchWishlistSet; export default patchWishlistSet;