import { RequestOptionsFactory } from '@wix/sdk-types'; /** Retrieves a list of up to 100 schedule items */ export declare function listScheduleItems(payload: object): RequestOptionsFactory; /** * Creates a query to retrieve a list of schedule items. * * The `queryScheduleItems( )` function builds a query to retrieve a list of schedule items and returns a `ItemsQueryBuilder` object. * * The returned object contains the query definition, which is typically used to run the query using the [`find()`](https://www.wix.com/velo/reference/wix-events-v2/schedule/itemsquerybuilder/find) function. * * You can refine the query by chaining `ItemsQueryBuilder` functions onto the query. `ItemsQueryBuilder` functions enable you to sort, filter, and control the results `queryScheduleItems( )` returns. * * `queryScheduleItems( )` runs with these `ItemsQueryBuilder` defaults, which you can override: * * - [`limit(50)`](https://www.wix.com/velo/reference/wix-events-v2/schedule/itemsquerybuilder/limit) * - [`descending("_createdDate")`](https://www.wix.com/velo/reference/wix-events-v2/schedule/itemsquerybuilder/descending) * * The functions that are chained to `queryScheduleItems( )` are applied in the order they're called. For example, if you apply `ascending('name')` and then `descending('stageName')`, the results are sorted first by the `name`, and then, if there are multiple results with the same `name`, the items are sorted by `stageName`. */ export declare function queryScheduleItems(payload: object): RequestOptionsFactory; /** Retrieves schedule item by ID. */ export declare function getScheduleItem(payload: object): RequestOptionsFactory; /** Adds a schedule item to the draft schedule. */ export declare function addScheduleItem(payload: object): RequestOptionsFactory; /** Updates a schedule item in a draft schedule. */ export declare function updateScheduleItem(payload: object): RequestOptionsFactory; /** Deletes schedule items from the draft schedule. */ export declare function deleteScheduleItem(payload: object): RequestOptionsFactory; /** Clears all changes to the draft schedule. */ export declare function discardDraft(payload: object): RequestOptionsFactory; /** Publishes the draft schedule. */ export declare function publishDraft(payload: object): RequestOptionsFactory; /** Adjusts the time of all draft schedule items at once per event. */ export declare function rescheduleDraft(payload: object): RequestOptionsFactory;