import { Request, Response, NextFunction } from "express"; declare global { interface Req extends Request { clientIp?: string | string[]; session?: any; currentUser?: any; uploaderError?: Error; } } export declare const currentUser: (jwt_key: string) => (req: Req, res: Response, next: NextFunction) => void;