import type { JsonSpaceProperty } from '../models/JsonSpaceProperty.js'; import type { CancelablePromise } from '../core/CancelablePromise.js'; export declare class SpacePropertyService { /** * Get space properties * Returns a paginated list of space properties. * * Example request URI: * * `http://example.com/confluence/rest/api/space/TST/property?expand=space,version` * @param spaceKey The key of the space * @param expand a comma separated list of properties to expand on the space properties. Default value: version. * @param limit the limit of the number of items to return, this may be restricted by fixed system limits. * @param start he start point of the collection to return. * @returns any a JSON representation of the space properties. * @throws ApiError */ static get1(spaceKey: string, expand?: string, limit?: string, start?: string): CancelablePromise<{ results?: Array; totalCount?: number; start?: number; limit?: number; size?: number; _links?: { base?: string; context?: string; self?: string; next?: string; prev?: string; }; }>; /** * Create a space property * Creates a new space property. * @param spaceKey The key of the space * @param requestBody space property to be created * @returns JsonSpaceProperty Returns a full JSON representation of the space property. * @throws ApiError */ static create3(spaceKey: string, requestBody?: JsonSpaceProperty): CancelablePromise; /** * Get space property by key * Returns a space property. * * Example request URI: * * `http://example.com/confluence/rest/api/space/TST/property/example-property-key?expand=space,version` * @param spaceKey The key of the space * @param key * @param expand a comma separated list of properties to expand on the space properties. Default value: version. * @param limit the limit of the number of items to return, this may be restricted by fixed system limits. * @param start he start point of the collection to return. * @returns JsonSpaceProperty Returns a full JSON representation of the space property. * @throws ApiError */ static get(spaceKey: string, key: string, expand?: string, limit?: string, start?: string): CancelablePromise; /** * Update space property * Updates a space property.The body contains the representation of the space property. Must include new version number.If the given version number is 1, attempts to create a new space property. * @param spaceKey The key of the space * @param key the key of the property * @param requestBody space property to be updated * @returns JsonSpaceProperty Returns a full JSON representation of the property. * @throws ApiError */ static update3(spaceKey: string, key: string, requestBody?: JsonSpaceProperty): CancelablePromise; /** * Create a space property with a specific key * Create a space property with a specific key. * @param spaceKey The key of the space * @param key property key of the property to be created * @param requestBody space property to be created * @returns JsonSpaceProperty Returns a full JSON representation of the space property. * @throws ApiError */ static create4(spaceKey: string, key: string, requestBody?: JsonSpaceProperty): CancelablePromise; /** * Delete space property * Deletes a space property. * * Example request URI: * * `http://example.com/confluence/rest/api/space/TST/property/example-property-key?expand=space,version` * @param spaceKey The key of the space * @param key the key of the property. * @returns void * @throws ApiError */ static delete4(spaceKey: string, key: string): CancelablePromise; } //# sourceMappingURL=SpacePropertyService.d.ts.map