import * as z from "zod/v4"; import { OpenEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { CompoundFilter, CompoundFilter$Outbound } from "./compoundfilter.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; export declare const FiltersType: { readonly Eq: "eq"; readonly Ne: "ne"; readonly Gt: "gt"; readonly Gte: "gte"; readonly Lt: "lt"; readonly Lte: "lte"; }; export type FiltersType = OpenEnum; export type FileSearchServerToolValue1 = string | number; export type FileSearchServerToolValue2 = string | number | boolean | Array; export type Filters = { key: string; type: FiltersType; value: string | number | boolean | Array; }; export type FiltersUnion = Filters | CompoundFilter | any; export declare const Ranker: { readonly Auto: "auto"; readonly Default20241115: "default-2024-11-15"; }; export type Ranker = OpenEnum; export type RankingOptions = { ranker?: Ranker | undefined; scoreThreshold?: number | undefined; }; /** * File search tool configuration */ export type FileSearchServerTool = { filters?: Filters | CompoundFilter | any | null | undefined; maxNumResults?: number | undefined; rankingOptions?: RankingOptions | undefined; type: "file_search"; vectorStoreIds: Array; }; /** @internal */ export declare const FiltersType$inboundSchema: z.ZodType; /** @internal */ export declare const FiltersType$outboundSchema: z.ZodType; /** @internal */ export declare const FileSearchServerToolValue1$inboundSchema: z.ZodType; /** @internal */ export type FileSearchServerToolValue1$Outbound = string | number; /** @internal */ export declare const FileSearchServerToolValue1$outboundSchema: z.ZodType; export declare function fileSearchServerToolValue1ToJSON(fileSearchServerToolValue1: FileSearchServerToolValue1): string; export declare function fileSearchServerToolValue1FromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const FileSearchServerToolValue2$inboundSchema: z.ZodType; /** @internal */ export type FileSearchServerToolValue2$Outbound = string | number | boolean | Array; /** @internal */ export declare const FileSearchServerToolValue2$outboundSchema: z.ZodType; export declare function fileSearchServerToolValue2ToJSON(fileSearchServerToolValue2: FileSearchServerToolValue2): string; export declare function fileSearchServerToolValue2FromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const Filters$inboundSchema: z.ZodType; /** @internal */ export type Filters$Outbound = { key: string; type: string; value: string | number | boolean | Array; }; /** @internal */ export declare const Filters$outboundSchema: z.ZodType; export declare function filtersToJSON(filters: Filters): string; export declare function filtersFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const FiltersUnion$inboundSchema: z.ZodType; /** @internal */ export type FiltersUnion$Outbound = Filters$Outbound | CompoundFilter$Outbound | any; /** @internal */ export declare const FiltersUnion$outboundSchema: z.ZodType; export declare function filtersUnionToJSON(filtersUnion: FiltersUnion): string; export declare function filtersUnionFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const Ranker$inboundSchema: z.ZodType; /** @internal */ export declare const Ranker$outboundSchema: z.ZodType; /** @internal */ export declare const RankingOptions$inboundSchema: z.ZodType; /** @internal */ export type RankingOptions$Outbound = { ranker?: string | undefined; score_threshold?: number | undefined; }; /** @internal */ export declare const RankingOptions$outboundSchema: z.ZodType; export declare function rankingOptionsToJSON(rankingOptions: RankingOptions): string; export declare function rankingOptionsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const FileSearchServerTool$inboundSchema: z.ZodType; /** @internal */ export type FileSearchServerTool$Outbound = { filters?: Filters$Outbound | CompoundFilter$Outbound | any | null | undefined; max_num_results?: number | undefined; ranking_options?: RankingOptions$Outbound | undefined; type: "file_search"; vector_store_ids: Array; }; /** @internal */ export declare const FileSearchServerTool$outboundSchema: z.ZodType; export declare function fileSearchServerToolToJSON(fileSearchServerTool: FileSearchServerTool): string; export declare function fileSearchServerToolFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=filesearchservertool.d.ts.map