import { z } from 'zod'; import { ValidationException } from '../exceptions/ValidationException'; export declare const validate: (result: z.SafeParseReturnType) => import("fp-ts/Either").Left | import("fp-ts/Either").Right; export declare function nullable(schema: TSchema): z.ZodObject<{ [key in keyof TSchema["shape"]]: z.ZodNullable; }, "strip", z.ZodTypeAny, z.objectUtil.addQuestionMarks; }>, any> extends infer T ? { [k in keyof T]: z.objectUtil.addQuestionMarks; }>, any>[k]; } : never, z.baseObjectInputType<{ [key in keyof TSchema["shape"]]: z.ZodNullable; }> extends infer T_1 ? { [k_1 in keyof T_1]: z.baseObjectInputType<{ [key in keyof TSchema["shape"]]: z.ZodNullable; }>[k_1]; } : never>;