import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type Six = { type: "number"; }; export type Five = { type: "label_set"; labels: Array; caseSensitive?: boolean | undefined; }; export type EvalOutputExtractionGroup = number | string; export type EvalOutputExtraction4 = { type: "regex_last"; pattern: string; group?: number | string | undefined; flags?: string | undefined; }; export type Group = number | string; export type EvalOutputExtraction3 = { type: "regex"; pattern: string; group?: number | string | undefined; flags?: string | undefined; }; export type EvalOutputExtraction2 = { type: "take_first"; lines?: number | undefined; }; export type EvalOutputExtraction1 = { type: "none"; }; export type EvalOutputExtraction = EvalOutputExtraction1 | EvalOutputExtraction2 | EvalOutputExtraction3 | EvalOutputExtraction4 | Five | Six; /** @internal */ export declare const Six$inboundSchema: z.ZodType; /** @internal */ export type Six$Outbound = { type: "number"; }; /** @internal */ export declare const Six$outboundSchema: z.ZodType; export declare function sixToJSON(six: Six): string; export declare function sixFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const Five$inboundSchema: z.ZodType; /** @internal */ export type Five$Outbound = { type: "label_set"; labels: Array; case_sensitive: boolean; }; /** @internal */ export declare const Five$outboundSchema: z.ZodType; export declare function fiveToJSON(five: Five): string; export declare function fiveFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const EvalOutputExtractionGroup$inboundSchema: z.ZodType; /** @internal */ export type EvalOutputExtractionGroup$Outbound = number | string; /** @internal */ export declare const EvalOutputExtractionGroup$outboundSchema: z.ZodType; export declare function evalOutputExtractionGroupToJSON(evalOutputExtractionGroup: EvalOutputExtractionGroup): string; export declare function evalOutputExtractionGroupFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const EvalOutputExtraction4$inboundSchema: z.ZodType; /** @internal */ export type EvalOutputExtraction4$Outbound = { type: "regex_last"; pattern: string; group?: number | string | undefined; flags?: string | undefined; }; /** @internal */ export declare const EvalOutputExtraction4$outboundSchema: z.ZodType; export declare function evalOutputExtraction4ToJSON(evalOutputExtraction4: EvalOutputExtraction4): string; export declare function evalOutputExtraction4FromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const Group$inboundSchema: z.ZodType; /** @internal */ export type Group$Outbound = number | string; /** @internal */ export declare const Group$outboundSchema: z.ZodType; export declare function groupToJSON(group: Group): string; export declare function groupFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const EvalOutputExtraction3$inboundSchema: z.ZodType; /** @internal */ export type EvalOutputExtraction3$Outbound = { type: "regex"; pattern: string; group?: number | string | undefined; flags?: string | undefined; }; /** @internal */ export declare const EvalOutputExtraction3$outboundSchema: z.ZodType; export declare function evalOutputExtraction3ToJSON(evalOutputExtraction3: EvalOutputExtraction3): string; export declare function evalOutputExtraction3FromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const EvalOutputExtraction2$inboundSchema: z.ZodType; /** @internal */ export type EvalOutputExtraction2$Outbound = { type: "take_first"; lines: number; }; /** @internal */ export declare const EvalOutputExtraction2$outboundSchema: z.ZodType; export declare function evalOutputExtraction2ToJSON(evalOutputExtraction2: EvalOutputExtraction2): string; export declare function evalOutputExtraction2FromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const EvalOutputExtraction1$inboundSchema: z.ZodType; /** @internal */ export type EvalOutputExtraction1$Outbound = { type: "none"; }; /** @internal */ export declare const EvalOutputExtraction1$outboundSchema: z.ZodType; export declare function evalOutputExtraction1ToJSON(evalOutputExtraction1: EvalOutputExtraction1): string; export declare function evalOutputExtraction1FromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const EvalOutputExtraction$inboundSchema: z.ZodType; /** @internal */ export type EvalOutputExtraction$Outbound = EvalOutputExtraction1$Outbound | EvalOutputExtraction2$Outbound | EvalOutputExtraction3$Outbound | EvalOutputExtraction4$Outbound | Five$Outbound | Six$Outbound; /** @internal */ export declare const EvalOutputExtraction$outboundSchema: z.ZodType; export declare function evalOutputExtractionToJSON(evalOutputExtraction: EvalOutputExtraction): string; export declare function evalOutputExtractionFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=evaloutputextraction.d.ts.map