import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types'; import { Collection, GetCollectionOptions, ListCollectionsOptions, ListCollectionsResponse, UpdateCollection, DeleteCollectionResponse, CollectionCreatedEnvelope, CollectionDeletedEnvelope, CollectionUpdatedEnvelope, CollectionQuery, QueryCollectionsOptions, typedQueryCollections, CollectionsQueryBuilder } from './index.typings.js'; export { AccountInfo, AccountInfoMetadata, ActionEvent, AdminRemoveMenuItemsResponse, App, BaseEventMetadata, CollectionQuerySpec, CollectionsQueryResult, CommonQueryWithEntityContext, CreateCollectionRequest, CreateCollectionResponse, CursorPaging, Cursors, CustomTag, DeleteCollectionRequest, DomainEvent, DomainEventBodyOneOf, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, File, GetCollectionRequest, GetCollectionResponse, IdentificationData, IdentificationDataIdOneOf, Image, ImageType, ImageTypeWithLiterals, InvalidateCache, InvalidateCacheGetByOneOf, Keyword, ListCollectionsRequest, MessageEnvelope, Page, Pages, Paging, PagingMetadataV2, Point, QueryCollectionsRequest, QueryCollectionsResponse, QueryV2, QueryV2PagingMethodOneOf, RestoreInfo, SeoSchema, Settings, SortOrder, SortOrderWithLiterals, Sorting, Tag, URI, URIs, UnsharpMasking, UpdateCollectionRequest, UpdateCollectionResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.js'; declare function createCollection$1(httpClient: HttpClient): CreateCollectionSignature; interface CreateCollectionSignature { /** * Creates a collection. * @param - Collection to create. * @returns Created collection. */ (collection: Collection): Promise>; } declare function getCollection$1(httpClient: HttpClient): GetCollectionSignature; interface GetCollectionSignature { /** * Retrieves a collection. * @param - ID of the collection to retrieve. * @returns The requested collection. */ (collectionId: string, options?: GetCollectionOptions): Promise>; } declare function listCollections$1(httpClient: HttpClient): ListCollectionsSignature; interface ListCollectionsSignature { /** * Retrieves a list all collections in a portfolio. */ (options?: ListCollectionsOptions): Promise>; } declare function updateCollection$1(httpClient: HttpClient): UpdateCollectionSignature; interface UpdateCollectionSignature { /** * Updates a collection. * @param - Collection ID. * @returns Updated collection. */ (_id: string, collection: NonNullablePaths): Promise>; } declare function deleteCollection$1(httpClient: HttpClient): DeleteCollectionSignature; interface DeleteCollectionSignature { /** * Deletes a collection. * @param - ID of the collection to delete. */ (collectionId: string): Promise>; } declare const onCollectionCreated$1: EventDefinition; declare const onCollectionDeleted$1: EventDefinition; declare const onCollectionUpdated$1: EventDefinition; declare function customQueryCollections(httpClient: HttpClient): { (query: CollectionQuery, options?: QueryCollectionsOptions): ReturnType; (options?: QueryCollectionsOptions): CollectionsQueryBuilder; }; declare const createCollection: MaybeContext & typeof createCollection$1>; declare const getCollection: MaybeContext & typeof getCollection$1>; declare const listCollections: MaybeContext & typeof listCollections$1>; declare const updateCollection: MaybeContext & typeof updateCollection$1>; declare const deleteCollection: MaybeContext & typeof deleteCollection$1>; declare const queryCollections: MaybeContext & typeof customQueryCollections>; /** * Triggered when a collection is created. */ declare const onCollectionCreated: BuildEventDefinition & typeof onCollectionCreated$1; /** * Triggered when a collection is deleted. */ declare const onCollectionDeleted: BuildEventDefinition & typeof onCollectionDeleted$1; /** * Triggered when a collection is updated. */ declare const onCollectionUpdated: BuildEventDefinition & typeof onCollectionUpdated$1; export { Collection, CollectionCreatedEnvelope, CollectionDeletedEnvelope, CollectionQuery, CollectionUpdatedEnvelope, CollectionsQueryBuilder, DeleteCollectionResponse, GetCollectionOptions, ListCollectionsOptions, ListCollectionsResponse, QueryCollectionsOptions, UpdateCollection, createCollection, deleteCollection, getCollection, listCollections, onCollectionCreated, onCollectionDeleted, onCollectionUpdated, queryCollections, updateCollection };