import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
/**
 * The feedback value. For single selection of multiple choice, the value should be an array of strings. For `correction`, the value should be a string.
 */
export type Value = string | number | Array<string>;
/**
 * Feedback submission payload
 */
export type CreateFeedbackRequestBody = {
    /**
     * A string describing the specific property or aspect rated.
     */
    field: string;
    /**
     * The feedback value. For single selection of multiple choice, the value should be an array of strings. For `correction`, the value should be a string.
     */
    value: string | number | Array<string>;
    /**
     * The id returned by the [`get_config`](https://docs.orq.ai/reference/deploymentgetconfig-1) or [`invoke`](https://docs.orq.ai/reference/deploymentinvoke-1) endpoints
     */
    traceId: string;
};
/**
 * The feedback value. For single selection of multiple choice, the value should be an array of strings. For `correction`, the value should be a string.
 */
export type CreateFeedbackValue = string | number | Array<string>;
/**
 * Successful operation
 */
export type CreateFeedbackResponseBody = {
    /**
     * A string describing the specific property or aspect rated.
     */
    property: string;
    /**
     * The feedback value. For single selection of multiple choice, the value should be an array of strings. For `correction`, the value should be a string.
     */
    value: string | number | Array<string>;
    /**
     * The id returned by the [`get_config`](https://docs.orq.ai/reference/deploymentgetconfig-1) or [`invoke`](https://docs.orq.ai/reference/deploymentinvoke-1) endpoints
     */
    traceId: string;
    id: string;
};
/** @internal */
export declare const Value$inboundSchema: z.ZodType<Value, z.ZodTypeDef, unknown>;
/** @internal */
export type Value$Outbound = string | number | Array<string>;
/** @internal */
export declare const Value$outboundSchema: z.ZodType<Value$Outbound, z.ZodTypeDef, Value>;
export declare function valueToJSON(value: Value): string;
export declare function valueFromJSON(jsonString: string): SafeParseResult<Value, SDKValidationError>;
/** @internal */
export declare const CreateFeedbackRequestBody$inboundSchema: z.ZodType<CreateFeedbackRequestBody, z.ZodTypeDef, unknown>;
/** @internal */
export type CreateFeedbackRequestBody$Outbound = {
    property: string;
    value: string | number | Array<string>;
    trace_id: string;
};
/** @internal */
export declare const CreateFeedbackRequestBody$outboundSchema: z.ZodType<CreateFeedbackRequestBody$Outbound, z.ZodTypeDef, CreateFeedbackRequestBody>;
export declare function createFeedbackRequestBodyToJSON(createFeedbackRequestBody: CreateFeedbackRequestBody): string;
export declare function createFeedbackRequestBodyFromJSON(jsonString: string): SafeParseResult<CreateFeedbackRequestBody, SDKValidationError>;
/** @internal */
export declare const CreateFeedbackValue$inboundSchema: z.ZodType<CreateFeedbackValue, z.ZodTypeDef, unknown>;
/** @internal */
export type CreateFeedbackValue$Outbound = string | number | Array<string>;
/** @internal */
export declare const CreateFeedbackValue$outboundSchema: z.ZodType<CreateFeedbackValue$Outbound, z.ZodTypeDef, CreateFeedbackValue>;
export declare function createFeedbackValueToJSON(createFeedbackValue: CreateFeedbackValue): string;
export declare function createFeedbackValueFromJSON(jsonString: string): SafeParseResult<CreateFeedbackValue, SDKValidationError>;
/** @internal */
export declare const CreateFeedbackResponseBody$inboundSchema: z.ZodType<CreateFeedbackResponseBody, z.ZodTypeDef, unknown>;
/** @internal */
export type CreateFeedbackResponseBody$Outbound = {
    property: string;
    value: string | number | Array<string>;
    trace_id: string;
    id: string;
};
/** @internal */
export declare const CreateFeedbackResponseBody$outboundSchema: z.ZodType<CreateFeedbackResponseBody$Outbound, z.ZodTypeDef, CreateFeedbackResponseBody>;
export declare function createFeedbackResponseBodyToJSON(createFeedbackResponseBody: CreateFeedbackResponseBody): string;
export declare function createFeedbackResponseBodyFromJSON(jsonString: string): SafeParseResult<CreateFeedbackResponseBody, SDKValidationError>;
//# sourceMappingURL=createfeedback.d.ts.map