import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type BodyGenImageToTextImage = { fileName: string; content: ReadableStream | Blob | ArrayBuffer | Uint8Array; }; export type BodyGenImageToText = { /** * Uploaded image to transform with the pipeline. */ image: BodyGenImageToTextImage | Blob; /** * Hugging Face model ID used for transformation. */ modelId?: string | undefined; /** * Text prompt(s) to guide transformation. */ prompt?: string | undefined; }; /** @internal */ export declare const BodyGenImageToTextImage$inboundSchema: z.ZodType; /** @internal */ export type BodyGenImageToTextImage$Outbound = { fileName: string; content: ReadableStream | Blob | ArrayBuffer | Uint8Array; }; /** @internal */ export declare const BodyGenImageToTextImage$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace BodyGenImageToTextImage$ { /** @deprecated use `BodyGenImageToTextImage$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `BodyGenImageToTextImage$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `BodyGenImageToTextImage$Outbound` instead. */ type Outbound = BodyGenImageToTextImage$Outbound; } export declare function bodyGenImageToTextImageToJSON(bodyGenImageToTextImage: BodyGenImageToTextImage): string; export declare function bodyGenImageToTextImageFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const BodyGenImageToText$inboundSchema: z.ZodType; /** @internal */ export type BodyGenImageToText$Outbound = { image: BodyGenImageToTextImage$Outbound | Blob; model_id: string; prompt: string; }; /** @internal */ export declare const BodyGenImageToText$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace BodyGenImageToText$ { /** @deprecated use `BodyGenImageToText$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `BodyGenImageToText$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `BodyGenImageToText$Outbound` instead. */ type Outbound = BodyGenImageToText$Outbound; } export declare function bodyGenImageToTextToJSON(bodyGenImageToText: BodyGenImageToText): string; export declare function bodyGenImageToTextFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=bodygenimagetotext.d.ts.map