3626f6a6cf1eeb4eecd5614d335151d447d018901a9baf0d1075308452569abde1e6048764d7112f6bd3f13f0fc3bee3f87ea956aafb5c7f6ba6ff4d0313b2 610 B

123456789101112131415161718192021222324252627282930
  1. export type Formatter = (input: string | number | null | undefined) => string
  2. export interface Colors {
  3. isColorSupported: boolean
  4. reset: Formatter
  5. bold: Formatter
  6. dim: Formatter
  7. italic: Formatter
  8. underline: Formatter
  9. inverse: Formatter
  10. hidden: Formatter
  11. strikethrough: Formatter
  12. black: Formatter
  13. red: Formatter
  14. green: Formatter
  15. yellow: Formatter
  16. blue: Formatter
  17. magenta: Formatter
  18. cyan: Formatter
  19. white: Formatter
  20. gray: Formatter
  21. bgBlack: Formatter
  22. bgRed: Formatter
  23. bgGreen: Formatter
  24. bgYellow: Formatter
  25. bgBlue: Formatter
  26. bgMagenta: Formatter
  27. bgCyan: Formatter
  28. bgWhite: Formatter
  29. }