import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { AmountDecimal, AmountDecimal$Outbound } from "./amountdecimal.js"; import { AssignProductImage, AssignProductImage$Outbound } from "./assignproductimage.js"; export type CreateProductOption = { /** * The display name of a product option. */ name: string; /** * A detailed description of the option. * * @remarks * * - Must be valid UTF-8 text * - Supports Markdown for formatting * - HTML is not permitted and will be rejected */ description?: string | undefined; /** * The adjustment applied to a product's base price by this option. Can be negative, positive, or zero. */ priceModifier?: AmountDecimal | undefined; /** * Assign previously uploaded images to a product or option. */ images?: Array | undefined; }; /** @internal */ export declare const CreateProductOption$inboundSchema: z.ZodType; /** @internal */ export type CreateProductOption$Outbound = { name: string; description?: string | undefined; priceModifier?: AmountDecimal$Outbound | undefined; images?: Array | undefined; }; /** @internal */ export declare const CreateProductOption$outboundSchema: z.ZodType; export declare function createProductOptionToJSON(createProductOption: CreateProductOption): string; export declare function createProductOptionFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=createproductoption.d.ts.map