import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types'; import { RegisterCommentsWidgetOptions, RegisterCommentsWidgetResponse, CursorQuery, QueryCommentsWidgetResourcesResponse, CommentsWidget, UpdateCommentsWidget, DeleteCommentsWidgetOptions, CommentsWidgetCreatedEnvelope, CommentsWidgetDeletedEnvelope, CommentsWidgetUpdatedEnvelope, CommentsWidgetsQueryBuilder, CommentsWidgetQuery, typedQueryCommentsWidget } from './index.typings.js'; export { AccountInfo, AccountInfoMetadata, ActionEvent, BaseEventMetadata, CommentsWidgetQuerySpec, CommentsWidgetsQueryResult, CommonQueryWithEntityContext, CreateCommentsWidgetRequest, CreateCommentsWidgetResponse, CursorPaging, CursorPagingMetadata, CursorQueryPagingMethodOneOf, Cursors, DeleteCommentsWidgetRequest, DeleteCommentsWidgetResponse, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, GetCommentsWidgetRequest, GetCommentsWidgetResponse, IdentificationData, IdentificationDataIdOneOf, MessageEnvelope, Paging, PagingMetadataV2, QueryCommentsWidgetRequest, QueryCommentsWidgetResourcesRequest, QueryCommentsWidgetResponse, QueryV2, QueryV2PagingMethodOneOf, RegisterCommentsWidgetRequest, RestoreInfo, SortOrder, SortOrderWithLiterals, Sorting, UpdateCommentsWidgetRequest, UpdateCommentsWidgetResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.js'; declare function registerCommentsWidget$1(httpClient: HttpClient): RegisterCommentsWidgetSignature; interface RegisterCommentsWidgetSignature { /** * Registers CommentsWidget. Whenever a widget is loaded for the first time or its resourceId changes, it saves the new resource information about the widget * @param - Widget category ID */ (categoryId: string, options?: NonNullablePaths): Promise>; } declare function queryCommentsWidgetResources$1(httpClient: HttpClient): QueryCommentsWidgetResourcesSignature; interface QueryCommentsWidgetResourcesSignature { /** * Returns all registered widget resource ids contained in metaSite * @param - Cursor query */ (query: CursorQuery): Promise>; } declare function createCommentsWidget$1(httpClient: HttpClient): CreateCommentsWidgetSignature; interface CreateCommentsWidgetSignature { /** * Creates a new CommentsWidget * @param - CommentsWidget to be created * @returns The created CommentsWidget */ (commentsWidget: NonNullablePaths): Promise>; } declare function getCommentsWidget$1(httpClient: HttpClient): GetCommentsWidgetSignature; interface GetCommentsWidgetSignature { /** * Get a CommentsWidget by id * @param - Id of the CommentsWidget to retrieve * @returns The retrieved CommentsWidget */ (commentsWidgetId: string): Promise>; } declare function updateCommentsWidget$1(httpClient: HttpClient): UpdateCommentsWidgetSignature; interface UpdateCommentsWidgetSignature { /** * Update CommentsWidget, supports partial update * Pass the latest `revision` for a successful update * @param - CommentsWidget ID * @returns The updated CommentsWidget */ (_id: string, commentsWidget: NonNullablePaths): Promise>; } declare function deleteCommentsWidget$1(httpClient: HttpClient): DeleteCommentsWidgetSignature; interface DeleteCommentsWidgetSignature { /** * Delete a CommentsWidget * @param - Id of the CommentsWidget to delete */ (commentsWidgetId: string, options?: DeleteCommentsWidgetOptions): Promise; } declare const onCommentsWidgetCreated$1: EventDefinition; declare const onCommentsWidgetDeleted$1: EventDefinition; declare const onCommentsWidgetUpdated$1: EventDefinition; declare function customQueryCommentsWidget(httpClient: HttpClient): { (): CommentsWidgetsQueryBuilder; (query: CommentsWidgetQuery): ReturnType; }; declare const registerCommentsWidget: MaybeContext & typeof registerCommentsWidget$1>; declare const queryCommentsWidgetResources: MaybeContext & typeof queryCommentsWidgetResources$1>; declare const createCommentsWidget: MaybeContext & typeof createCommentsWidget$1>; declare const getCommentsWidget: MaybeContext & typeof getCommentsWidget$1>; declare const updateCommentsWidget: MaybeContext & typeof updateCommentsWidget$1>; declare const deleteCommentsWidget: MaybeContext & typeof deleteCommentsWidget$1>; declare const queryCommentsWidget: MaybeContext & typeof customQueryCommentsWidget>; /** */ declare const onCommentsWidgetCreated: BuildEventDefinition & typeof onCommentsWidgetCreated$1; /** */ declare const onCommentsWidgetDeleted: BuildEventDefinition & typeof onCommentsWidgetDeleted$1; /** */ declare const onCommentsWidgetUpdated: BuildEventDefinition & typeof onCommentsWidgetUpdated$1; export { CommentsWidget, CommentsWidgetCreatedEnvelope, CommentsWidgetDeletedEnvelope, CommentsWidgetQuery, CommentsWidgetUpdatedEnvelope, CommentsWidgetsQueryBuilder, CursorQuery, DeleteCommentsWidgetOptions, QueryCommentsWidgetResourcesResponse, RegisterCommentsWidgetOptions, RegisterCommentsWidgetResponse, UpdateCommentsWidget, createCommentsWidget, deleteCommentsWidget, getCommentsWidget, onCommentsWidgetCreated, onCommentsWidgetDeleted, onCommentsWidgetUpdated, queryCommentsWidget, queryCommentsWidgetResources, registerCommentsWidget, updateCommentsWidget };