import * as z from "zod/v4"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; import { ImageGenerationUsage } from "./imagegenerationusage.js"; export type ImageGenerationResponseData = { /** * Base64-encoded image bytes */ b64Json: string; /** * Media type (MIME type) of the image, e.g. `image/png`, `image/jpeg`, `image/webp`, `image/svg+xml`. May be omitted if the format could not be determined. */ mediaType?: string | undefined; }; /** * Image generation response */ export type ImageGenerationResponse = { /** * Unix timestamp (seconds) when the image was generated */ created: number; /** * Generated images */ data: Array; /** * Token and cost usage for the image generation request, when available */ usage?: ImageGenerationUsage | undefined; }; /** @internal */ export declare const ImageGenerationResponseData$inboundSchema: z.ZodType; export declare function imageGenerationResponseDataFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ImageGenerationResponse$inboundSchema: z.ZodType; export declare function imageGenerationResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=imagegenerationresponse.d.ts.map