import { RequestOptionsFactory } from '@wix/sdk-types'; /** * > **Note:** The Sections 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 section. * * To create multiple sections at once, use [Bulk Create Sections](/sections/bulk-create-sections). */ export declare function createSection(payload: object): RequestOptionsFactory; /** * > **Note:** The Section 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 sections at once. */ export declare function bulkCreateSections(payload: object): RequestOptionsFactory; /** * > **Note:** The Section 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 section by ID. */ export declare function getSection(payload: object): RequestOptionsFactory; /** * > **Note:** The Section 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 sections. */ export declare function listSections(payload: object): RequestOptionsFactory; /** * Creates a query to retrieve a list of sections. * * The `querySections()` function builds a query to retrieve a list of sections and returns a `SectionsQueryBuilder` object. * * The returned object contains the query definition, which is used to run the query using the [`find()`](/sections/sections-query-builder/find) function. * * You can refine the query by chaining `SectionsQueryBuilder` functions onto the query. `SectionsQueryBuilder` functions enable you to filter, sort, and control the results that `querySections()` returns. * * `querySections()` runs with the following `SectionsQueryBuilder` defaults, which you can override: * * * [`limit(100)`](/sections/sections-query-builder/limit) * * [`ascending('entityId')`](/sections/sections-query-builder/ascending) * * The following `SectionsQueryBuilder` functions are supported for `querySections()`. For a full description of the section object, see the object returned for the [`items`](/sections/sections-query-result/items) property in `SectionsQueryResult`. */ export declare function querySections(payload: object): RequestOptionsFactory; /** * > **Note:** The Section 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 section. * * Each time a section is updated, its revision increments by 1. The existing revision must be included when updating a section. This ensures you're working with the latest section information, and it prevents unintended overwrites. */ export declare function updateSection(payload: object): RequestOptionsFactory; /** * > **Note:** The Section 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 sections at once. * * Each time a section is updated, its revision increments by 1. The existing revision must be included when updating a section. This ensures you're working with the latest section information, and it prevents unintended overwrites. */ export declare function bulkUpdateSection(payload: object): RequestOptionsFactory; /** * > **Note:** The Section 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 section. */ export declare function deleteSection(payload: object): RequestOptionsFactory; /** * > **Note:** The Section 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 multiple sections at once. */ export declare function bulkDeleteSections(payload: object): RequestOptionsFactory;