import { BaseAnnotation } from "./base-annotation"; import { TraceloopClient } from "../traceloop-client"; import { AnnotationCreateOptions } from "../../interfaces/annotations.interface"; /** * Handles user feedback annotations with the Traceloop API. */ export declare class UserFeedback extends BaseAnnotation { constructor(client: TraceloopClient); /** * Creates a new annotation for a specific task and entity. * * @param options - The options for creating an annotation * @returns Promise resolving to the fetch Response * * @example * ```typescript * await client.annotation.create({ * annotationTask: 'sample-annotation-task', * entity: { * id: '123456', * }, * tags: { * sentiment: 'positive', * score: 0.85, * tones: ['happy', 'surprised'] * } * }); * ``` */ create(options: AnnotationCreateOptions): Promise; } //# sourceMappingURL=user-feedback.d.ts.map