import { type ProjectLabel, type ProjectLabelCreate, type ProjectLabelListParams, type ProjectLabelUpdate, type AnnotationListParams, type AnnotationEventOptions, type AnnotationMutation, type AnnotationState, type AnnotationTarget } from "@introspection-sdk/types"; import type { HttpClient } from "../http.js"; import { Paginator } from "../pagination.js"; /** Managed project label catalog used by annotations. */ export declare class ProjectLabelsApi { private readonly dpHttp; constructor(dpHttp: HttpClient); list(params?: ProjectLabelListParams): Paginator; create(body: ProjectLabelCreate): Promise; get(slug: string): Promise; update(slug: string, body: ProjectLabelUpdate): Promise; } /** * Member-authored span annotations. Every create call appends exactly one * event; labels and reviewers are complete snapshots. */ export declare class AnnotationsApi { private readonly cpHttp; private readonly dpHttp; constructor(cpHttp: HttpClient, dpHttp: HttpClient); list(params?: AnnotationListParams): Paginator; /** Append exactly one annotation mutation. */ create(target: AnnotationTarget, mutation: AnnotationMutation, options?: AnnotationEventOptions): Promise; private resolveReviewerIds; } export declare function attachAnnotations(cpHttp: HttpClient, dpHttp: HttpClient): AnnotationsApi; export declare function attachProjectLabels(dpHttp: HttpClient): ProjectLabelsApi; //# sourceMappingURL=annotations.d.ts.map