import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Optional feedback rating. Can be 'thumbs_up' for positive feedback or 'thumbs_down' for negative feedback. */ export declare const Rating: { readonly ThumbsUp: "thumbs_up"; readonly ThumbsDown: "thumbs_down"; }; /** * Optional feedback rating. Can be 'thumbs_up' for positive feedback or 'thumbs_down' for negative feedback. */ export type Rating = ClosedEnum; /** * Request parameters for creating feedback. Allows users to rate and comment on model outputs. */ export type CreateFeedbackRequest = { /** * Request ID to associate this feedback with. Use chat completion request ID or response ID. */ id: string; /** * Optional feedback rating. Can be 'thumbs_up' for positive feedback or 'thumbs_down' for negative feedback. */ rating?: Rating | undefined; /** * Optional detailed feedback description. Use this to provide specific comments, suggestions, or explain the rating (max 2000 characters). */ description?: string | undefined; }; /** @internal */ export declare const Rating$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const Rating$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const CreateFeedbackRequest$inboundSchema: z.ZodType; /** @internal */ export type CreateFeedbackRequest$Outbound = { id: string; rating?: string | undefined; description?: string | undefined; }; /** @internal */ export declare const CreateFeedbackRequest$outboundSchema: z.ZodType; export declare function createFeedbackRequestToJSON(createFeedbackRequest: CreateFeedbackRequest): string; export declare function createFeedbackRequestFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=createfeedbackrequest.d.ts.map