import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types'; import { Message, AskQuestionResponse, AddFeedbackOptions, AddFeedbackResponse, BulkUpdateMessageTagsOptions, BulkUpdateMessageTagsResponse, BulkUpdateMessageTagsByFilterOptions, BulkUpdateMessageTagsByFilterResponse, UpdateExtendedFieldsOptions, UpdateExtendedFieldsResponse, MessagesQueryBuilder, MessageQuery, typedQueryMessages } from './index.typings.js'; export { Action, ActionEvent, ActionWithLiterals, AddFeedbackRequest, ApplicationError, AskQuestionRequest, Body, BulkActionMetadata, BulkUpdateMessageTagsByFilterRequest, BulkUpdateMessageTagsRequest, BulkUpdateMessageTagsResult, Category, CategoryWithLiterals, CommonQueryWithEntityContext, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, Document, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, ExtendedFields, Feedback, FeedbackType, FeedbackTypeWithLiterals, IdentificationData, IdentificationDataIdOneOf, ItemMetadata, MessageEnvelope, MessageQuerySpec, MessagesQueryResult, QueryMessagesRequest, QueryMessagesResponse, ReferenceDocument, RestoreInfo, Sender, SenderWithLiterals, SortOrder, SortOrderWithLiterals, Sorting, TagList, Tags, UpdateExtendedFieldsRequest, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.js'; declare function askQuestion$1(httpClient: HttpClient): AskQuestionSignature; interface AskQuestionSignature { /** * Asks a question to the AI Assistant. * * This method creates and sends a message from a Wix user. * @param - Question message. * @deprecated */ (question: Message): Promise>; } declare function addFeedback$1(httpClient: HttpClient): AddFeedbackSignature; interface AddFeedbackSignature { /** * Adds feedback to a message. * @param - ID of the message to add feedback to. * @deprecated */ (messageId: string, options: NonNullablePaths): Promise>; } declare function bulkUpdateMessageTags$1(httpClient: HttpClient): BulkUpdateMessageTagsSignature; interface BulkUpdateMessageTagsSignature { /** * Synchronously updates tags on a list of messages, specified using the messages' IDs. * * If a tag appears in both `assignTags` and `unassignTags`, it is assigned. * @param - Message IDs. Tags are updated for messages included in this list. * @deprecated */ (ids: string[], options?: NonNullablePaths): Promise>; } declare function bulkUpdateMessageTagsByFilter$1(httpClient: HttpClient): BulkUpdateMessageTagsByFilterSignature; interface BulkUpdateMessageTagsByFilterSignature { /** * Asynchronously updates tags on a list of messages, specified by applying a filter to all messages. If a filter is not specified, this method updates all messages. * * If a tag appears in both `assignTags` and `unassignTags`, it is assigned. * @param - Filter to apply to the messages. Tags are updated for messages included in this filter. * @deprecated */ (filter: Record, options?: NonNullablePaths): Promise>; } declare function updateExtendedFields$1(httpClient: HttpClient): UpdateExtendedFieldsSignature; interface UpdateExtendedFieldsSignature { /** * Updates extended fields. This method does not increment the revision. * @param - ID of the entity to update. * @param - Identifier for the app whose extended fields are being updated. * @deprecated */ (_id: string, namespace: string, options: NonNullablePaths): Promise>; } declare function customQueryMessages(httpClient: HttpClient): { (): MessagesQueryBuilder; (query: MessageQuery): ReturnType; }; declare const askQuestion: MaybeContext & typeof askQuestion$1>; declare const addFeedback: MaybeContext & typeof addFeedback$1>; declare const bulkUpdateMessageTags: MaybeContext & typeof bulkUpdateMessageTags$1>; declare const bulkUpdateMessageTagsByFilter: MaybeContext & typeof bulkUpdateMessageTagsByFilter$1>; declare const updateExtendedFields: MaybeContext & typeof updateExtendedFields$1>; declare const queryMessages: MaybeContext & typeof customQueryMessages>; export { AddFeedbackOptions, AddFeedbackResponse, AskQuestionResponse, BulkUpdateMessageTagsByFilterOptions, BulkUpdateMessageTagsByFilterResponse, BulkUpdateMessageTagsOptions, BulkUpdateMessageTagsResponse, Message, MessageQuery, MessagesQueryBuilder, UpdateExtendedFieldsOptions, UpdateExtendedFieldsResponse, addFeedback, askQuestion, bulkUpdateMessageTags, bulkUpdateMessageTagsByFilter, queryMessages, updateExtendedFields };