import type { FastifyReply } from "fastify"; import type { z } from "zod"; /** * Parse and validate a request body against a zod schema. * On success, returns the parsed (and transformed) data. * On failure, sends a 400 response with structured field errors and returns null. */ export declare function validateBody(body: unknown, schema: T, reply: FastifyReply): z.infer | null; //# sourceMappingURL=validate.d.ts.map