import { BaseApi } from './base.js'; import type { ConfluenceLabel, ConfluencePaginatedResponse, GetLabelsParams, AddLabelParams } from '../types/index.js'; /** * Label API methods */ export declare class LabelsApi extends BaseApi { /** * Get labels on a page. */ get(params: GetLabelsParams): Promise>; /** * Add a label to a page. * * Confluence DC returns the page's full label list as a paginated wrapper * (`{ results, start, limit, size, _links }`), not a bare array — same * shape as `get`. The earlier `Promise` signature was * a documentation bug; consumers were getting an object at runtime. */ add(params: AddLabelParams): Promise>; } //# sourceMappingURL=labels.d.ts.map