type TerminalMode = "default" | "quiet" | "verbose"; export interface TerminalOpts { mode: TerminalMode; color: boolean; unicode: boolean; width: number; outDir: string | undefined; fileCount: number; durationMs: number; cwd: string; hasTokenRegistry?: boolean; findingsLimit?: number | null; /** Suppress contextual nags (static-only LLM banner, "run lyse init" hint) — set when rendering from inside `lyse init`. */ suppressNags?: boolean; /** Configured `advisory.migrationScaleFileCount` threshold (falls back to `MIGRATION_SCALE_FILE_COUNT_DEFAULT` when absent). */ migrationScaleFileCount?: number; } export declare function teal(s: string, opts: TerminalOpts): string; export declare function thresholdColor(score: number | "N/A", opts: TerminalOpts): (s: string) => string; export declare function severityColor(severity: "error" | "warning" | "info", opts: TerminalOpts): (s: string) => string; export declare function dim(s: string, opts: TerminalOpts): string; export declare function passColor(s: string, opts: TerminalOpts): string; export declare function warnColor(s: string, opts: TerminalOpts): string; export declare function bold(s: string, opts: TerminalOpts): string; export declare function bar(score: number | "N/A", opts: TerminalOpts, cells?: number): string; /** * Visible-column width of `text`. Uses string-width to count visible * characters, so it works correctly on ANSI-colored or OSC 8 strings. */ export declare function visibleWidth(text: string): number; /** * Pads `text` to `targetWidth` visible columns. For widths smaller than the * visible text, returns the text unchanged. */ export declare function visiblePad(text: string, targetWidth: number, side?: "left" | "right"): string; /** * Returns `text` if it fits within `maxWidth` visible columns. Otherwise * truncates from the START (keeping the most meaningful tail — file leaf, * line number) prefixed with `…`. Width-aware via string-width. */ export declare function truncateStart(text: string, maxWidth: number): string; export declare function statusDot(score: number | "N/A", opts: TerminalOpts): string; export declare function link(text: string, url: string, opts: TerminalOpts): string; export {};