import type { NextFunction, Request, RequestHandler, Response } from 'express-serve-static-core'; import * as z from 'zod/mini'; /** * Empty Zod schema for requests with no parameters. */ export declare const EmptyParamsZod: z.ZodMiniObject<{}, z.core.$catchall>>; /** * Empty Zod schema for requests with no query parameters. */ export declare const EmptyQueryParamsZod: z.ZodMiniObject<{}, z.core.$catchall, z.ZodMiniArray>]>>>; /** * Default validation schemas for request handler validator. */ export declare const ValidateRequestDefaults: { params: z.ZodMiniObject<{}, z.core.$catchall>>; query: z.ZodMiniObject<{}, z.core.$catchall, z.ZodMiniArray>]>>>; body: z.ZodMiniOptional; response: z.ZodMiniOptional; }; /** * Factory for Express middleware that validates request and response objects using Zod schemas. * @param schemas The Zod schemas to use for validation. * @returns A middleware function for validating requests and responses. */ export declare function requestHandlerValidator> = typeof EmptyQueryParamsZod, TQuery extends typeof EmptyQueryParamsZod | z.core.$ZodType> = typeof EmptyQueryParamsZod, TBody extends z.core.$ZodType = z.core.$ZodType, TResponse extends z.core.$ZodType = z.core.$ZodType>(schemas?: Partial<{ body: TBody; params: TParams; query: TQuery; response: TResponse; }>): (handler: (req: Request, z.core.output, z.core.output, z.core.output>, res: Response>, next: NextFunction) => unknown) => RequestHandler; //# sourceMappingURL=requestHandlerValidator.d.ts.map