import { RequestOptionsFactory } from '@wix/sdk-types'; /** * > **Deprecation Notice** * > * > **This method has been replaced with Events V3's [Create Event](https://dev.wix.com/docs/rest/business-solutions/events/events-v3/create-event) and will be removed on April 15, 2025. To create an event description with rich content, use the `description` field.** * > **If your app uses this method, we recommend updating your code as soon as possible.** * * Creates rich content, such as for an event description. * * This method passes rich content value to the description of an already created event. */ export declare function createRichContent(payload: object): RequestOptionsFactory; /** * > **Deprecation Notice** * > * > **This method has been replaced with Events V3's [Get Event](https://dev.wix.com/docs/rest/business-solutions/events/events-v3/get-event) and will be removed on April 15, 2025. The rich content of an event description is now returned in the `description` field.** * > **If your app uses this method, we recommend updating your code as soon as possible.** * * Retrieves rich content of an event's field. */ export declare function getRichContent(payload: object): RequestOptionsFactory; /** * > **Deprecation Notice** * > * > **This method has been replaced with Events V3's [Update Event](https://dev.wix.com/docs/rest/business-solutions/events/events-v3/update-event) and will be removed on April 15, 2025. To update an event description with rich content, use the `description` field.** * > **If your app uses this method, we recommend updating your code as soon as possible.** * * Each time rich content is updated, `revision` increments by 1. The current `revision` must be passed when updating rich content. This ensures you're working with the latest rich content and prevents unintended overwrites. */ export declare function updateRichContent(payload: object): RequestOptionsFactory; /** * > **Deprecation Notice** * > * > **This method has been replaced with Events V3's [Update Event](https://dev.wix.com/docs/rest/business-solutions/events/events-v3/update-event) and will be removed on April 15, 2025. To delete an event description with rich content, use the `description` field.** * > **If your app uses this method, we recommend updating your code as soon as possible.** * * Deletes rich content from the event description. */ export declare function deleteRichContent(payload: object): RequestOptionsFactory; /** @deprecated It has been replaced with QueryRichContent(), and will be removed on 2025-01-01. */ export declare function queryRichContents(payload: object): RequestOptionsFactory; /** * Creates a query to retrieve a list of rich content entities. * * The `queryRichContent()` function builds a query to retrieve a list of events and returns a `RichContentQueryBuilder` object. * * The returned object contains the query definition, which is typically used to run the query using the `find()` function. * * You can refine the query by chaining `RichContentQueryBuilder` functions onto the query. `RichContentQueryBuilder` functions enable you to sort, filter, and control the results `queryRichContent()` returns. * * `queryRichContent()` runs with these `RichContentQueryBuilder` defaults, which you can override: * * - `skip(0)` * - `limit(50)` * - `descending("_createdDate")` * The functions that are chained to `queryRichContent()` are applied in the order they're called. For example, if you apply ascending('eventId') and then descending('id'), the results are sorted first by the event ID, and then, if there are multiple results with the same event ID, the items are sorted by ID. */ export declare function queryRichContent(payload: object): RequestOptionsFactory;