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 { ProductImageMetadata, ProductImageMetadata$Outbound } from "./productimagemetadata.js"; /** * Represents a single product option within a group. */ export type ProductOption = { /** * 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; /** * The images associated with this option. */ images?: Array | undefined; }; /** @internal */ export declare const ProductOption$inboundSchema: z.ZodType; /** @internal */ export type ProductOption$Outbound = { name: string; description?: string | undefined; priceModifier?: AmountDecimal$Outbound | undefined; images?: Array | undefined; }; /** @internal */ export declare const ProductOption$outboundSchema: z.ZodType; export declare function productOptionToJSON(productOption: ProductOption): string; export declare function productOptionFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=productoption.d.ts.map