import type { AutoColor } from './utils/terminal-theme.js'; export type Color = 'black' | 'red' | 'green' | 'yellow' | 'blue' | 'magenta' | 'cyan' | 'gray' | 'grey' | 'white' | 'brightBlack' | 'brightRed' | 'brightGreen' | 'brightYellow' | 'brightBlue' | 'brightMagenta' | 'brightCyan' | 'brightWhite' | (string & {}); export interface TextStyle { color?: Color | AutoColor; backgroundColor?: Color | AutoColor; bold?: boolean; dim?: boolean; italic?: boolean; underline?: boolean; } export interface LineContent { text: string; style?: TextStyle; } export interface RegionOptions { width?: number; height?: number; stdout?: NodeJS.WriteStream; disableRendering?: boolean; debugLog?: string; } export interface ProgressBarOptions { label?: string; width?: number; style?: { complete?: string; incomplete?: string; brackets?: [string, string]; }; } export interface SpinnerOptions { frames?: string[]; interval?: number; } /** * Character with optional color - used for fill components and spaceBetween * Can be a simple string or an object with char and color */ export type FillChar = string | { char: string; color?: Color | AutoColor; }; /** * Base options for all components - includes common styling props */ export interface BaseComponentOptions { color?: Color | AutoColor; } //# sourceMappingURL=types.d.ts.map