import * as z from "zod/v4"; import { OpenEnum } from "../types/enums.js"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; export declare const Background: { readonly Transparent: "transparent"; readonly Opaque: "opaque"; readonly Auto: "auto"; }; export type Background = OpenEnum; export declare const InputFidelity: { readonly High: "high"; readonly Low: "low"; }; export type InputFidelity = OpenEnum; export type InputImageMask = { fileId?: string | undefined; imageUrl?: string | undefined; }; export declare const ModelEnum: { readonly GptImage1: "gpt-image-1"; readonly GptImage1Mini: "gpt-image-1-mini"; }; export type ModelEnum = OpenEnum; export declare const Moderation: { readonly Auto: "auto"; readonly Low: "low"; }; export type Moderation = OpenEnum; export declare const OutputFormat: { readonly Png: "png"; readonly Webp: "webp"; readonly Jpeg: "jpeg"; }; export type OutputFormat = OpenEnum; export declare const Quality: { readonly Low: "low"; readonly Medium: "medium"; readonly High: "high"; readonly Auto: "auto"; }; export type Quality = OpenEnum; export declare const Size: { readonly OneThousandAndTwentyFourx1024: "1024x1024"; readonly OneThousandAndTwentyFourx1536: "1024x1536"; readonly OneThousandFiveHundredAndThirtySixx1024: "1536x1024"; readonly Auto: "auto"; }; export type Size = OpenEnum; /** * Image generation tool configuration */ export type ImageGenerationServerTool = { background?: Background | undefined; inputFidelity?: InputFidelity | null | undefined; inputImageMask?: InputImageMask | undefined; model?: ModelEnum | undefined; moderation?: Moderation | undefined; outputCompression?: number | undefined; outputFormat?: OutputFormat | undefined; partialImages?: number | undefined; quality?: Quality | undefined; size?: Size | undefined; type: "image_generation"; }; /** @internal */ export declare const Background$inboundSchema: z.ZodType; /** @internal */ export declare const Background$outboundSchema: z.ZodType; /** @internal */ export declare const InputFidelity$inboundSchema: z.ZodType; /** @internal */ export declare const InputFidelity$outboundSchema: z.ZodType; /** @internal */ export declare const InputImageMask$inboundSchema: z.ZodType; /** @internal */ export type InputImageMask$Outbound = { file_id?: string | undefined; image_url?: string | undefined; }; /** @internal */ export declare const InputImageMask$outboundSchema: z.ZodType; export declare function inputImageMaskToJSON(inputImageMask: InputImageMask): string; export declare function inputImageMaskFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ModelEnum$inboundSchema: z.ZodType; /** @internal */ export declare const ModelEnum$outboundSchema: z.ZodType; /** @internal */ export declare const Moderation$inboundSchema: z.ZodType; /** @internal */ export declare const Moderation$outboundSchema: z.ZodType; /** @internal */ export declare const OutputFormat$inboundSchema: z.ZodType; /** @internal */ export declare const OutputFormat$outboundSchema: z.ZodType; /** @internal */ export declare const Quality$inboundSchema: z.ZodType; /** @internal */ export declare const Quality$outboundSchema: z.ZodType; /** @internal */ export declare const Size$inboundSchema: z.ZodType; /** @internal */ export declare const Size$outboundSchema: z.ZodType; /** @internal */ export declare const ImageGenerationServerTool$inboundSchema: z.ZodType; /** @internal */ export type ImageGenerationServerTool$Outbound = { background?: string | undefined; input_fidelity?: string | null | undefined; input_image_mask?: InputImageMask$Outbound | undefined; model?: string | undefined; moderation?: string | undefined; output_compression?: number | undefined; output_format?: string | undefined; partial_images?: number | undefined; quality?: string | undefined; size?: string | undefined; type: "image_generation"; }; /** @internal */ export declare const ImageGenerationServerTool$outboundSchema: z.ZodType; export declare function imageGenerationServerToolToJSON(imageGenerationServerTool: ImageGenerationServerTool): string; export declare function imageGenerationServerToolFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=imagegenerationservertool.d.ts.map