import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types'; import { EnterpriseCategory, UpdateCategory, GetCategoryOptions, EnterpriseCategoryTree, EnterpriseOnboardingOptions, EnterpriseOnboardingResponse, GetMediaManagerCategoriesResponse, EnterpriseCategoryCreatedEnvelope, EnterpriseCategoryDeletedEnvelope, EnterpriseCategoryUpdatedEnvelope } from './index.typings.js'; export { AccountInfo, AccountInfoMetadata, ActionEvent, BaseEventMetadata, CreateCategoryRequest, CreateCategoryResponse, DeleteCategoryRequest, DeleteCategoryResponse, DomainEvent, DomainEventBodyOneOf, EnterpriseOnboardingRequest, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, GetCategoryRequest, GetCategoryResponse, GetMediaManagerCategoriesRequest, IdentificationData, IdentificationDataIdOneOf, LinkItemsToCategoryRequest, LinkItemsToCategoryResponse, MediaType, MediaTypeWithLiterals, MessageEnvelope, PublishStatus, PublishStatusWithLiterals, RestoreInfo, UnlinkItemsFromCategoryRequest, UnlinkItemsFromCategoryResponse, UpdateCategoryRequest, UpdateCategoryResponse, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.js'; declare function createCategory$1(httpClient: HttpClient): CreateCategorySignature; interface CreateCategorySignature { /** * Creates a category under the account's master category. Only one level of categories is supported under the master category. Before creating categories, ensure [Enterprise Onboarding](#enterpriseonboarding) has been called to initialize the account's root category structure. * * To delete a category, call [Delete Category](#deletecategory). * @param - Category to create. * @returns Created category. */ (category: NonNullablePaths): Promise>; } declare function deleteCategory$1(httpClient: HttpClient): DeleteCategorySignature; interface DeleteCategorySignature { /** * Deletes a category including all its subcategories. Items in the category are not deleted. * * To create a category, call [Create Category](#createcategory). * @param - Category ID. */ (categoryId: string): Promise; } declare function updateCategory$1(httpClient: HttpClient): UpdateCategorySignature; interface UpdateCategorySignature { /** * Updates a category. * @param - Category ID. * @returns Updated category. */ (_id: string, category: UpdateCategory): Promise>; } declare function getCategory$1(httpClient: HttpClient): GetCategorySignature; interface GetCategorySignature { /** * Retrieves a category by ID, optionally including subcategories. * @param - Category ID. * @returns Category details including subcategories if requested. */ (categoryId: string, options?: GetCategoryOptions): Promise>; } declare function enterpriseOnboarding$1(httpClient: HttpClient): EnterpriseOnboardingSignature; interface EnterpriseOnboardingSignature { /** * Initializes the enterprise category structure for an organization during first-time setup. Creates the root account category using the provided account information. * If the root account category already exists, this method returns the existing category structure without creating duplicates. * * The caller's account ID must match the `accountId` in the request. * @param - Account ID of the organization. Used as the organization category ID. */ (accountId: string, options?: EnterpriseOnboardingOptions): Promise>; } declare function getMediaManagerCategories$1(httpClient: HttpClient): GetMediaManagerCategoriesSignature; interface GetMediaManagerCategoriesSignature { /** * Retrieves the category tree for the media manager, including all categories accessible to the current user. */ (): Promise>; } declare const onEnterpriseCategoryCreated$1: EventDefinition; declare const onEnterpriseCategoryDeleted$1: EventDefinition; declare const onEnterpriseCategoryUpdated$1: EventDefinition; declare const createCategory: MaybeContext & typeof createCategory$1>; declare const deleteCategory: MaybeContext & typeof deleteCategory$1>; declare const updateCategory: MaybeContext & typeof updateCategory$1>; declare const getCategory: MaybeContext & typeof getCategory$1>; declare const enterpriseOnboarding: MaybeContext & typeof enterpriseOnboarding$1>; declare const getMediaManagerCategories: MaybeContext & typeof getMediaManagerCategories$1>; /** * Triggered when a category is created. */ declare const onEnterpriseCategoryCreated: BuildEventDefinition & typeof onEnterpriseCategoryCreated$1; /** * Triggered when a category is deleted. */ declare const onEnterpriseCategoryDeleted: BuildEventDefinition & typeof onEnterpriseCategoryDeleted$1; /** * Triggered when a category is updated. */ declare const onEnterpriseCategoryUpdated: BuildEventDefinition & typeof onEnterpriseCategoryUpdated$1; export { EnterpriseCategory, EnterpriseCategoryCreatedEnvelope, EnterpriseCategoryDeletedEnvelope, EnterpriseCategoryTree, EnterpriseCategoryUpdatedEnvelope, EnterpriseOnboardingOptions, EnterpriseOnboardingResponse, GetCategoryOptions, GetMediaManagerCategoriesResponse, UpdateCategory, createCategory, deleteCategory, enterpriseOnboarding, getCategory, getMediaManagerCategories, onEnterpriseCategoryCreated, onEnterpriseCategoryDeleted, onEnterpriseCategoryUpdated, updateCategory };