import { EventDefinition, HttpClient } from '@wix/sdk-types'; import { QueryRichContentOptions, QueryRichContentsOptions, QueryRichContentsResponse, QueryRichContentsResponseNonNullableFields, RichContent, RichContentCreatedEnvelope, RichContentDeletedEnvelope, RichContentNonNullableFields, RichContentQueryBuilder, RichContentUpdatedEnvelope, UpdateRichContent } from './events-v1-rich-content-ricos.universal.js'; export declare const __metadata: { PACKAGE_NAME: string; }; export declare function createRichContent(httpClient: HttpClient): CreateRichContentSignature; interface CreateRichContentSignature { /** * > **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. * @param - Rich content details. * @returns Created rich content. */ (richContent: RichContent): Promise; } export declare function getRichContent(httpClient: HttpClient): GetRichContentSignature; interface GetRichContentSignature { /** * > **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. * @param - Rich content ID. * @returns The requested rich content. */ (richContentId: string): Promise; } export declare function updateRichContent(httpClient: HttpClient): UpdateRichContentSignature; interface UpdateRichContentSignature { /** * > **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. * @param - Rich content ID. * @returns Updated rich content. */ (_id: string | null, richContent: UpdateRichContent): Promise; } export declare function deleteRichContent(httpClient: HttpClient): DeleteRichContentSignature; interface DeleteRichContentSignature { /** * > **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. * @param - ID of rich content to delete. */ (richContentId: string): Promise; } export declare function queryRichContents(httpClient: HttpClient): QueryRichContentsSignature; interface QueryRichContentsSignature { /** @deprecated */ (options?: QueryRichContentsOptions | undefined): Promise; } export declare function queryRichContent(httpClient: HttpClient): QueryRichContentSignature; interface QueryRichContentSignature { /** * 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. */ (options?: QueryRichContentOptions | undefined): RichContentQueryBuilder; } export declare const onRichContentCreated: EventDefinition; export declare const onRichContentDeleted: EventDefinition; export declare const onRichContentUpdated: EventDefinition; export { ActionEvent, Address, AddressLocation, AddressStreetOneOf, Alignment, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AudioData, Background, BackgroundBackgroundOneOf, BackgroundType, BaseEventMetadata, BlockquoteData, BookingData, Border, BorderColors, BulletedListData, ButtonData, CaptionData, CellStyle, CodeBlockData, CollapsibleListData, ColorData, Colors, CountRichContentItemsRequest, CountRichContentItemsResponse, CreateRichContentRequest, CreateRichContentResponse, CreateRichContentResponseNonNullableFields, Crop, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, Decoration, DecorationDataOneOf, DecorationType, DeleteRichContentRequest, DeleteRichContentResponse, Design, Dimensions, Direction, DividerData, DocumentStyle, DomainEvent, DomainEventBodyOneOf, EmbedData, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventCopied, EventData, EventDeleted, EventMetadata, EventStatus, ExtendedFields, FileData, FileSource, FileSourceDataOneOf, FontSizeData, FontType, GIF, GIFData, GIFType, GalleryData, GalleryOptions, GetOrCreateRichContentRequest, GetOrCreateRichContentResponse, GetRichContentRequest, GetRichContentResponse, GetRichContentResponseNonNullableFields, Gradient, HTMLData, HTMLDataDataOneOf, HeadingData, Height, IdentificationData, IdentificationDataIdOneOf, Image, ImageData, InitialExpandedItems, Item, ItemDataOneOf, ItemStyle, Layout, LayoutCellData, LayoutType, LineStyle, Link, LinkData, LinkDataOneOf, LinkPreviewData, ListValue, Location, LocationType, MapCoordinates, MapData, MapSettings, MapType, Media, MentionData, MessageEnvelope, Metadata, Node, NodeDataOneOf, NodeStyle, NodeType, NullValue, Occurrence, Oembed, Option, OptionDesign, OptionLayout, OrderedListData, Orientation, PDFSettings, ParagraphData, Permissions, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollLayout, PollLayoutDirection, PollLayoutType, QueryRichContentOptions, QueryRichContentRequest, QueryRichContentResponse, QueryRichContentResponseNonNullableFields, QueryRichContentsOptions, QueryRichContentsRequest, QueryRichContentsResponse, QueryRichContentsResponseNonNullableFields, RecreateRichContentRequest, RecreateRichContentResponse, Recurrences, Rel, RestoreInfo, RichContent, RichContentCreatedEnvelope, RichContentDeletedEnvelope, RichContentNonNullableFields, RichContentQueryBuilder, RichContentQueryResult, RichContentUpdatedEnvelope, ScheduleConfig, Settings, SortOrder, Sorting, Source, Spoiler, SpoilerData, Status, StreetAddress, Styles, Subdivision, SubdivisionType, TableCellData, TableData, Target, TextAlignment, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, Type, UpdateRichContent, UpdateRichContentRequest, UpdateRichContentResponse, UpdateRichContentResponseNonNullableFields, UpsertRichContentRequest, UpsertRichContentResponse, V1RichContent, VerticalAlignment, Video, VideoData, ViewMode, ViewRole, VoteRole, WebhookIdentityType, Width, WidthType, } from './events-v1-rich-content-ricos.universal.js';