/** * @license * Copyright 2025 Qwen Team * SPDX-License-Identifier: Apache-2.0 */ /** * Utility functions for writing to stdout/stderr in CLI commands. * * These helpers are used instead of console.log/console.error in standalone * CLI commands (like `aether extensions list`) where the output IS the user-facing * result, not debug logging. * * For debug/diagnostic logging, use `createDebugLogger()` from @aetherai/aether-core. */ /** * Writes a message to stdout with a trailing newline. * Use for normal command output that the user expects to see. * Avoids double newlines if the message already ends with one. */ export declare const writeStdoutLine: (message: string) => void; /** * Writes a message to stderr with a trailing newline. * Use for error messages in CLI commands. * Avoids double newlines if the message already ends with one. */ export declare const writeStderrLine: (message: string) => void; /** * Clears the terminal screen. * Use instead of console.clear() to satisfy no-console lint rules. */ export declare const clearScreen: () => void;