/** * OAuth2 Authentication Middleware */ import { Request, Response, NextFunction } from "express"; import type { TokenInfo } from "./types.js"; export interface AuthenticatedRequest extends Request { tokenInfo: TokenInfo; } /** * Bearer Token Authentication Middleware * * Validates the Authorization header and attaches tokenInfo to the request. */ export declare function requireAuth(req: Request, res: Response, next: NextFunction): void; //# sourceMappingURL=middleware.d.ts.map