import { Session } from "../types/session.types.js";
import { Auth } from "../utils/auth/getAuth.js";
import { NextFunction, Request, Response } from "express";

//#region src/middlewares/sessionAuth.middleware.d.ts
type ResponseWithSession<ResBody = any, Locals extends Record<string, any> = Record<string, any> & Session> = Response<ResBody, Locals>;
declare const authMiddleware: (auth: Auth) => (req: Request, res: Response, next: NextFunction) => Promise<void>;
//#endregion
export { ResponseWithSession, authMiddleware };
//# sourceMappingURL=sessionAuth.middleware.d.ts.map