import type { ApiContext } from "./context.js"; import type { Paginated } from "./http/pagination.js"; export interface ListLabelsParams { project?: string; repository: string; limit?: number; start?: number; } export interface LabelParams { project?: string; repository: string; name: string; } export declare function labelsApi(ctx: ApiContext): { list({ project, repository, limit, start, }: ListLabelsParams): Promise>>; add({ project, repository, name }: LabelParams): Promise; remove({ project, repository, name, }: LabelParams): Promise<{ deleted: true; label: string; }>; }; export type LabelsApi = ReturnType;