/** * Zod schemas for standalone post-processing tools: convert, resize, uv-unwrap. * * All three accept exactly one of input_task_id / model_url. Validation happens at * the handler level (see validateExactlyOneSource in ./printing.js) so the exported * schema stays a plain ZodObject compatible with `inputSchema`. */ import { z } from "zod"; import { ConvertFormat, OriginAt } from "../constants.js"; /** * Convert input schema — POST /openapi/v1/convert (1 credit). * Cheaper, dedicated format conversion (vs. remesh). target_formats is required. */ export declare const ConvertInputSchema: z.ZodObject<{ input_task_id: z.ZodOptional; model_url: z.ZodOptional; target_formats: z.ZodArray, "many">; response_format: z.ZodDefault>; }, "strict", z.ZodTypeAny, { target_formats: ConvertFormat[]; response_format: import("../constants.js").ResponseFormat; input_task_id?: string | undefined; model_url?: string | undefined; }, { target_formats: ConvertFormat[]; response_format?: import("../constants.js").ResponseFormat | undefined; input_task_id?: string | undefined; model_url?: string | undefined; }>; /** * Resize input schema — POST /openapi/v1/resize (1 credit). * Exactly one resize mode (resize_height / resize_longest_side / auto_size) is required. */ export declare const ResizeInputSchema: z.ZodObject<{ input_task_id: z.ZodOptional; model_url: z.ZodOptional; resize_height: z.ZodOptional; resize_longest_side: z.ZodOptional; auto_size: z.ZodOptional; origin_at: z.ZodOptional>; response_format: z.ZodDefault>; }, "strict", z.ZodTypeAny, { response_format: import("../constants.js").ResponseFormat; auto_size?: boolean | undefined; origin_at?: OriginAt | undefined; input_task_id?: string | undefined; model_url?: string | undefined; resize_height?: number | undefined; resize_longest_side?: number | undefined; }, { auto_size?: boolean | undefined; origin_at?: OriginAt | undefined; response_format?: import("../constants.js").ResponseFormat | undefined; input_task_id?: string | undefined; model_url?: string | undefined; resize_height?: number | undefined; resize_longest_side?: number | undefined; }>; /** * UV Unwrap input schema — POST /openapi/v1/uv-unwrap (5 credits). * GLB only; meshes over 40,000 faces are rejected with 400 (remesh first). */ export declare const UvUnwrapInputSchema: z.ZodObject<{ input_task_id: z.ZodOptional; model_url: z.ZodOptional; response_format: z.ZodDefault>; }, "strict", z.ZodTypeAny, { response_format: import("../constants.js").ResponseFormat; input_task_id?: string | undefined; model_url?: string | undefined; }, { response_format?: import("../constants.js").ResponseFormat | undefined; input_task_id?: string | undefined; model_url?: string | undefined; }>; /** * Runtime check for resize: exactly one resize mode must be present. * Returns null if valid, or an error message if not. */ export declare function validateExactlyOneResizeMode(params: { resize_height?: number; resize_longest_side?: number; auto_size?: boolean; }): string | null;