/**
 * @fileoverview Centralized Map size limits for memory management.
 *
 * These constants define maximum sizes for Maps that track ephemeral data.
 * Without limits, long-running sessions can accumulate unbounded entries
 * leading to memory leaks.
 *
 * Memory Budget Rationale:
 * - Assuming average entry size of ~1KB
 * - MAX_TRACKED_AGENTS=500 × 1KB = ~500KB for agent tracking
 * - Activity/results per agent × agents = bounded by these limits
 * - Total Map overhead: <50MB even under heavy load
 *
 * @module config/map-limits
 */
/**
 * Maximum concurrent sessions allowed.
 * Each session consumes significant resources (PTY, buffers, watchers).
 */
export declare const MAX_CONCURRENT_SESSIONS = 50;
/**
 * Maximum concurrent SSE client connections.
 * Each connection holds an open HTTP response and receives all broadcast events.
 */
export declare const MAX_SSE_CLIENTS = 100;
/**
 * Maximum todo items to track per session.
 */
export declare const MAX_TODOS_PER_SESSION = 500;
/**
 * Maximum agents to track across all sessions (LRU eviction when exceeded).
 */
export declare const MAX_TRACKED_AGENTS = 500;
/**
 * Maximum pending tool calls to track per subagent.
 * Entries should be cleaned up on tool_result, but this prevents leaks.
 */
export declare const MAX_PENDING_TOOL_CALLS = 100;
/**
 * TTL for orphaned pending tool calls (5 minutes).
 * If no tool_result received, entry is cleaned up.
 */
export declare const PENDING_TOOL_CALL_TTL_MS: number;
//# sourceMappingURL=map-limits.d.ts.map