declare class Style { prefix: string; suffix: string; constructor(prefix: string, suffix: string); } declare class Cosmetic { styles: Style[]; bgEnabled: boolean; brightEnabled: boolean; constructor(); setup(): void; xterm(num: number): this; encoder(this: Cosmetic | undefined, string: string): string; rgb(r: number, g: number, b: number): this; hex(hexString: string): this; get random(): this; get background(): this; get foreground(): this; get bright(): this; get dark(): this; get reset(): this; get normal(): this; get bold(): this; get faint(): this; get italic(): this; get underline(): this; get blink(): this; get rapidBlink(): this; get reverse(): this; get conceal(): this; get black(): this; get red(): this; get green(): this; get yellow(): this; get blue(): this; get magenta(): this; get cyan(): this; get white(): this; } interface Cosmetic { (string: string): string; } declare const _default: Cosmetic; export { Cosmetic, _default as default };