index.d.ts 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. type Format = (string: string) => string;
  2. declare const reset: Format;
  3. declare const bold: Format;
  4. declare const dim: Format;
  5. declare const italic: Format;
  6. declare const underline: Format;
  7. declare const overline: Format;
  8. declare const inverse: Format;
  9. declare const hidden: Format;
  10. declare const strikethrough: Format;
  11. declare const black: Format;
  12. declare const red: Format;
  13. declare const green: Format;
  14. declare const yellow: Format;
  15. declare const blue: Format;
  16. declare const magenta: Format;
  17. declare const cyan: Format;
  18. declare const white: Format;
  19. declare const gray: Format;
  20. declare const bgBlack: Format;
  21. declare const bgRed: Format;
  22. declare const bgGreen: Format;
  23. declare const bgYellow: Format;
  24. declare const bgBlue: Format;
  25. declare const bgMagenta: Format;
  26. declare const bgCyan: Format;
  27. declare const bgWhite: Format;
  28. declare const bgGray: Format;
  29. declare const redBright: Format;
  30. declare const greenBright: Format;
  31. declare const yellowBright: Format;
  32. declare const blueBright: Format;
  33. declare const magentaBright: Format;
  34. declare const cyanBright: Format;
  35. declare const whiteBright: Format;
  36. declare const bgRedBright: Format;
  37. declare const bgGreenBright: Format;
  38. declare const bgYellowBright: Format;
  39. declare const bgBlueBright: Format;
  40. declare const bgMagentaBright: Format;
  41. declare const bgCyanBright: Format;
  42. declare const bgWhiteBright: Format;
  43. declare const formats: {
  44. reset: Format;
  45. bold: Format;
  46. dim: Format;
  47. italic: Format;
  48. underline: Format;
  49. overline: Format;
  50. inverse: Format;
  51. hidden: Format;
  52. strikethrough: Format;
  53. black: Format;
  54. red: Format;
  55. green: Format;
  56. yellow: Format;
  57. blue: Format;
  58. magenta: Format;
  59. cyan: Format;
  60. white: Format;
  61. gray: Format;
  62. bgBlack: Format;
  63. bgRed: Format;
  64. bgGreen: Format;
  65. bgYellow: Format;
  66. bgBlue: Format;
  67. bgMagenta: Format;
  68. bgCyan: Format;
  69. bgWhite: Format;
  70. bgGray: Format;
  71. redBright: Format;
  72. greenBright: Format;
  73. yellowBright: Format;
  74. blueBright: Format;
  75. magentaBright: Format;
  76. cyanBright: Format;
  77. whiteBright: Format;
  78. bgRedBright: Format;
  79. bgGreenBright: Format;
  80. bgYellowBright: Format;
  81. bgBlueBright: Format;
  82. bgMagentaBright: Format;
  83. bgCyanBright: Format;
  84. bgWhiteBright: Format;
  85. };
  86. export = formats;