// Function to set custom theme export declare function setTheme(customTheme: Partial>): void; // Function to apply a predefined theme by name export declare function applyTheme(themeName: keyof typeof themes): void; // Function to get list of available themes export declare function getAvailableThemes(): string[]; // Function to set accessibility options export declare function setAccessibility(options: { colors?: boolean, emoji?: boolean, ascii?: boolean }): void; // Box and panel function placeholders (full implementation would be more complex) export declare function box(content: string, options?: { padding?: number, borderColor?: string, title?: string }): void; export declare function panel(options: { title?: string, content: string, borderColor?: string }): void; export declare function table(data: string[][], options?: { border?: boolean, header?: boolean, align?: ('left' | 'right' | 'center')[] }): void; /** * ANSI color codes * @defaultValue * ```ts * { * red: ['\x1B[31m', '\x1B[39m'], * green: ['\x1B[32m', '\x1B[39m'], * blue: ['\x1B[34m', '\x1B[39m'], * yellow: ['\x1B[33m', '\x1B[39m'], * cyan: ['\x1B[36m', '\x1B[39m'], * magenta: ['\x1B[35m', '\x1B[39m'], * white: ['\x1B[37m', '\x1B[39m'], * gray: ['\x1B[90m', '\x1B[39m'], * bgRed: ['\x1B[41m', '\x1B[49m'], * bgGreen: ['\x1B[42m', '\x1B[49m'], * bgBlue: ['\x1B[44m', '\x1B[49m'], * bgYellow: ['\x1B[43m', '\x1B[49m'], * bgCyan: ['\x1B[46m', '\x1B[49m'], * bgMagenta: ['\x1B[45m', '\x1B[49m'], * bold: ['\x1B[1m', '\x1B[22m'], * italic: ['\x1B[3m', '\x1B[23m'], * underline: ['\x1B[4m', '\x1B[24m'], * dim: ['\x1B[2m', '\x1B[22m'], * inverse: ['\x1B[7m', '\x1B[27m'], * hidden: ['\x1B[8m', '\x1B[28m'], * strikethrough: ['\x1B[9m', '\x1B[29m'] * } * ``` */ export declare const codes: Record; // Available predefined themes export declare const themes: { default: { primary: 'blue'; secondary: 'cyan'; success: 'green'; warning: 'yellow'; error: 'red'; info: 'magenta'; muted: 'gray' }; dracula: { primary: 'magenta'; secondary: 'cyan'; success: 'green'; warning: 'yellow'; error: 'red'; info: 'blue'; muted: 'gray' }; nord: { primary: 'blue'; secondary: 'cyan'; success: 'green'; warning: 'yellow'; error: 'red'; info: 'cyan'; muted: 'gray' }; solarized: { primary: 'cyan'; secondary: 'blue'; success: 'green'; warning: 'yellow'; error: 'red'; info: 'magenta'; muted: 'gray' }; monokai: { primary: 'magenta'; secondary: 'blue'; success: 'green'; warning: 'yellow'; error: 'red'; info: 'cyan'; muted: 'gray' } }; export declare const style: Styler; /* eslint-disable no-console */ export declare interface Styler { red: StylerFunction green: StylerFunction blue: StylerFunction yellow: StylerFunction cyan: StylerFunction magenta: StylerFunction white: StylerFunction gray: StylerFunction bgRed: StylerFunction bgGreen: StylerFunction bgBlue: StylerFunction bgYellow: StylerFunction bgCyan: StylerFunction bgMagenta: StylerFunction bold: StylerFunction italic: StylerFunction underline: StylerFunction dim: StylerFunction inverse: StylerFunction hidden: StylerFunction strikethrough: StylerFunction primary: StylerFunction secondary: StylerFunction success: StylerFunction warning: StylerFunction error: StylerFunction info: StylerFunction muted: StylerFunction supportsColor: boolean [key: string]: StylerFunction | boolean } export declare interface StylerFunction { (text: string): string [key: string]: StylerFunction }