import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types'; import { ChatSettings, UpdateChatSettings, ChatSettingsCreatedEnvelope, ChatSettingsDeletedEnvelope, ChatSettingsUpdatedEnvelope, ChatSettingsQueryBuilder, ChatSettingsQuery, typedQueryChatSettings } from './index.typings.js'; export { AccountInfo, AccountInfoMetadata, ActionEvent, BaseEventMetadata, ChatSettingsQueryResult, ChatSettingsQuerySpec, CommonQueryWithEntityContext, CreateChatSettingsRequest, CreateChatSettingsResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DeleteChatSettingsRequest, DeleteChatSettingsResponse, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, GetChatSettingsRequest, GetChatSettingsResponse, IdentificationData, IdentificationDataIdOneOf, MessageEnvelope, Personality, PersonalityWithLiterals, QueryChatSettingsRequest, QueryChatSettingsResponse, RestoreInfo, SortOrder, SortOrderWithLiterals, Sorting, UpdateChatSettingsRequest, UpdateChatSettingsResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.js'; declare function createChatSettings$1(httpClient: HttpClient): CreateChatSettingsSignature; interface CreateChatSettingsSignature { /** * Creates a chat settings entity. * * The settings specified in a chat settings entity apply to the form with the same ID as the chat settings entity. Each form can have exactly one set of chat settings. * @param - Chat settings to be created. * @returns Created chat settings. */ (chatSettings: NonNullablePaths): Promise>; } declare function updateChatSettings$1(httpClient: HttpClient): UpdateChatSettingsSignature; interface UpdateChatSettingsSignature { /** * Updates a chat settings entity. * * Changes take effect immediately for new interactive form sessions. * @param - The ID of the chat settings. The chat settings specified in this object apply to the form with a matching ID. * @returns Updated chat settings. */ (_id: string, chatSettings: UpdateChatSettings): Promise>; } declare function deleteChatSettings$1(httpClient: HttpClient): DeleteChatSettingsSignature; interface DeleteChatSettingsSignature { /** * Deletes a chat settings entity. * @param - Chat settings ID. */ (chatSettingsId: string): Promise; } declare function getChatSettings$1(httpClient: HttpClient): GetChatSettingsSignature; interface GetChatSettingsSignature { /** * Retrieves a chat settings entity. * @param - Chat settings ID. * @returns Retrieved chat settings. */ (chatSettingsId: string): Promise>; } declare const onChatSettingsCreated$1: EventDefinition; declare const onChatSettingsDeleted$1: EventDefinition; declare const onChatSettingsUpdated$1: EventDefinition; declare function customQueryChatSettings(httpClient: HttpClient): { (): ChatSettingsQueryBuilder; (query: ChatSettingsQuery): ReturnType; }; declare const createChatSettings: MaybeContext & typeof createChatSettings$1>; declare const updateChatSettings: MaybeContext & typeof updateChatSettings$1>; declare const deleteChatSettings: MaybeContext & typeof deleteChatSettings$1>; declare const getChatSettings: MaybeContext & typeof getChatSettings$1>; declare const queryChatSettings: MaybeContext & typeof customQueryChatSettings>; /** */ declare const onChatSettingsCreated: BuildEventDefinition & typeof onChatSettingsCreated$1; /** */ declare const onChatSettingsDeleted: BuildEventDefinition & typeof onChatSettingsDeleted$1; /** */ declare const onChatSettingsUpdated: BuildEventDefinition & typeof onChatSettingsUpdated$1; export { ChatSettings, ChatSettingsCreatedEnvelope, ChatSettingsDeletedEnvelope, ChatSettingsQuery, ChatSettingsQueryBuilder, ChatSettingsUpdatedEnvelope, UpdateChatSettings, createChatSettings, deleteChatSettings, getChatSettings, onChatSettingsCreated, onChatSettingsDeleted, onChatSettingsUpdated, queryChatSettings, updateChatSettings };