netconf-client
Version:
30 lines • 1.41 kB
TypeScript
declare const styleMap: Record<string, number[]>;
export type StyleName = keyof typeof styleMap;
export declare const reset: (s: string) => string;
export declare const bold: (s: string) => string;
export declare const dim: (s: string) => string;
export declare const italic: (s: string) => string;
export declare const underline: (s: string) => string;
export declare const overline: (s: string) => string;
export declare const inverse: (s: string) => string;
export declare const hidden: (s: string) => string;
export declare const strikethrough: (s: string) => string;
export declare const black: (s: string) => string;
export declare const red: (s: string) => string;
export declare const green: (s: string) => string;
export declare const yellow: (s: string) => string;
export declare const blue: (s: string) => string;
export declare const magenta: (s: string) => string;
export declare const cyan: (s: string) => string;
export declare const white: (s: string) => string;
export declare const grey: (s: string) => string;
/**
* Given the string and the array of styles, return the string with the styles applied
*
* @param s - The string to apply the styles to
* @param fmt - The array of styles to apply
* @returns The string with all the styles applied
*/
export declare const styleFormat: (s: string, fmt: StyleName | StyleName[]) => string;
export {};
//# sourceMappingURL=output-colors.d.ts.map