import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types'; import { StorageItem, CreateStorageItemApplicationErrors, GetStorageItemOptions, UpdateStorageItemValueOptions, UpdateStorageItemValueResponse, UpdateStorageItemValueApplicationErrors, UpdateStorageItemCounterByResponse, UpdateStorageItemCounterByApplicationErrors, BulkUpdateStorageItemTagsOptions, BulkUpdateStorageItemTagsResponse, BulkUpdateStorageItemTagsApplicationErrors, BulkUpdateStorageItemTagsByFilterOptions, BulkUpdateStorageItemTagsByFilterResponse, BulkUpdateStorageItemTagsByFilterApplicationErrors, StorageItemCreatedEnvelope, StorageItemCounterUpdatedEnvelope, StorageItemValueUpdatedEnvelope, StorageItemTagsModifiedEnvelope, StorageItemsQueryBuilder, StorageItemQuery, typedQueryStorageItems } from './index.typings.js'; export { AccountInfo, AccountInfoMetadata, ActionEvent, ApplicationError, BaseEventMetadata, BooleanValue, BulkActionMetadata, BulkUpdateStorageItemTagsByFilterRequest, BulkUpdateStorageItemTagsRequest, BulkUpdateStorageItemTagsResult, CommonQueryWithEntityContext, CounterValue, CreateStorageItemRequest, CreateStorageItemResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, Format, FormatWithLiterals, GetStorageItemRequest, GetStorageItemResponse, IdentificationData, IdentificationDataIdOneOf, ItemMetadata, MessageEnvelope, NumberValue, QueryStorageItemsRequest, QueryStorageItemsResponse, RestoreInfo, SortOrder, SortOrderWithLiterals, Sorting, StorageItemCounterUpdated, StorageItemQuerySpec, StorageItemValueOneOf, StorageItemValueUpdated, StorageItemsQueryResult, StringValue, TagList, Tags, TagsModified, Type, TypeWithLiterals, UpdateStorageItemCounterByRequest, UpdateStorageItemValueOptionsValueOneOf, UpdateStorageItemValueRequest, UpdateStorageItemValueRequestValueOneOf, WebhookIdentityType, WebhookIdentityTypeWithLiterals, utils } from './index.typings.js'; declare function createStorageItem$1(httpClient: HttpClient): CreateStorageItemSignature; interface CreateStorageItemSignature { /** * Creates a storage item. * * Each storage item has a unique key and a value of a specific data type. Once created, you can't change the value type. * * > **Note**: You can currently create up to 100 storage items. * @param - Storage item to create. * @returns Created storage item. */ (storageItem: NonNullablePaths): Promise & { __applicationErrorsType?: CreateStorageItemApplicationErrors; }>; } declare function getStorageItem$1(httpClient: HttpClient): GetStorageItemSignature; interface GetStorageItemSignature { /** * Retrieves the specified storage item. * @param - Key of the storage item to retrieve. * @returns Retrieved storage item. */ (key: string, options?: GetStorageItemOptions): Promise>; } declare function updateStorageItemValue$1(httpClient: HttpClient): UpdateStorageItemValueSignature; interface UpdateStorageItemValueSignature { /** * Updates the value of an existing storage item. * * > **Note**: To update items of type `COUNTER`, call [Update Storage Item Counter By](https://dev.wix.com/docs/api-reference/business-management/automations/storage-item/update-storage-item-counter-by). * @param - Key of the storage item to update. */ (key: string, options?: UpdateStorageItemValueOptions): Promise & { __applicationErrorsType?: UpdateStorageItemValueApplicationErrors; }>; } declare function updateStorageItemCounterBy$1(httpClient: HttpClient): UpdateStorageItemCounterBySignature; interface UpdateStorageItemCounterBySignature { /** * Atomically increments or decrements a storage item of type `COUNTER` by the specified value. * * Learn more about [atomic updates](https://dev.wix.com/docs/api-reference/business-management/automations/storage-item/introduction#atomic-updates). * * > **Note**: To update other types of items, call [Update Storage Item Value](https://dev.wix.com/docs/api-reference/business-management/automations/storage-item/update-storage-item-value). * @param - Key of the storage item to update. * @param - Value to add to the existing counter, represented as a string. To decrement the counter, use a negative value. */ (key: string, value: string): Promise & { __applicationErrorsType?: UpdateStorageItemCounterByApplicationErrors; }>; } declare function bulkUpdateStorageItemTags$1(httpClient: HttpClient): BulkUpdateStorageItemTagsSignature; interface BulkUpdateStorageItemTagsSignature { /** * Updates tags for the specified storage items. * * Learn more about [tags](https://dev.wix.com/docs/api-reference/business-management/tags/introduction). * * > **Note**: A tag that appears in both `assignTags` and `unassignTags` is assigned. * @param - IDs of storage items to update. */ (storageItemIds: string[], options?: BulkUpdateStorageItemTagsOptions): Promise & { __applicationErrorsType?: BulkUpdateStorageItemTagsApplicationErrors; }>; } declare function bulkUpdateStorageItemTagsByFilter$1(httpClient: HttpClient): BulkUpdateStorageItemTagsByFilterSignature; interface BulkUpdateStorageItemTagsByFilterSignature { /** * Updates tags for storage items that match the specified filter criteria. Specifying an empty filter updates tags for all storage items. * * Learn more about [tags](https://dev.wix.com/docs/api-reference/business-management/tags/introduction). * * > **Note**: A tag that appears in both `assignTags` and `unassignTags` is assigned. * @param - Filter criteria to select storage items for tag updates. Specifying an empty filter updates tags for all storage items. */ (filter: Record, options?: BulkUpdateStorageItemTagsByFilterOptions): Promise & { __applicationErrorsType?: BulkUpdateStorageItemTagsByFilterApplicationErrors; }>; } declare const onStorageItemCreated$1: EventDefinition; declare const onStorageItemCounterUpdated$1: EventDefinition; declare const onStorageItemValueUpdated$1: EventDefinition; declare const onStorageItemTagsModified$1: EventDefinition; declare function customQueryStorageItems(httpClient: HttpClient): { (): StorageItemsQueryBuilder; (query: StorageItemQuery): ReturnType; }; declare const createStorageItem: MaybeContext & typeof createStorageItem$1>; declare const getStorageItem: MaybeContext & typeof getStorageItem$1>; declare const updateStorageItemValue: MaybeContext & typeof updateStorageItemValue$1>; declare const updateStorageItemCounterBy: MaybeContext & typeof updateStorageItemCounterBy$1>; declare const bulkUpdateStorageItemTags: MaybeContext & typeof bulkUpdateStorageItemTags$1>; declare const bulkUpdateStorageItemTagsByFilter: MaybeContext & typeof bulkUpdateStorageItemTagsByFilter$1>; declare const queryStorageItems: MaybeContext & typeof customQueryStorageItems>; /** */ declare const onStorageItemCreated: BuildEventDefinition & typeof onStorageItemCreated$1; /** */ declare const onStorageItemCounterUpdated: BuildEventDefinition & typeof onStorageItemCounterUpdated$1; /** */ declare const onStorageItemValueUpdated: BuildEventDefinition & typeof onStorageItemValueUpdated$1; /** */ declare const onStorageItemTagsModified: BuildEventDefinition & typeof onStorageItemTagsModified$1; export { BulkUpdateStorageItemTagsApplicationErrors, BulkUpdateStorageItemTagsByFilterApplicationErrors, BulkUpdateStorageItemTagsByFilterOptions, BulkUpdateStorageItemTagsByFilterResponse, BulkUpdateStorageItemTagsOptions, BulkUpdateStorageItemTagsResponse, CreateStorageItemApplicationErrors, GetStorageItemOptions, StorageItem, StorageItemCounterUpdatedEnvelope, StorageItemCreatedEnvelope, StorageItemQuery, StorageItemTagsModifiedEnvelope, StorageItemValueUpdatedEnvelope, StorageItemsQueryBuilder, UpdateStorageItemCounterByApplicationErrors, UpdateStorageItemCounterByResponse, UpdateStorageItemValueApplicationErrors, UpdateStorageItemValueOptions, UpdateStorageItemValueResponse, bulkUpdateStorageItemTags, bulkUpdateStorageItemTagsByFilter, createStorageItem, getStorageItem, onStorageItemCounterUpdated, onStorageItemCreated, onStorageItemTagsModified, onStorageItemValueUpdated, queryStorageItems, updateStorageItemCounterBy, updateStorageItemValue };