import type { CancelablePromise } from '../core/CancelablePromise.js'; export declare class CategoryService { /** * Add a category to a space * Adds a category the description of a given {@link Space} identified by spaceKey. * * Example request URI to add space category 'testCategory' to space with space key TEST: * * `https://example.com/confluence/rest/api/space/TEST/category/testCategory` * @param spaceKey a string containing the key of the space * @param labelName the name of the label to be added (do not include any prefix, team: prefix assumed) * @returns void * @throws ApiError */ static add(spaceKey: string, labelName: string): CancelablePromise; /** * Remove a category from a space * Removes a category from a space, identified by spaceKey. * * Example request URI: * `https://example.com/confluence/rest/api/space/TEST/category/example-category` * @param spaceKey The key of the space to remove the category from * @param categoryName The name of the category to remove * @returns void * @throws ApiError */ static removeCategory(spaceKey: string, categoryName: string): CancelablePromise; } //# sourceMappingURL=CategoryService.d.ts.map