import { z, type ZodEffects, type ZodNullable, type ZodObject, type ZodOptional } from "@medusajs/framework/zod"; /** * Wraps the original schema to a function to accept and merge * additional_data schema */ export declare const WithAdditionalData: >(originalSchema: T, modifyCallback?: (schema: T) => ZodObject | ZodEffects) => (additionalDataValidator?: ZodOptional>>) => z.ZodObject | z.ZodEffects; export declare const createBatchBody: (createValidator: z.ZodType, updateValidator: z.ZodType, deleteValidator?: z.ZodType) => z.ZodObject<{ create: z.ZodOptional, "many">>; update: z.ZodOptional, "many">>; delete: z.ZodOptional, "many">>; }, "strip", z.ZodTypeAny, { update?: any[] | undefined; create?: any[] | undefined; delete?: any[] | undefined; }, { update?: any[] | undefined; create?: any[] | undefined; delete?: any[] | undefined; }>; export declare const createLinkBody: () => z.ZodObject<{ add: z.ZodOptional>; remove: z.ZodOptional>; }, "strip", z.ZodTypeAny, { add?: string[] | undefined; remove?: string[] | undefined; }, { add?: string[] | undefined; remove?: string[] | undefined; }>; export declare const createSelectParams: () => z.ZodObject<{ fields: z.ZodOptional; }, "strip", z.ZodTypeAny, { fields?: string | undefined; }, { fields?: string | undefined; }>; export declare const createFindParams: ({ offset, limit, order, }?: { offset?: number; limit?: number; order?: string; }) => z.ZodObject<{ fields: z.ZodOptional; } & { offset: z.ZodEffects>, number, unknown>; limit: z.ZodEffects>, number, unknown>; order: z.ZodOptional | z.ZodDefault>; with_deleted: z.ZodEffects, boolean | undefined, unknown>; }, "strip", z.ZodTypeAny, { offset: number; limit: number; order?: string | undefined; fields?: string | undefined; with_deleted?: boolean | undefined; }, { order?: string | undefined; fields?: string | undefined; offset?: unknown; limit?: unknown; with_deleted?: unknown; }>; export declare const createOperatorMap: (type?: z.ZodType, valueParser?: (val: any) => any) => z.ZodUnion<[any, z.ZodObject<{ $eq: any; $ne: any; $in: any; $nin: any; $like: any; $ilike: any; $re: any; $contains: any; $gt: any; $gte: any; $lt: any; $lte: any; }, "strip", z.ZodTypeAny, { $eq?: any; $ne?: any; $in?: any; $nin?: any; $like?: any; $ilike?: any; $re?: any; $contains?: any; $gt?: any; $gte?: any; $lt?: any; $lte?: any; }, { $eq?: any; $ne?: any; $in?: any; $nin?: any; $like?: any; $ilike?: any; $re?: any; $contains?: any; $gt?: any; $gte?: any; $lt?: any; $lte?: any; }>]>; //# sourceMappingURL=validators.d.ts.map