/**
 * Agent Heartbeat Middleware
 *
 * Express middleware that extracts the X-Agent-Session header from incoming
 * API requests and fires a heartbeat update. This ensures ANY skill call
 * from ANY agent counts as a heartbeat, eliminating the problem of only
 * a few endpoints updating the heartbeat.
 *
 * @module agent-heartbeat.middleware
 */
import type { Request, Response, NextFunction } from 'express';
/**
 * Express middleware that reads the X-Agent-Session header and updates
 * the agent heartbeat fire-and-forget. Also records the API call as
 * PTY activity so that idle detection treats API calls as proof-of-life,
 * preventing false suspend/restart of active agents.
 *
 * @param req - Express request object
 * @param res - Express response object
 * @param next - Express next function
 */
export declare function agentHeartbeatMiddleware(req: Request, res: Response, next: NextFunction): void;
//# sourceMappingURL=agent-heartbeat.middleware.d.ts.map