import type { JsonContentProperty } from '../models/JsonContentProperty.js';
import type { CancelablePromise } from '../core/CancelablePromise.js';
export declare class ContentPropertyService {
/**
* Find all content properties
* Returns a paginated list of content properties. Example request URI(s):
*
* - `http://example.com/confluence/rest/api/content/1234/property?expand=content,version`
* @param id the id of the content
* @param expand a comma separated list of properties to expand on the content properties. Default value: version.
* @param limit the limit of the number of labels to return, this may be restricted by fixed system limits
* @param start the start point of the collection to return.
* @returns any returns a JSON representation of the content properties, or a 404 NOT FOUND if there is no content with the given id or if the user is not permitted..
* @throws ApiError
*/
static findAll(id: 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 content property
* Creates a new content property.
* @param id the id of the content
* @param requestBody content property to be created.
* @returns JsonContentProperty Returns a full JSON representation of the content property.
* @throws ApiError
*/
static create1(id: string, requestBody?: JsonContentProperty): CancelablePromise;
/**
* Find content property by key
* Returns a content property. Example request URI(s):
*
* - `http://example.com/confluence/rest/api/content/1234/property/example-property-key?expand=content,version`
* @param id the id of the content
* @param key the key of the content property. Required.
* @param expand a comma separated list of properties to expand on the content properties. Default value: version.
* @param limit the limit of the number of labels to return, this may be restricted by fixed system limits
* @returns JsonContentProperty returns a JSON representation of the content property.
* @throws ApiError
*/
static findByKey(id: string, key: string, expand?: string, limit?: string): CancelablePromise;
/**
* Update content property
* Updates a content property. The body contains the representation of the content property. Must include the property id, and the new version number. Attempts to create a new content property if the given version number is `1`
* @param id the id of the content
* @param key the key of the content property. Required.
* @param expand a comma separated list of properties to expand on the content properties. Default value: version.
* @param requestBody the content property being updated
* @returns JsonContentProperty returns a JSON representation of the content property, or a 404 NOT FOUND if there is no content with the given id, or no property with the given key, or if the user is not permitted.
* @throws ApiError
*/
static update1(id: string, key: string, expand?: string, requestBody?: JsonContentProperty): CancelablePromise;
/**
* @param id the id of the content
* @param key
* @param requestBody
* @returns JsonContentProperty default response
* @throws ApiError
*/
static create2(id: string, key: string, requestBody?: JsonContentProperty): CancelablePromise;
/**
* Delete content property
* Deletes a content property.
* @param id the id of the content
* @param key the key of the content property. Required.
* @returns void
* @throws ApiError
*/
static delete2(id: string, key: string): CancelablePromise;
}
//# sourceMappingURL=ContentPropertyService.d.ts.map