import * as z from "zod/v4"; import { ClosedEnum, OpenEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; export declare const OpenAIFileShape: { readonly Openai: "openai"; }; export type OpenAIFileShape = ClosedEnum; export declare const OpenAIFileObject: { readonly File: "file"; }; export type OpenAIFileObject = ClosedEnum; export declare const Purpose: { readonly Assistants: "assistants"; readonly Batch: "batch"; readonly FineTune: "fine-tune"; readonly Vision: "vision"; readonly UserData: "user_data"; readonly Evals: "evals"; readonly AssistantsOutput: "assistants_output"; readonly BatchOutput: "batch_output"; readonly FineTuneResults: "fine-tune-results"; }; export type Purpose = OpenEnum; export declare const OpenAIFileStatus: { readonly Processed: "processed"; }; export type OpenAIFileStatus = ClosedEnum; /** * A stored file in OpenAI's Files API shape. */ export type OpenAIFile = { shape: OpenAIFileShape; bytes: number; createdAt: number; filename: string; id: string; object: OpenAIFileObject; purpose: Purpose; status: OpenAIFileStatus; }; /** @internal */ export declare const OpenAIFileShape$inboundSchema: z.ZodEnum; /** @internal */ export declare const OpenAIFileObject$inboundSchema: z.ZodEnum; /** @internal */ export declare const Purpose$inboundSchema: z.ZodType; /** @internal */ export declare const OpenAIFileStatus$inboundSchema: z.ZodEnum; /** @internal */ export declare const OpenAIFile$inboundSchema: z.ZodType; export declare function openAIFileFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=openaifile.d.ts.map