import { APIResource } from "../../core/resource.mjs"; import { APIPromise } from "../../core/api-promise.mjs"; import { RequestOptions } from "../../internal/request-options.mjs"; export declare class Feedback extends APIResource { /** * Add user feedback to a specific message for quality tracking and improvement. */ save(params: FeedbackSaveParams, options?: RequestOptions): APIPromise; } export type FeedbackSaveResponse = unknown; export interface FeedbackSaveParams { /** * Body param */ conversation_id: string; /** * Body param */ message_id: string; /** * Body param */ feedback?: string | null; /** * Body param */ is_send_conversation?: boolean; /** * Body param */ user_id?: string | null; /** * Header param */ 'Accept-Language'?: string; /** * Header param: Set to `structured` to receive errors in the structured envelope. * Omit it to keep the legacy error body. */ 'X-Error-Format'?: string; } export declare namespace Feedback { export { type FeedbackSaveResponse as FeedbackSaveResponse, type FeedbackSaveParams as FeedbackSaveParams }; } //# sourceMappingURL=feedback.d.mts.map