/** * @license * Copyright 2026 Qwen * SPDX-License-Identifier: Apache-2.0 */ /** * Ported from packages/cli/src/ui/utils/textUtils.ts (escapeAnsiCtrlCodes), * reduced to the string path this package actually uses: escape ANSI/control * sequences in untrusted text before it reaches logs or model context. * Returns the input unchanged when it contains no ANSI sequences. */ export declare function escapeAnsiCtrlCodes(text: string): string;