import { RequestOptionsFactory } from '@wix/sdk-types'; /** * > **Note:** The Item Modifier Groups API only works with the Wix Restaurants Menus (New) app. Make sure you downloaded this app from [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new). * * Creates a modifier group. * * To create multiple modifier groups at once, use [Bulk Create Modifiers](https://dev.wix.com/docs/rest/business-solutions/restaurants/menus/item-modifier-groups/bulk-create-modifier-groups). */ export declare function createModifierGroup(payload: object): RequestOptionsFactory; /** * > **Note:** The Item Modifier Groups API only works with the Wix Restaurants Menus (New) app. Make sure you downloaded this app from [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new). * * Retrieves a modifier group by the ID. */ export declare function getModifierGroup(payload: object): RequestOptionsFactory; /** * > **Note:** The Item Modifier Groups API only works with the Wix Restaurants Menus (New) app. Make sure you downloaded this app from [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new). * * Retrieves a list of up to 100 modifier groups. */ export declare function listModifierGroups(payload: object): RequestOptionsFactory; /** * Creates a query to retrieve a list of item modifier groups. * * The `queryModifierGroups()` function builds a query to retrieve a list of item modifier groups and returns a `ModifierGroupsQueryBuilder` object. * * The returned object contains the query definition, which is used to run the query using the [`find()`](/item-modifier-groups/modifier-groups-query-builder/find) function. * * You can refine the query by chaining `ModifierGroupsQueryBuilder` functions onto the query. `ModifierGroupsQueryBuilder` functions enable you to filter, sort, and control the results that `queryModifierGroups()` returns. * * `queryModifierGroups()` runs with the following `ModifierGroupsQueryBuilder` defaults, which you can override: * * * [`limit(100)`](/item-modifier-groups/modifier-groups-query-builder/limit) * * [`ascending('entityId')`](/item-modifier-groups/modifier-groups-query-builder/ascending) * * The following `ModifierGroupsQueryBuilder` functions are supported for `queryModifierGroups()`. For a full description of the item modifier group object, see the object returned for the [`items`](/item-modifier-groups/modifier-groups-query-builder/items) property in `ModifierGroupsQueryResult`. */ export declare function queryModifierGroups(payload: object): RequestOptionsFactory; /** * > **Note:** The Item API only works with the Wix Restaurants Menus (New) app. Make sure you have installed this app from the [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new). * * Retrieves the number of modifier groups that match a specified filter. * * If a filter isn't passed in the request, the endpoint returns the count of all modifier groups. */ export declare function countModifierGroups(payload: object): RequestOptionsFactory; /** * > **Note:** The Item Modifier Groups API only works with the Wix Restaurants Menus (New) app. Make sure you downloaded this app from [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new). * * Updates a modifier group. * * Each time a modifier group is updated, its revision increments by 1. The existing revision must be included when updating the modifier group. This ensures you're working with the latest modifier group information, and it prevents unintended overwrites. */ export declare function updateModifierGroup(payload: object): RequestOptionsFactory; /** * > **Note:** The Item Modifier Groups API only works with the Wix Restaurants Menus (New) app. Make sure you downloaded this app from [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new). * * Deletes a modifier group. */ export declare function deleteModifierGroup(payload: object): RequestOptionsFactory; /** * > **Note:** The Item Modifier Groups API only works with the Wix Restaurants Menus (New) app. Make sure you downloaded this app from [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new). * * Creates multiple modifier groups. */ export declare function bulkCreateModifierGroups(payload: object): RequestOptionsFactory; /** * > **Note:** The Item Modifier Groups API only works with the Wix Restaurants Menus (New) app. Make sure you downloaded this app from [Wix App Market](https://www.wix.com/app-market/wix-restaurants-menus-new). * * Updates multiple item modifier groups at once. This function supports partial updates. * Each time a modifier group is updated, its revision increments by 1. The existing revision must be included when updating an item modifier group. This ensures you're working with the latest item information, and prevents unintended overwrites. * Up to 100 modifier groups can be returned per request. */ export declare function bulkUpdateModifierGroups(payload: object): RequestOptionsFactory; export declare function bulkDeleteModifierGroups(payload: object): RequestOptionsFactory;