import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Response model for text generation. */ export type ImageToTextResponse = { /** * The generated text. */ text: string; }; /** @internal */ export declare const ImageToTextResponse$inboundSchema: z.ZodType; /** @internal */ export type ImageToTextResponse$Outbound = { text: string; }; /** @internal */ export declare const ImageToTextResponse$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 ImageToTextResponse$ { /** @deprecated use `ImageToTextResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `ImageToTextResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `ImageToTextResponse$Outbound` instead. */ type Outbound = ImageToTextResponse$Outbound; } export declare function imageToTextResponseToJSON(imageToTextResponse: ImageToTextResponse): string; export declare function imageToTextResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=imagetotextresponse.d.ts.map