/**
 * @fileoverview Web server performance and scheduling constants.
 *
 * Controls terminal batching throughput, SSE health checking,
 * state persistence debouncing, and scheduled run timing.
 *
 * @module config/server-timing
 */
/** Terminal data batching interval — targets 60fps (ms) */
export declare const TERMINAL_BATCH_INTERVAL = 16;
/** Immediate flush threshold for terminal batches (bytes).
 * Set high (32KB) to allow effective batching; avg Ink events are ~14KB. */
export declare const BATCH_FLUSH_THRESHOLD: number;
/** Task event batching interval (ms) */
export declare const TASK_UPDATE_BATCH_INTERVAL = 100;
/** SSE heartbeat interval — sends padded keepalive to flush proxy buffers (ms).
 * 15s is fast enough to keep Cloudflare tunnel buffers flushed while avoiding
 * excessive bandwidth. Also serves as dead-client detection. */
export declare const SSE_HEARTBEAT_INTERVAL: number;
/** SSE padding size (bytes). Cloudflare quick tunnels buffer small SSE events;
 * appending ~8KB of SSE comment padding forces the proxy to flush immediately.
 * SSE comments (lines starting with ':') are silently ignored by EventSource. */
export declare const SSE_PADDING_SIZE: number;
/** State update debounce — batches expensive toDetailedState() calls (ms) */
export declare const STATE_UPDATE_DEBOUNCE_INTERVAL = 500;
/** Sessions list cache TTL — avoids re-serializing on every SSE init (ms) */
export declare const SESSIONS_LIST_CACHE_TTL = 1000;
/** Scheduled runs cleanup check interval (ms) */
export declare const SCHEDULED_CLEANUP_INTERVAL: number;
/** Completed scheduled run max age before cleanup (ms) */
export declare const SCHEDULED_RUN_MAX_AGE: number;
/** Session limit retry wait before retrying (ms) */
export declare const SESSION_LIMIT_WAIT_MS = 5000;
/** Pause between scheduled run iterations (ms) */
export declare const ITERATION_PAUSE_MS = 2000;
/** Mux stats collection interval (ms) */
export declare const STATS_COLLECTION_INTERVAL_MS = 2000;
/** Max consecutive unhandled errors before auto-restart */
export declare const MAX_CONSECUTIVE_ERRORS = 5;
/** Error counter reset interval — forgives errors after quiet period (ms) */
export declare const ERROR_RESET_MS = 60000;
/** Standard 1-minute cleanup/check interval used by multiple subsystems (ms) */
export declare const CLEANUP_CHECK_INTERVAL_MS = 60000;
/** Standard 1-hour max age for stale/completed data (ms) */
export declare const STALE_DATA_MAX_AGE_MS: number;
/** Standard 5-minute inactivity timeout for streams and caches (ms) */
export declare const INACTIVITY_TIMEOUT_MS: number;
//# sourceMappingURL=server-timing.d.ts.map