/** * Discount Code Validation Schema * * Zod validation schemas for discount code form data. The validation * enforces field presence and type-specific constraints for `discountValue`: * - Percentage values must be between 0 and 100 * - Fixed values must be a positive currency amount (example upper bound: 1000) * * Keep messages human-friendly as they are surfaced directly to the UI. */ import { z } from "zod"; import { DISCOUNT_TYPE } from "../../type"; export declare const VALIDATION_KEYS: { readonly codeRequired: "validationDiscountCodeCodeRequired"; readonly codeMaxLength: "validationDiscountCodeCodeMaxLength"; readonly discountValueInvalid: "validationDiscountCodeValueInvalid"; }; export declare const accountDiscountCodeFormValidation: z.ZodObject<{ code: z.ZodString; description: z.ZodOptional; discountType: z.ZodEnum; discountValue: z.ZodNumber; enabled: z.ZodOptional; }, z.core.$strip>;