import { type Ora } from 'ora'; /** BNA brand yellow. The only colour literal in the CLI. */ export declare const BRAND_HEX = "#FAD40B"; export type Styler = (text: string) => string; /** * The wordmark chip: black on brand yellow. * * At colour level 0 the background is dropped entirely, which would leave the * label indistinguishable from surrounding text, so fall back to brackets. */ declare function badge(label?: string): string; export declare const theme: { readonly brand: Styler; readonly brandBold: Styler; readonly badge: typeof badge; /** Section titles. Deliberately not brand-coloured — see the module comment. */ readonly heading: Styler; readonly dim: Styler; /** * Commands and paths quoted inside prose. Bold rather than hued: cyan is the * colour this migration exists to remove, and every other hue in here already * carries a status meaning. */ readonly code: Styler; readonly ok: Styler; readonly warn: Styler; readonly danger: Styler; /** * Informational. Stays blue rather than becoming brand yellow: it sits * directly above `warn`'s yellow in most output, and two yellows adjacent * read as one. */ readonly note: Styler; readonly glyph: { readonly info: "ℹ" | "i"; readonly success: "✓" | "+"; readonly warning: "⚠" | "!"; readonly error: "✗" | "x"; readonly debug: "🐛" | "#"; readonly bullet: "•" | "-"; }; /** chalk's resolved colour depth, 0-3. Exposed so callers branch, not guess. */ readonly level: 0 | 1 | 2 | 3; readonly supportsUnicode: boolean; }; /** * The BNA wordmark, rendered fresh on each call. * * Built as a function rather than a module constant so the ANSI escapes are not * baked in at import time — that matters for tests, which flip `chalk.level` * after the module graph has already loaded. */ export declare function bannerLines(): string[]; export declare function createSpinner(text: string): Ora; /** * Terminate a spinner with the same glyphs `logger` uses. * * `spinner.succeed()` reaches for `log-symbols`, whose `✔` is both a different * character and a different green from `logger.success`'s `✓` — the CLI shipped * two glyph vocabularies side by side until these were routed through here. */ export declare function succeedSpinner(spinner: Ora, text: string): void; export declare function failSpinner(spinner: Ora, text: string): void; export {};