import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; /** * Image generation call item: A tool-call record for image generation, including status and result URL. */ export type ImageGenerationCallWithId = { type: "image_generation_call"; /** * The unique ID of the message. */ id: string; status: string; result: string; background?: string | undefined; outputFormat?: string | undefined; quality?: string | undefined; size?: string | undefined; revisedPrompt?: string | undefined; /** * The ID of the response that created this item, if any. */ responseId?: string | null | undefined; /** * Metadata from the response that created this item, if any. */ metadata?: { [k: string]: string; } | null | undefined; }; /** @internal */ export declare const ImageGenerationCallWithId$inboundSchema: z.ZodType; /** @internal */ export type ImageGenerationCallWithId$Outbound = { type: "image_generation_call"; id: string; status: string; result: string; background?: string | undefined; output_format?: string | undefined; quality?: string | undefined; size?: string | undefined; revised_prompt?: string | undefined; response_id?: string | null | undefined; metadata?: { [k: string]: string; } | null | undefined; }; /** @internal */ export declare const ImageGenerationCallWithId$outboundSchema: z.ZodType; export declare function imageGenerationCallWithIdToJSON(imageGenerationCallWithId: ImageGenerationCallWithId): string; export declare function imageGenerationCallWithIdFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=imagegenerationcallwithid.d.ts.map