import { Request, Response, NextFunction } from 'express';
export interface AuthPayload {
    userId: number;
    perfil: 'ADMIN' | 'GESTOR' | 'ALMOXARIFE';
    obraId: number | null;
}
export interface AuthRequest extends Request {
    user?: AuthPayload;
}
export declare function authenticate(req: AuthRequest, res: Response, next: NextFunction): void;
//# sourceMappingURL=auth.middleware.d.ts.map