import { InputJsonValue } from "@prisma/client/runtime/library"; import { z } from "zod/v4"; declare const rootLiteralSchema: z.ZodUnion; declare const nestedLiteralSchema: z.ZodUnion; type Root = z.infer; type Literal = z.infer; export type JsonNested = Literal | { [key: string]: JsonNested; } | JsonNested[]; type Json = Root | { [key: string]: JsonNested; } | JsonNested[]; export declare const jsonSchemaNullable: z.ZodType; export declare const jsonSchema: z.ZodType; export declare const paginationZod: { page: z.ZodPipe, z.ZodDefault>>; limit: z.ZodPipe, z.ZodDefault>>; }; export declare const publicApiPaginationZod: { page: z.ZodPipe, z.ZodDefault>>; limit: z.ZodPipe, z.ZodDefault>>; }; export declare const optionalPaginationZod: { page: z.ZodOptional, z.ZodCoercedNumber>>; limit: z.ZodOptional, z.ZodCoercedNumber>>; }; export declare const queryStringZod: z.ZodPipe>; export declare const paginationMetaResponseZod: z.ZodObject<{ page: z.ZodNumber; limit: z.ZodNumber; totalItems: z.ZodNumber; totalPages: z.ZodNumber; }, z.core.$strip>; export declare const urlRegex: RegExp; export declare const noUrlCheck: (value: string) => boolean; export declare const NonEmptyString: z.ZodString; export declare const htmlRegex: RegExp; export declare const StringNoHTML: z.ZodString; export declare const StringNoHTMLNonEmpty: z.ZodString; /** * Validates an object against a Zod schema and helps with IDE type warnings. * * @param schema - The Zod schema to validate against. * @param object - The object to be validated. * @returns The parsed object if validation is successful. */ export declare const validateZodSchema: (schema: T, object: z.infer) => z.infer; export declare const JSONPrimitiveValueSchema: z.ZodUnion; export declare const JSONValueSchema: z.ZodType; export declare const JSONObjectSchema: z.ZodRecord>>; export declare const JSONArraySchema: z.ZodArray>>; export type JSONPrimitiveValue = z.infer; export type JSONValue = z.infer; export type JSONObject = z.infer; export type JSONArray = z.infer; export {}; //# sourceMappingURL=zod.d.ts.map