import { z } from 'zod'; import { ComponentProduct, ComponentProductOption } from '../types'; /** * Creates a dynamic Zod schema based on bundle components * Replaces manual validation logic with schema-based validation */ export declare function createBundleSchema(components: Record): z.ZodObject>, "strip", z.ZodTypeAny, { [x: string]: any; }, { [x: string]: any; }>; /** * Creates a schema for validating individual option quantities * Used for more granular validation when needed */ export declare function createOptionQuantitySchema(option: ComponentProductOption): z.ZodNumber; /** * Type inference helper for bundle form data */ export declare type BundleFormData = Record>; /** * Creates default values for the bundle form based on bundle configuration */ export declare function createBundleDefaultValues(components: Record, bundleProduct?: any, defaultConfiguration?: string): BundleFormData;