import chalk from 'chalk'; import type { TranslationResult, Phonetic } from '../types.js'; export declare const ICONS: { SEARCH: string; WARNING: string; }; export declare const COLORS: { title: chalk.Chalk; word: chalk.Chalk; phonetic: chalk.Chalk; phoneticLabel: chalk.Chalk; posTag: chalk.Chalk; netTag: chalk.Chalk; translation: chalk.Chalk; netText: chalk.Chalk; pluginName: chalk.Chalk; exampleTitle: chalk.Chalk; exampleIndex: chalk.Chalk; exampleEn: chalk.Chalk; exampleZh: chalk.Chalk; marker: chalk.Chalk; border: chalk.Chalk; error: chalk.Chalk; success: chalk.Chalk; dim: chalk.Chalk; bold: chalk.Chalk; yellow: chalk.Chalk; }; export declare function formatPhonetic(phonetic?: string | Phonetic): string; export declare function formatHeader(word: string, phonetic?: string | Phonetic): string; export declare function formatResult(result: TranslationResult, showPhonetic: boolean, showExamples: boolean, maxExamples: number): string; export declare function formatErrorResult(result: TranslationResult): string; export declare function formatResultCompact(result: TranslationResult, showPhonetic: boolean, showExamples: boolean, maxExamples: number): string; export declare function formatError(message: string, pluginName?: string): string; export declare function formatLoading(text: string): string; export declare function formatSummary(results: TranslationResult[], elapsed?: string): string; /** 查询结束后的一行新版本提示(非卡片,保持轻量、配色统一)。 */ export declare function formatUpdateNotice(current: string, latest: string, requiredNode?: string): string;