import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types'; import { ListCategoriesOptions, ListCategoryResponse, Category, UpdateCategory, UpdateCategoryResponse, UpdateCategoryApplicationErrors, DeleteCategoryOptions, DeleteCategoryResponse, CategoryNotificationEnvelope } from './index.typings.js'; export { AccountInfo, BaseEventMetadata, BatchCreateCategoryRequest, BatchCreateCategoryResponse, BatchDeleteCategoryRequest, BatchDeleteCategoryResponse, BatchUpdateCategoryRequest, BatchUpdateCategoryResponse, CategoryNotification, CreateCategoryRequest, CreateCategoryResponse, DeleteCategoryRequest, Event, EventWithLiterals, IdentificationData, IdentificationDataIdOneOf, ListCategoryRequest, MessageEnvelope, Status, StatusWithLiterals, UpdateCategoryRequest, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.js'; declare function listCategories$1(httpClient: HttpClient): ListCategoriesSignature; interface ListCategoriesSignature { /** * Retrieves all categories. * @param - Options to use when listing categories. * @deprecated */ (options?: ListCategoriesOptions): Promise>; } declare function createCategory$1(httpClient: HttpClient): CreateCategorySignature; interface CreateCategorySignature { /** * Creates a category. * @param - Category to create. * @returns Created category. * @deprecated */ (category: NonNullablePaths): Promise>; } declare function updateCategory$1(httpClient: HttpClient): UpdateCategorySignature; interface UpdateCategorySignature { /** * Updates a category. * * * Each time the category is updated, revision increments by 1. You must include * the number of the existing revision when updating the category. This ensures * you're working with the latest service information and prevents unintended * overwrites. * @param - Category ID. * @deprecated */ (_id: string, category: NonNullablePaths): Promise & { __applicationErrorsType?: UpdateCategoryApplicationErrors; }>; } declare function deleteCategory$1(httpClient: HttpClient): DeleteCategorySignature; interface DeleteCategorySignature { /** * Deletes a category. * * * You can specify `{"deleteServices": true}` to also delete all associated * services. Learn more about [deleting a service](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/delete-service). * @param - ID of the category to delete. * @deprecated */ (_id: string, options?: DeleteCategoryOptions): Promise; } declare const onCategoryNotification$1: EventDefinition; declare const listCategories: MaybeContext & typeof listCategories$1>; declare const createCategory: MaybeContext & typeof createCategory$1>; declare const updateCategory: MaybeContext & typeof updateCategory$1>; declare const deleteCategory: MaybeContext & typeof deleteCategory$1>; /** @deprecated */ declare const onCategoryNotification: BuildEventDefinition & typeof onCategoryNotification$1; export { Category, CategoryNotificationEnvelope, DeleteCategoryOptions, DeleteCategoryResponse, ListCategoriesOptions, ListCategoryResponse, UpdateCategory, UpdateCategoryApplicationErrors, UpdateCategoryResponse, createCategory, deleteCategory, listCategories, onCategoryNotification, updateCategory };