postcss.d.mts 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. export {
  2. // Type-only exports
  3. AcceptedPlugin,
  4. AnyNode,
  5. atRule,
  6. AtRule,
  7. AtRuleProps,
  8. Builder,
  9. ChildNode,
  10. ChildProps,
  11. comment,
  12. Comment,
  13. CommentProps,
  14. Container,
  15. ContainerProps,
  16. CssSyntaxError,
  17. decl,
  18. Declaration,
  19. DeclarationProps,
  20. // postcss function / namespace
  21. default,
  22. document,
  23. Document,
  24. DocumentProps,
  25. FilePosition,
  26. fromJSON,
  27. Helpers,
  28. Input,
  29. JSONHydrator,
  30. // This is a class, but it’s not re-exported. That’s why it’s exported as type-only here.
  31. type LazyResult,
  32. list,
  33. Message,
  34. Node,
  35. NodeErrorOptions,
  36. NodeProps,
  37. OldPlugin,
  38. parse,
  39. Parser,
  40. // @ts-expect-error This value exists, but it’s untyped.
  41. plugin,
  42. Plugin,
  43. PluginCreator,
  44. Position,
  45. Postcss,
  46. ProcessOptions,
  47. Processor,
  48. Result,
  49. root,
  50. Root,
  51. RootProps,
  52. rule,
  53. Rule,
  54. RuleProps,
  55. Source,
  56. SourceMap,
  57. SourceMapOptions,
  58. Stringifier,
  59. // Value exports from postcss.mjs
  60. stringify,
  61. Syntax,
  62. TransformCallback,
  63. Transformer,
  64. Warning,
  65. WarningOptions
  66. } from './postcss.js'