import * as z from "zod/v3";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
export type PatchV2HumanEvalSetsIdRequestBody2 = {
    /**
     * Display name of the human review set
     */
    displayName: string;
    /**
     * Detailed description of the human review set
     */
    description?: string | undefined;
    /**
     * Array of human review IDs to be applied to matching spans
     */
    humanEvalIds: Array<string>;
    /**
     * Optional project ID to scope this human review set to a specific project
     */
    projectId?: string | undefined;
    filterType: "name";
    /**
     * Name pattern to match
     */
    filterValue: string;
};
export type PatchV2HumanEvalSetsIdRequestBody1 = {
    /**
     * Display name of the human review set
     */
    displayName: string;
    /**
     * Detailed description of the human review set
     */
    description?: string | undefined;
    /**
     * Array of human review IDs to be applied to matching spans
     */
    humanEvalIds: Array<string>;
    /**
     * Optional project ID to scope this human review set to a specific project
     */
    projectId?: string | undefined;
    filterType: "span_type";
    /**
     * Array of span types to match
     */
    filterValues: Array<string>;
};
export type PatchV2HumanEvalSetsIdRequestBody = PatchV2HumanEvalSetsIdRequestBody1 | PatchV2HumanEvalSetsIdRequestBody2;
export type PatchV2HumanEvalSetsIdRequest = {
    /**
     * The ID of the human review set to retrieve
     */
    id: string;
    requestBody?: PatchV2HumanEvalSetsIdRequestBody1 | PatchV2HumanEvalSetsIdRequestBody2 | undefined;
};
export type PatchV2HumanEvalSetsIdResponseBody2 = {
    /**
     * The id of the resource
     */
    id: string;
    /**
     * Display name of the human review set
     */
    displayName: string;
    /**
     * Detailed description of the human review set
     */
    description?: string | undefined;
    /**
     * Array of human review IDs to be applied to matching spans
     */
    humanEvalIds: Array<string>;
    workspaceId: string;
    /**
     * Optional project ID to scope this human review set to a specific project
     */
    projectId?: string | undefined;
    createdById?: string | undefined;
    updatedById?: string | undefined;
    /**
     * The date and time the resource was created
     */
    created?: Date | undefined;
    /**
     * The date and time the resource was last updated
     */
    updated: Date;
    filterType: "name";
    /**
     * Name pattern to match
     */
    filterValue: string;
};
export type PatchV2HumanEvalSetsIdResponseBody1 = {
    /**
     * The id of the resource
     */
    id: string;
    /**
     * Display name of the human review set
     */
    displayName: string;
    /**
     * Detailed description of the human review set
     */
    description?: string | undefined;
    /**
     * Array of human review IDs to be applied to matching spans
     */
    humanEvalIds: Array<string>;
    workspaceId: string;
    /**
     * Optional project ID to scope this human review set to a specific project
     */
    projectId?: string | undefined;
    createdById?: string | undefined;
    updatedById?: string | undefined;
    /**
     * The date and time the resource was created
     */
    created?: Date | undefined;
    /**
     * The date and time the resource was last updated
     */
    updated: Date;
    filterType: "span_type";
    /**
     * Array of span types to match
     */
    filterValues: Array<string>;
};
/**
 * Successfully updated the human review set
 */
export type PatchV2HumanEvalSetsIdResponseBody = PatchV2HumanEvalSetsIdResponseBody1 | PatchV2HumanEvalSetsIdResponseBody2;
/** @internal */
export type PatchV2HumanEvalSetsIdRequestBody2$Outbound = {
    display_name: string;
    description?: string | undefined;
    human_eval_ids: Array<string>;
    project_id?: string | undefined;
    filter_type: "name";
    filter_value: string;
};
/** @internal */
export declare const PatchV2HumanEvalSetsIdRequestBody2$outboundSchema: z.ZodType<PatchV2HumanEvalSetsIdRequestBody2$Outbound, z.ZodTypeDef, PatchV2HumanEvalSetsIdRequestBody2>;
export declare function patchV2HumanEvalSetsIdRequestBody2ToJSON(patchV2HumanEvalSetsIdRequestBody2: PatchV2HumanEvalSetsIdRequestBody2): string;
/** @internal */
export type PatchV2HumanEvalSetsIdRequestBody1$Outbound = {
    display_name: string;
    description?: string | undefined;
    human_eval_ids: Array<string>;
    project_id?: string | undefined;
    filter_type: "span_type";
    filter_values: Array<string>;
};
/** @internal */
export declare const PatchV2HumanEvalSetsIdRequestBody1$outboundSchema: z.ZodType<PatchV2HumanEvalSetsIdRequestBody1$Outbound, z.ZodTypeDef, PatchV2HumanEvalSetsIdRequestBody1>;
export declare function patchV2HumanEvalSetsIdRequestBody1ToJSON(patchV2HumanEvalSetsIdRequestBody1: PatchV2HumanEvalSetsIdRequestBody1): string;
/** @internal */
export type PatchV2HumanEvalSetsIdRequestBody$Outbound = PatchV2HumanEvalSetsIdRequestBody1$Outbound | PatchV2HumanEvalSetsIdRequestBody2$Outbound;
/** @internal */
export declare const PatchV2HumanEvalSetsIdRequestBody$outboundSchema: z.ZodType<PatchV2HumanEvalSetsIdRequestBody$Outbound, z.ZodTypeDef, PatchV2HumanEvalSetsIdRequestBody>;
export declare function patchV2HumanEvalSetsIdRequestBodyToJSON(patchV2HumanEvalSetsIdRequestBody: PatchV2HumanEvalSetsIdRequestBody): string;
/** @internal */
export type PatchV2HumanEvalSetsIdRequest$Outbound = {
    id: string;
    RequestBody?: PatchV2HumanEvalSetsIdRequestBody1$Outbound | PatchV2HumanEvalSetsIdRequestBody2$Outbound | undefined;
};
/** @internal */
export declare const PatchV2HumanEvalSetsIdRequest$outboundSchema: z.ZodType<PatchV2HumanEvalSetsIdRequest$Outbound, z.ZodTypeDef, PatchV2HumanEvalSetsIdRequest>;
export declare function patchV2HumanEvalSetsIdRequestToJSON(patchV2HumanEvalSetsIdRequest: PatchV2HumanEvalSetsIdRequest): string;
/** @internal */
export declare const PatchV2HumanEvalSetsIdResponseBody2$inboundSchema: z.ZodType<PatchV2HumanEvalSetsIdResponseBody2, z.ZodTypeDef, unknown>;
export declare function patchV2HumanEvalSetsIdResponseBody2FromJSON(jsonString: string): SafeParseResult<PatchV2HumanEvalSetsIdResponseBody2, SDKValidationError>;
/** @internal */
export declare const PatchV2HumanEvalSetsIdResponseBody1$inboundSchema: z.ZodType<PatchV2HumanEvalSetsIdResponseBody1, z.ZodTypeDef, unknown>;
export declare function patchV2HumanEvalSetsIdResponseBody1FromJSON(jsonString: string): SafeParseResult<PatchV2HumanEvalSetsIdResponseBody1, SDKValidationError>;
/** @internal */
export declare const PatchV2HumanEvalSetsIdResponseBody$inboundSchema: z.ZodType<PatchV2HumanEvalSetsIdResponseBody, z.ZodTypeDef, unknown>;
export declare function patchV2HumanEvalSetsIdResponseBodyFromJSON(jsonString: string): SafeParseResult<PatchV2HumanEvalSetsIdResponseBody, SDKValidationError>;
//# sourceMappingURL=patchv2humanevalsetsid.d.ts.map