/**
 * MCP server stderr tee — writes console.error output to both stderr
 * (for Claude Code) and a dated log file (for logs-read.sh retrieval).
 *
 * Claude Code spawns MCP servers as child processes and consumes their
 * stderr internally. The platform cannot intercept at the spawn level.
 * Each server must tee its own stderr to the account's log directory.
 */
/**
 * Patch process.stderr.write to tee output to a dated log file.
 *
 * Reads LOG_DIR from environment. When absent (dev mode, tool discovery),
 * does nothing — stderr continues to work as before.
 *
 * Log file: {LOG_DIR}/mcp-{serverName}-stderr-YYYY-MM-DD.log (append mode)
 */
export declare function initStderrTee(serverName: string): void;
//# sourceMappingURL=index.d.ts.map