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<typeof OpenAIFileShape>;
export declare const OpenAIFileObject: {
    readonly File: "file";
};
export type OpenAIFileObject = ClosedEnum<typeof OpenAIFileObject>;
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<typeof Purpose>;
export declare const OpenAIFileStatus: {
    readonly Processed: "processed";
};
export type OpenAIFileStatus = ClosedEnum<typeof OpenAIFileStatus>;
/**
 * 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<typeof OpenAIFileShape>;
/** @internal */
export declare const OpenAIFileObject$inboundSchema: z.ZodEnum<typeof OpenAIFileObject>;
/** @internal */
export declare const Purpose$inboundSchema: z.ZodType<Purpose, unknown>;
/** @internal */
export declare const OpenAIFileStatus$inboundSchema: z.ZodEnum<typeof OpenAIFileStatus>;
/** @internal */
export declare const OpenAIFile$inboundSchema: z.ZodType<OpenAIFile, unknown>;
export declare function openAIFileFromJSON(jsonString: string): SafeParseResult<OpenAIFile, SDKValidationError>;
//# sourceMappingURL=openaifile.d.ts.map