import * as z from "zod/v4";
import * as discriminatedUnionTypes from "../types/discriminatedUnion.js";
import { Result as SafeParseResult } from "../types/fp.js";
import { AnthropicFile } from "./anthropicfile.js";
import { SDKValidationError } from "./errors/sdkvalidationerror.js";
import { OpenAIFile } from "./openaifile.js";
import { OpenRouterFile } from "./openrouterfile.js";
/**
 * A stored file. The shape is negotiated per request — see the endpoint description.
 */
export type FileResponse = (AnthropicFile & {
    shape: "anthropic";
}) | (OpenAIFile & {
    shape: "openai";
}) | (OpenRouterFile & {
    shape: "openrouter";
}) | discriminatedUnionTypes.Unknown<"shape">;
/** @internal */
export declare const FileResponse$inboundSchema: z.ZodType<FileResponse, unknown>;
export declare function fileResponseFromJSON(jsonString: string): SafeParseResult<FileResponse, SDKValidationError>;
//# sourceMappingURL=fileresponse.d.ts.map