/** Terminal UX helpers: colored status lines, spinners, tables, banners. */ import pc from 'picocolors'; /** A running spinner: call it to stop (with optional final text); `.update()` changes the live label. */ export interface Spinner { (finalText?: string): void; update(text: string): void; } export declare const logger: { banner(title: string): void; info(msg: string): void; success(label: string, value?: string | number): void; warn(msg: string): void; error(msg: string): void; step(msg: string): void; raw(msg: string): void; /** * Start an inline spinner. Returns a stop function that also carries an * `.update(text)` method to change the label while it spins (e.g. live phase * / progress). On a non-TTY it degrades to one static line and `.update()` * is a no-op so logs stay clean. */ spinner(text: string): Spinner; /** Render a simple two-column key/value table. */ table(rows: Array<[string, string | number]>): void; newline(): void; }; export { pc };