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"; import { FileSearchResult, FileSearchResult$Outbound } from "./filesearchresult.js"; export declare const FileSearchToolCallWithIdStatus: { readonly InProgress: "in_progress"; readonly Searching: "searching"; readonly Completed: "completed"; readonly Incomplete: "incomplete"; readonly Failed: "failed"; }; export type FileSearchToolCallWithIdStatus = ClosedEnum; /** * File search call item: A tool-call record for semantic file search, including query terms, status, and optional results. */ export type FileSearchToolCallWithId = { type: "file_search_call"; /** * The unique ID of the message. */ id: string; queries: Array; status: FileSearchToolCallWithIdStatus; results?: Array | undefined; /** * The ID of the response that created this item, if any. */ responseId?: string | null | undefined; /** * Metadata from the response that created this item, if any. */ metadata?: { [k: string]: string; } | null | undefined; }; /** @internal */ export declare const FileSearchToolCallWithIdStatus$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const FileSearchToolCallWithIdStatus$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const FileSearchToolCallWithId$inboundSchema: z.ZodType; /** @internal */ export type FileSearchToolCallWithId$Outbound = { type: "file_search_call"; id: string; queries: Array; status: string; results?: Array | undefined; response_id?: string | null | undefined; metadata?: { [k: string]: string; } | null | undefined; }; /** @internal */ export declare const FileSearchToolCallWithId$outboundSchema: z.ZodType; export declare function fileSearchToolCallWithIdToJSON(fileSearchToolCallWithId: FileSearchToolCallWithId): string; export declare function fileSearchToolCallWithIdFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=filesearchtoolcallwithid.d.ts.map