export type ThemeName = "dark" | "light"; export type Theme = { name: ThemeName; colors: { background: string; foreground: string; assistantForeground: string; muted: string; headerForeground: string; headerBackground: string; statusForeground: string; statusBackground: string; inputForeground: string; inputBackground: string; inputBorder: string; inputBorderWidgetBackground: string; tabBorder: string; assistantMessageBackground: string; userMessageBackground: string; thinkingMessageBackground: string; codeBlockForeground: string; codeBlockBackground: string; inputCursorBackground: string; popupForeground: string; popupBackground: string; popupHeaderBackground: string; popupBorder: string; popupMuted: string; popupSelectedForeground: string; popupSelectedBackground: string; selectionForeground: string; selectionBackground: string; toastForeground: string; toastBackground: string; accent: string; success: string; warning: string; heading: string; info: string; toolMutation: string; toolSearch: string; toolTitle: string; toolBash: string; toolRead: string; toolIndex: string; toolEdit: string; toolWeb: string; toolMeta: string; thinkingForeground: string; userForeground: string; thinkingXHigh: string; thinkingMax: string; modelOpenAI: string; statusDotBase: string; statusDotRunningDim: string; statusDotThinkingDim: string; error: string; }; }; export declare const THEMES: Record; export declare const ANSI_RESET = "\u001B[0m"; export type TextStyleOptions = { foreground?: string; background?: string; bold?: boolean; underline?: boolean; strikethrough?: boolean; }; export declare function parseThemeName(value: string): ThemeName | undefined; export declare function colorize(text: string, options: TextStyleOptions): string; export declare function ansiStylePrefix(options: TextStyleOptions): string; export declare function colorLine(text: string, width: number, options: TextStyleOptions): string; export declare function padOrTrimPlain(text: string, width: number): string;