import { RequestOptionsFactory } from '@wix/sdk-types'; /** Get menu details and path URL by menu ID. */ export declare function getMenuSiteUrl(payload: object): RequestOptionsFactory; /** Query menu details and path URL */ export declare function queryMenusSiteUrl(payload: object): RequestOptionsFactory; /** * > **Note:** The Menus 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). * * Creates a menu. * * To create multiple menus at once, use [Bulk Create Menus](https://dev.wix.com/docs/rest/business-solutions/restaurants/menus/menu/bulk-create-menus). */ export declare function createMenu(payload: object): RequestOptionsFactory; /** * > **Note:** The Menu 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). * * Creates multiple menus at once. */ export declare function bulkCreateMenus(payload: object): RequestOptionsFactory; /** * > **Note:** The Menu 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 a menu by ID. */ export declare function getMenu(payload: object): RequestOptionsFactory; /** * > **Note:** The Menu 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 a list of up to 500 menus. */ export declare function listMenus(payload: object): RequestOptionsFactory; /** * Creates a query to retrieve a list of menus. * * The `queryMenus()` function builds a query to retrieve a list of menus and returns a `MenusQueryBuilder` object. * * The returned object contains the query definition, which is used to run the query using the [`find()`](/menus/menus-query-builder/find) function. * * You can refine the query by chaining `MenusQueryBuilder` functions onto the query. `MenusQueryBuilder` functions enable you to filter, sort, and control the results that `queryMenus()` returns. * * `queryMenus()` runs with the following `MenusQueryBuilder` defaults, which you can override: * * * [`limit(100)`](/menus/menus-query-builder/limit) * * [`ascending('entityId')`](/menus/menus-query-builder/ascending) * * The following `MenusQueryBuilder` functions are supported for `queryMenus()`. For a full description of the menu object, see the object returned for the [`items`](/menus/menus-query-result/items) property in `MenusQueryResult`. */ export declare function queryMenus(payload: object): RequestOptionsFactory; /** * > **Note:** The Menu 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). * * Updates a menu. * * To update multiple menus at once, use [Bulk Update Menu](https://dev.wix.com/docs/rest/business-solutions/restaurants/menus/menu/bulk-update-menu). * * Each time a menu is updated, its revision increments by 1. The existing revision must be included when updating a menu. This ensures you're working with the latest menu information, and it prevents unintended overwrites. */ export declare function updateMenu(payload: object): RequestOptionsFactory; /** * > **Note:** The Menu 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). * * Updates multiple menus at once. * * Each time a menu is updated, its revision increments by 1. The existing revision must be included when updating the menu. This ensures you're working with the latest menu information, and it prevents unintended overwrites. */ export declare function bulkUpdateMenu(payload: object): RequestOptionsFactory; /** * > **Note:** The Menu 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). * * Updates only the `extendedFields` field. */ export declare function updateExtendedFields(payload: object): RequestOptionsFactory; /** * > **Note:** The Menu 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). * * Deletes a menu. */ export declare function deleteMenu(payload: object): RequestOptionsFactory;