import { Request, RequestHandler } from 'express';
/**
 * Interface for decoded JWT payload
 */
export interface JwtPayload {
    userId: string;
    twitterId: string;
    username: string;
    iat: number;
    exp: number;
    agentId?: string;
}
/**
 * Extend Express Request interface to include user
 */
export type XaiCombatRequest = Request & {
    XaicombatUser?: {
        userId: string;
        twitterId: string;
        username: string;
        agentId?: string;
    };
};
/**
 * Middleware to verify JWT token
 * Extracts token from cookies and verifies it
 * If valid, attaches decoded payload to req.user
 */
export declare const verifyToken: RequestHandler;
//# sourceMappingURL=auth.d.ts.map