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";
export type RequestBody6 = {
    type: "text";
    /**
     * Unique key for the feedback. It is autogenerated by the system always
     */
    key?: string | undefined;
    /**
     * Display name of the feedback item.
     */
    displayName: string;
    /**
     * Detailed description of the feedback.
     */
    description: string;
    /**
     * Optional project ID to scope this human review to a specific project
     */
    projectId?: string | undefined;
};
export declare const RequestBodySentiment: {
    readonly Neutral: "neutral";
    readonly Positive: "positive";
    readonly Negative: "negative";
};
export type RequestBodySentiment = ClosedEnum<typeof RequestBodySentiment>;
/**
 * Model representing specific values and attributes of feedback.
 */
export type RequestBodyOptions = {
    /**
     * The value or content of the feedback.
     */
    value: string;
    sentiment: RequestBodySentiment;
    /**
     * Description of the feedback option.
     */
    description: string;
    icon: string;
};
export type Five = {
    type: "single_select";
    options: Array<RequestBodyOptions>;
    /**
     * Unique key for the feedback. It is autogenerated by the system always
     */
    key?: string | undefined;
    /**
     * Display name of the feedback item.
     */
    displayName: string;
    /**
     * Detailed description of the feedback.
     */
    description: string;
    /**
     * Optional project ID to scope this human review to a specific project
     */
    projectId?: string | undefined;
};
export declare const Sentiment: {
    readonly Neutral: "neutral";
    readonly Positive: "positive";
    readonly Negative: "negative";
};
export type Sentiment = ClosedEnum<typeof Sentiment>;
/**
 * Model representing specific values and attributes of feedback.
 */
export type Options = {
    /**
     * The value or content of the feedback.
     */
    value: string;
    sentiment: Sentiment;
    /**
     * Description of the feedback option.
     */
    description: string;
    icon: string;
};
export type RequestBody4 = {
    type: "multi_select";
    options: Array<Options>;
    /**
     * Unique key for the feedback. It is autogenerated by the system always
     */
    key?: string | undefined;
    /**
     * Display name of the feedback item.
     */
    displayName: string;
    /**
     * Detailed description of the feedback.
     */
    description: string;
    /**
     * Optional project ID to scope this human review to a specific project
     */
    projectId?: string | undefined;
};
/**
 * The configuration for a range human review
 */
export type Config = {
    /**
     * The minimum value for the range
     */
    min: number;
    /**
     * The maximum value for the range
     */
    max: number;
};
export type PostV2HumanEvalsRequestBody3 = {
    type: "range";
    /**
     * The configuration for a range human review
     */
    config: Config;
    /**
     * Unique key for the feedback. It is autogenerated by the system always
     */
    key?: string | undefined;
    /**
     * Display name of the feedback item.
     */
    displayName: string;
    /**
     * Detailed description of the feedback.
     */
    description: string;
    /**
     * Optional project ID to scope this human review to a specific project
     */
    projectId?: string | undefined;
};
export type PostV2HumanEvalsRequestBody2 = {
    type: "correction";
    /**
     * Unique key for the feedback. It is autogenerated by the system always
     */
    key?: string | undefined;
    /**
     * Display name of the feedback item.
     */
    displayName: string;
    /**
     * Detailed description of the feedback.
     */
    description: string;
    /**
     * Optional project ID to scope this human review to a specific project
     */
    projectId?: string | undefined;
};
export type PostV2HumanEvalsRequestBody1 = {
    type: "boolean";
    /**
     * Unique key for the feedback. It is autogenerated by the system always
     */
    key?: string | undefined;
    /**
     * Display name of the feedback item.
     */
    displayName: string;
    /**
     * Detailed description of the feedback.
     */
    description: string;
    /**
     * Optional project ID to scope this human review to a specific project
     */
    projectId?: string | undefined;
};
export type PostV2HumanEvalsRequestBody = PostV2HumanEvalsRequestBody1 | PostV2HumanEvalsRequestBody2 | PostV2HumanEvalsRequestBody3 | RequestBody4 | Five | RequestBody6;
export type PostV2HumanEvalsResponseBody6 = {
    type: "text";
    /**
     * The id of the resource
     */
    id: string;
    /**
     * Unique key for the feedback. It is autogenerated by the system always
     */
    key: string;
    /**
     * Display name of the feedback item.
     */
    displayName: string;
    /**
     * Detailed description of the feedback.
     */
    description: string;
    /**
     * The id of the resource
     */
    domainId?: string | undefined;
    /**
     * The id of the user who created the resource
     */
    createdById?: string | undefined;
    /**
     * The id of the user who last updated the resource
     */
    updatedById?: string | undefined;
    /**
     * The id of the resource
     */
    workspaceId: string;
    /**
     * Optional project ID to scope this human review to a specific project
     */
    projectId?: string | undefined;
};
export declare const PostV2HumanEvalsResponseBodyResponseSentiment: {
    readonly Neutral: "neutral";
    readonly Positive: "positive";
    readonly Negative: "negative";
};
export type PostV2HumanEvalsResponseBodyResponseSentiment = ClosedEnum<typeof PostV2HumanEvalsResponseBodyResponseSentiment>;
/**
 * Model representing specific values and attributes of feedback.
 */
export type PostV2HumanEvalsResponseBodyResponseOptions = {
    /**
     * The id of the resource
     */
    id: string;
    /**
     * The value or content of the feedback.
     */
    value: string;
    sentiment: PostV2HumanEvalsResponseBodyResponseSentiment;
    /**
     * Description of the feedback option.
     */
    description: string;
    icon: string;
};
export type PostV2HumanEvalsResponseBody5 = {
    type: "single_select";
    options: Array<PostV2HumanEvalsResponseBodyResponseOptions>;
    /**
     * The id of the resource
     */
    id: string;
    /**
     * Unique key for the feedback. It is autogenerated by the system always
     */
    key: string;
    /**
     * Display name of the feedback item.
     */
    displayName: string;
    /**
     * Detailed description of the feedback.
     */
    description: string;
    /**
     * The id of the resource
     */
    domainId?: string | undefined;
    /**
     * The id of the user who created the resource
     */
    createdById?: string | undefined;
    /**
     * The id of the user who last updated the resource
     */
    updatedById?: string | undefined;
    /**
     * The id of the resource
     */
    workspaceId: string;
    /**
     * Optional project ID to scope this human review to a specific project
     */
    projectId?: string | undefined;
};
export declare const PostV2HumanEvalsResponseBodySentiment: {
    readonly Neutral: "neutral";
    readonly Positive: "positive";
    readonly Negative: "negative";
};
export type PostV2HumanEvalsResponseBodySentiment = ClosedEnum<typeof PostV2HumanEvalsResponseBodySentiment>;
/**
 * Model representing specific values and attributes of feedback.
 */
export type PostV2HumanEvalsResponseBodyOptions = {
    /**
     * The id of the resource
     */
    id: string;
    /**
     * The value or content of the feedback.
     */
    value: string;
    sentiment: PostV2HumanEvalsResponseBodySentiment;
    /**
     * Description of the feedback option.
     */
    description: string;
    icon: string;
};
export type PostV2HumanEvalsResponseBody4 = {
    type: "multi_select";
    options: Array<PostV2HumanEvalsResponseBodyOptions>;
    /**
     * The id of the resource
     */
    id: string;
    /**
     * Unique key for the feedback. It is autogenerated by the system always
     */
    key: string;
    /**
     * Display name of the feedback item.
     */
    displayName: string;
    /**
     * Detailed description of the feedback.
     */
    description: string;
    /**
     * The id of the resource
     */
    domainId?: string | undefined;
    /**
     * The id of the user who created the resource
     */
    createdById?: string | undefined;
    /**
     * The id of the user who last updated the resource
     */
    updatedById?: string | undefined;
    /**
     * The id of the resource
     */
    workspaceId: string;
    /**
     * Optional project ID to scope this human review to a specific project
     */
    projectId?: string | undefined;
};
/**
 * The configuration for a range human review
 */
export type PostV2HumanEvalsResponseBodyConfig = {
    /**
     * The minimum value for the range
     */
    min: number;
    /**
     * The maximum value for the range
     */
    max: number;
};
export type PostV2HumanEvalsResponseBody3 = {
    type: "range";
    /**
     * The configuration for a range human review
     */
    config: PostV2HumanEvalsResponseBodyConfig;
    /**
     * The id of the resource
     */
    id: string;
    /**
     * Unique key for the feedback. It is autogenerated by the system always
     */
    key: string;
    /**
     * Display name of the feedback item.
     */
    displayName: string;
    /**
     * Detailed description of the feedback.
     */
    description: string;
    /**
     * The id of the resource
     */
    domainId?: string | undefined;
    /**
     * The id of the user who created the resource
     */
    createdById?: string | undefined;
    /**
     * The id of the user who last updated the resource
     */
    updatedById?: string | undefined;
    /**
     * The id of the resource
     */
    workspaceId: string;
    /**
     * Optional project ID to scope this human review to a specific project
     */
    projectId?: string | undefined;
};
export type PostV2HumanEvalsResponseBody2 = {
    type: "correction";
    /**
     * The id of the resource
     */
    id: string;
    /**
     * Unique key for the feedback. It is autogenerated by the system always
     */
    key: string;
    /**
     * Display name of the feedback item.
     */
    displayName: string;
    /**
     * Detailed description of the feedback.
     */
    description: string;
    /**
     * The id of the resource
     */
    domainId?: string | undefined;
    /**
     * The id of the user who created the resource
     */
    createdById?: string | undefined;
    /**
     * The id of the user who last updated the resource
     */
    updatedById?: string | undefined;
    /**
     * The id of the resource
     */
    workspaceId: string;
    /**
     * Optional project ID to scope this human review to a specific project
     */
    projectId?: string | undefined;
};
export type PostV2HumanEvalsResponseBody1 = {
    type: "boolean";
    /**
     * The id of the resource
     */
    id: string;
    /**
     * Unique key for the feedback. It is autogenerated by the system always
     */
    key: string;
    /**
     * Display name of the feedback item.
     */
    displayName: string;
    /**
     * Detailed description of the feedback.
     */
    description: string;
    /**
     * The id of the resource
     */
    domainId?: string | undefined;
    /**
     * The id of the user who created the resource
     */
    createdById?: string | undefined;
    /**
     * The id of the user who last updated the resource
     */
    updatedById?: string | undefined;
    /**
     * The id of the resource
     */
    workspaceId: string;
    /**
     * Optional project ID to scope this human review to a specific project
     */
    projectId?: string | undefined;
};
/**
 * Successfully created a human review
 */
export type PostV2HumanEvalsResponseBody = PostV2HumanEvalsResponseBody1 | PostV2HumanEvalsResponseBody2 | PostV2HumanEvalsResponseBody3 | PostV2HumanEvalsResponseBody4 | PostV2HumanEvalsResponseBody5 | PostV2HumanEvalsResponseBody6;
/** @internal */
export type RequestBody6$Outbound = {
    type: "text";
    key: string;
    display_name: string;
    description: string;
    project_id?: string | undefined;
};
/** @internal */
export declare const RequestBody6$outboundSchema: z.ZodType<RequestBody6$Outbound, z.ZodTypeDef, RequestBody6>;
export declare function requestBody6ToJSON(requestBody6: RequestBody6): string;
/** @internal */
export declare const RequestBodySentiment$outboundSchema: z.ZodNativeEnum<typeof RequestBodySentiment>;
/** @internal */
export type RequestBodyOptions$Outbound = {
    value: string;
    sentiment: string;
    description: string;
    icon: string;
};
/** @internal */
export declare const RequestBodyOptions$outboundSchema: z.ZodType<RequestBodyOptions$Outbound, z.ZodTypeDef, RequestBodyOptions>;
export declare function requestBodyOptionsToJSON(requestBodyOptions: RequestBodyOptions): string;
/** @internal */
export type Five$Outbound = {
    type: "single_select";
    options: Array<RequestBodyOptions$Outbound>;
    key: string;
    display_name: string;
    description: string;
    project_id?: string | undefined;
};
/** @internal */
export declare const Five$outboundSchema: z.ZodType<Five$Outbound, z.ZodTypeDef, Five>;
export declare function fiveToJSON(five: Five): string;
/** @internal */
export declare const Sentiment$outboundSchema: z.ZodNativeEnum<typeof Sentiment>;
/** @internal */
export type Options$Outbound = {
    value: string;
    sentiment: string;
    description: string;
    icon: string;
};
/** @internal */
export declare const Options$outboundSchema: z.ZodType<Options$Outbound, z.ZodTypeDef, Options>;
export declare function optionsToJSON(options: Options): string;
/** @internal */
export type RequestBody4$Outbound = {
    type: "multi_select";
    options: Array<Options$Outbound>;
    key: string;
    display_name: string;
    description: string;
    project_id?: string | undefined;
};
/** @internal */
export declare const RequestBody4$outboundSchema: z.ZodType<RequestBody4$Outbound, z.ZodTypeDef, RequestBody4>;
export declare function requestBody4ToJSON(requestBody4: RequestBody4): string;
/** @internal */
export type Config$Outbound = {
    min: number;
    max: number;
};
/** @internal */
export declare const Config$outboundSchema: z.ZodType<Config$Outbound, z.ZodTypeDef, Config>;
export declare function configToJSON(config: Config): string;
/** @internal */
export type PostV2HumanEvalsRequestBody3$Outbound = {
    type: "range";
    config: Config$Outbound;
    key: string;
    display_name: string;
    description: string;
    project_id?: string | undefined;
};
/** @internal */
export declare const PostV2HumanEvalsRequestBody3$outboundSchema: z.ZodType<PostV2HumanEvalsRequestBody3$Outbound, z.ZodTypeDef, PostV2HumanEvalsRequestBody3>;
export declare function postV2HumanEvalsRequestBody3ToJSON(postV2HumanEvalsRequestBody3: PostV2HumanEvalsRequestBody3): string;
/** @internal */
export type PostV2HumanEvalsRequestBody2$Outbound = {
    type: "correction";
    key: string;
    display_name: string;
    description: string;
    project_id?: string | undefined;
};
/** @internal */
export declare const PostV2HumanEvalsRequestBody2$outboundSchema: z.ZodType<PostV2HumanEvalsRequestBody2$Outbound, z.ZodTypeDef, PostV2HumanEvalsRequestBody2>;
export declare function postV2HumanEvalsRequestBody2ToJSON(postV2HumanEvalsRequestBody2: PostV2HumanEvalsRequestBody2): string;
/** @internal */
export type PostV2HumanEvalsRequestBody1$Outbound = {
    type: "boolean";
    key: string;
    display_name: string;
    description: string;
    project_id?: string | undefined;
};
/** @internal */
export declare const PostV2HumanEvalsRequestBody1$outboundSchema: z.ZodType<PostV2HumanEvalsRequestBody1$Outbound, z.ZodTypeDef, PostV2HumanEvalsRequestBody1>;
export declare function postV2HumanEvalsRequestBody1ToJSON(postV2HumanEvalsRequestBody1: PostV2HumanEvalsRequestBody1): string;
/** @internal */
export type PostV2HumanEvalsRequestBody$Outbound = PostV2HumanEvalsRequestBody1$Outbound | PostV2HumanEvalsRequestBody2$Outbound | PostV2HumanEvalsRequestBody3$Outbound | RequestBody4$Outbound | Five$Outbound | RequestBody6$Outbound;
/** @internal */
export declare const PostV2HumanEvalsRequestBody$outboundSchema: z.ZodType<PostV2HumanEvalsRequestBody$Outbound, z.ZodTypeDef, PostV2HumanEvalsRequestBody>;
export declare function postV2HumanEvalsRequestBodyToJSON(postV2HumanEvalsRequestBody: PostV2HumanEvalsRequestBody): string;
/** @internal */
export declare const PostV2HumanEvalsResponseBody6$inboundSchema: z.ZodType<PostV2HumanEvalsResponseBody6, z.ZodTypeDef, unknown>;
export declare function postV2HumanEvalsResponseBody6FromJSON(jsonString: string): SafeParseResult<PostV2HumanEvalsResponseBody6, SDKValidationError>;
/** @internal */
export declare const PostV2HumanEvalsResponseBodyResponseSentiment$inboundSchema: z.ZodNativeEnum<typeof PostV2HumanEvalsResponseBodyResponseSentiment>;
/** @internal */
export declare const PostV2HumanEvalsResponseBodyResponseOptions$inboundSchema: z.ZodType<PostV2HumanEvalsResponseBodyResponseOptions, z.ZodTypeDef, unknown>;
export declare function postV2HumanEvalsResponseBodyResponseOptionsFromJSON(jsonString: string): SafeParseResult<PostV2HumanEvalsResponseBodyResponseOptions, SDKValidationError>;
/** @internal */
export declare const PostV2HumanEvalsResponseBody5$inboundSchema: z.ZodType<PostV2HumanEvalsResponseBody5, z.ZodTypeDef, unknown>;
export declare function postV2HumanEvalsResponseBody5FromJSON(jsonString: string): SafeParseResult<PostV2HumanEvalsResponseBody5, SDKValidationError>;
/** @internal */
export declare const PostV2HumanEvalsResponseBodySentiment$inboundSchema: z.ZodNativeEnum<typeof PostV2HumanEvalsResponseBodySentiment>;
/** @internal */
export declare const PostV2HumanEvalsResponseBodyOptions$inboundSchema: z.ZodType<PostV2HumanEvalsResponseBodyOptions, z.ZodTypeDef, unknown>;
export declare function postV2HumanEvalsResponseBodyOptionsFromJSON(jsonString: string): SafeParseResult<PostV2HumanEvalsResponseBodyOptions, SDKValidationError>;
/** @internal */
export declare const PostV2HumanEvalsResponseBody4$inboundSchema: z.ZodType<PostV2HumanEvalsResponseBody4, z.ZodTypeDef, unknown>;
export declare function postV2HumanEvalsResponseBody4FromJSON(jsonString: string): SafeParseResult<PostV2HumanEvalsResponseBody4, SDKValidationError>;
/** @internal */
export declare const PostV2HumanEvalsResponseBodyConfig$inboundSchema: z.ZodType<PostV2HumanEvalsResponseBodyConfig, z.ZodTypeDef, unknown>;
export declare function postV2HumanEvalsResponseBodyConfigFromJSON(jsonString: string): SafeParseResult<PostV2HumanEvalsResponseBodyConfig, SDKValidationError>;
/** @internal */
export declare const PostV2HumanEvalsResponseBody3$inboundSchema: z.ZodType<PostV2HumanEvalsResponseBody3, z.ZodTypeDef, unknown>;
export declare function postV2HumanEvalsResponseBody3FromJSON(jsonString: string): SafeParseResult<PostV2HumanEvalsResponseBody3, SDKValidationError>;
/** @internal */
export declare const PostV2HumanEvalsResponseBody2$inboundSchema: z.ZodType<PostV2HumanEvalsResponseBody2, z.ZodTypeDef, unknown>;
export declare function postV2HumanEvalsResponseBody2FromJSON(jsonString: string): SafeParseResult<PostV2HumanEvalsResponseBody2, SDKValidationError>;
/** @internal */
export declare const PostV2HumanEvalsResponseBody1$inboundSchema: z.ZodType<PostV2HumanEvalsResponseBody1, z.ZodTypeDef, unknown>;
export declare function postV2HumanEvalsResponseBody1FromJSON(jsonString: string): SafeParseResult<PostV2HumanEvalsResponseBody1, SDKValidationError>;
/** @internal */
export declare const PostV2HumanEvalsResponseBody$inboundSchema: z.ZodType<PostV2HumanEvalsResponseBody, z.ZodTypeDef, unknown>;
export declare function postV2HumanEvalsResponseBodyFromJSON(jsonString: string): SafeParseResult<PostV2HumanEvalsResponseBody, SDKValidationError>;
//# sourceMappingURL=postv2humanevals.d.ts.map