import type { NextFunction, Request, Response } from 'express'; import type { ZodSchema, z } from 'zod'; export declare const handleRequest: (schema: T, handler: (args: { req: Request>; res: Response; body: z.infer; }) => Promise) => (req: Request, res: Response, next: NextFunction) => Promise>>;