declare function createColorFn(code: string, endCode?: string): ColorFn; // Strip colors from text export declare function stripColors(text: string): string; // Check if colors are supported export declare function supportsColor(): boolean; /** * Terminal colors and formatting (kolorist replacement) * * Lightweight terminal color library with zero dependencies */ declare const isColorSupported: unknown; declare const colors: { reset: unknown; black: unknown; red: unknown; green: unknown; yellow: unknown; blue: unknown; magenta: unknown; cyan: unknown; white: unknown; gray: unknown; grey: unknown; lightRed: unknown; lightGreen: unknown; lightYellow: unknown; lightBlue: unknown; lightMagenta: unknown; lightCyan: unknown; lightGray: unknown; lightGrey: unknown; bgBlack: unknown; bgRed: unknown; bgGreen: unknown; bgYellow: unknown; bgBlue: unknown; bgMagenta: unknown; bgCyan: unknown; bgWhite: unknown; bgLightRed: unknown; bgLightGreen: unknown; bgLightYellow: unknown; bgLightBlue: unknown; bgLightMagenta: unknown; bgLightCyan: unknown; bold: unknown; dim: unknown; italic: unknown; underline: unknown; inverse: unknown; hidden: unknown; strikethrough: unknown }; // Color functions export declare const black: ReturnType; export declare const red: ReturnType; export declare const green: ReturnType; export declare const yellow: ReturnType; export declare const blue: ReturnType; export declare const magenta: ReturnType; export declare const cyan: ReturnType; export declare const white: ReturnType; export declare const gray: ReturnType; export declare const grey: unknown; // Bright colors export declare const lightRed: ReturnType; export declare const lightGreen: ReturnType; export declare const lightYellow: ReturnType; export declare const lightBlue: ReturnType; export declare const lightMagenta: ReturnType; export declare const lightCyan: ReturnType; export declare const lightGray: ReturnType; export declare const lightGrey: unknown; // Background colors export declare const bgBlack: ReturnType; export declare const bgRed: ReturnType; export declare const bgGreen: ReturnType; export declare const bgYellow: ReturnType; export declare const bgBlue: ReturnType; export declare const bgMagenta: ReturnType; export declare const bgCyan: ReturnType; export declare const bgWhite: ReturnType; // Bright background colors export declare const bgLightRed: ReturnType; export declare const bgLightGreen: ReturnType; export declare const bgLightYellow: ReturnType; export declare const bgLightBlue: ReturnType; export declare const bgLightMagenta: ReturnType; export declare const bgLightCyan: ReturnType; // Text formatting export declare const bold: ReturnType; export declare const dim: ReturnType; export declare const italic: ReturnType; export declare const underline: ReturnType; export declare const inverse: ReturnType; export declare const hidden: ReturnType; export declare const strikethrough: ReturnType; // Reset export declare const reset: unknown; declare const __dtsx_default_export__: { black: typeof black; red: typeof red; green: typeof green; yellow: typeof yellow; blue: typeof blue; magenta: typeof magenta; cyan: typeof cyan; white: typeof white; gray: typeof gray; grey: typeof grey; lightRed: typeof lightRed; lightGreen: typeof lightGreen; lightYellow: typeof lightYellow; lightBlue: typeof lightBlue; lightMagenta: typeof lightMagenta; lightCyan: typeof lightCyan; lightGray: typeof lightGray; lightGrey: typeof lightGrey; bgBlack: typeof bgBlack; bgRed: typeof bgRed; bgGreen: typeof bgGreen; bgYellow: typeof bgYellow; bgBlue: typeof bgBlue; bgMagenta: typeof bgMagenta; bgCyan: typeof bgCyan; bgWhite: typeof bgWhite; bgLightRed: typeof bgLightRed; bgLightGreen: typeof bgLightGreen; bgLightYellow: typeof bgLightYellow; bgLightBlue: typeof bgLightBlue; bgLightMagenta: typeof bgLightMagenta; bgLightCyan: typeof bgLightCyan; bold: typeof bold; dim: typeof dim; italic: typeof italic; underline: typeof underline; inverse: typeof inverse; hidden: typeof hidden; strikethrough: typeof strikethrough; reset: typeof reset; stripColors: typeof stripColors; supportsColor: typeof supportsColor }; declare type ColorFn = (_text: string | number) => string; // Default export export default __dtsx_default_export__;