/** * Console methods that write to stdout under Bun or Node: Bun also prints * `trace` there, and Node prints `timeLog` and `timeEnd` output. `countReset`, * `groupEnd`, and `time` print nothing but move with their counterparts so * counters, indentation, and timers stay on one console. `assert` writes to * stderr in both runtimes, and `clear` writes only to a TTY. The CLI capture * in apps/cli/src/lib/output.ts is narrower because the CLI runs only on Bun. */ export declare const STDOUT_CONSOLE_METHODS: readonly ["log", "info", "debug", "trace", "dir", "dirxml", "table", "count", "countReset", "group", "groupCollapsed", "groupEnd", "time", "timeLog", "timeEnd"]; /** * Route every stdout-bound console method to stderr. The stdio transport owns * stdout for newline-delimited JSON-RPC, so stray domain or library logging * must never reach it. A method the runtime's console lacks is skipped rather * than aborting startup with a partially patched console. Returns a function * that restores the original methods. */ export declare function routeConsoleStdoutToStderr(target?: Console, stderr?: NodeJS.WritableStream): () => void; //# sourceMappingURL=stdio-console.d.ts.map