/** * BugProof Terminal UI — Production-grade CLI output. * * Features: * - Terminal-width-aware section dividers * - Semantic color hierarchy (brand amber, success green, warning yellow, error red) * - Branded spinner with elapsed time display * - Progress bar for long-running operations * - Table renderer for structured output * - Summary box for final results * - Status rows for doctor/health output * - NO_COLOR / isTTY aware */ /** Brand-colored text */ declare function brand(text: string): string; /** Brand background */ declare function bgBrand(text: string): string; /** Dark text (for on-brand-bg) */ declare function dark(text: string): string; export declare const c: { bold: (t: string) => string; dim: (t: string) => string; italic: (t: string) => string; underline: (t: string) => string; red: (t: string) => string; green: (t: string) => string; yellow: (t: string) => string; blue: (t: string) => string; magenta: (t: string) => string; cyan: (t: string) => string; white: (t: string) => string; black: (t: string) => string; gray: (t: string) => string; bgCyan: (t: string) => string; bgRed: (t: string) => string; bgGreen: (t: string) => string; brand: typeof brand; bgBrand: typeof bgBrand; dark: typeof dark; }; export declare const icons: { check: string; cross: string; warning: string; arrow: string; bug: string; box: string; dot: string; divider: string; corner: string; cornerEnd: string; line: string; shield: string; key: string; replay: string; share: string; inspect: string; diff: string; clean: string; doctor: string; watch: string; }; /** Branded logo — amber badge with dark text */ export declare const ASCII_LOGO: string; /** Compact logo for inline banners — just the brand name, no icon */ export declare const COMPACT_LOGO: string; export declare function renderLogo(): Promise; /** Animated banner with compact logo and subtle separator */ export declare function banner(text: string): void; /** Help banner — clean branded header for --help */ export declare function helpBanner(): void; /** Terminal-width-aware section header */ export declare function section(title: string): void; export declare function success(msg: string): void; export declare function warn(msg: string): void; export declare function error(msg: string): void; export declare function info(msg: string): void; export declare function kvLine(key: string, value: string, keyWidth?: number): void; /** Key-value pair with icon prefix */ export declare function kvIcon(icon: string, key: string, value: string, keyWidth?: number): void; export declare function exitWithError(msg: string, opts?: { jsonMode?: boolean; exitCode?: number; }): never; export declare function statusBadge(label: string, ok: boolean): void; /** Multi-status row for doctor output */ export declare function statusRow(label: string, status: 'ok' | 'warn' | 'fail' | 'skip', detail?: string): void; /** Progress bar for long-running operations */ export declare class ProgressBar { private width; private total; private current; private startTime; private label; constructor(label: string, total: number); update(current: number, suffix?: string): void; step(): void; complete(suffix?: string): void; } /** Branded spinner with custom frames and elapsed time */ export declare class Spinner { private frames; private currentFrame; private interval; private message; private startTime; constructor(message: string); start(): void; private render; stop(successMsg?: string, isError?: boolean): void; } /** Table renderer for structured output */ export declare function table(headers: string[], rows: string[][], colWidths?: number[]): void; /** Summary box for final output — heavy/double borders, wraps long text */ export declare function summaryBox(title: string, items: { label: string; value: string; highlight?: boolean; }[]): void; export {}; //# sourceMappingURL=ui.d.ts.map