@design-edito/tools 0.2.14 → 0.2.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (423) hide show
  1. package/agnostic/arrays/index.d.ts +5 -5
  2. package/agnostic/arrays/index.js +7 -7
  3. package/agnostic/arrays/is-array-of/index.d.ts +1 -1
  4. package/agnostic/arrays/random-pick/index.js +4 -4
  5. package/agnostic/booleans/index.d.ts +1 -1
  6. package/agnostic/booleans/is-falsy/index.d.ts +1 -1
  7. package/agnostic/colors/channels/index.d.ts +5 -0
  8. package/agnostic/colors/channels/index.js +18 -0
  9. package/agnostic/colors/contrast/index.d.ts +2 -0
  10. package/agnostic/colors/contrast/index.js +13 -0
  11. package/agnostic/colors/convert/index.d.ts +20 -0
  12. package/agnostic/colors/convert/index.js +45 -0
  13. package/agnostic/colors/distance/index.d.ts +2 -0
  14. package/agnostic/colors/distance/index.js +12 -0
  15. package/agnostic/colors/grayscale/index.d.ts +2 -0
  16. package/agnostic/colors/grayscale/index.js +12 -0
  17. package/agnostic/colors/index.d.ts +14 -16
  18. package/agnostic/colors/index.js +95 -27
  19. package/agnostic/colors/invert/index.d.ts +2 -0
  20. package/agnostic/colors/invert/index.js +12 -0
  21. package/agnostic/colors/lerp/index.d.ts +2 -0
  22. package/agnostic/colors/lerp/index.js +12 -0
  23. package/agnostic/colors/luminance/index.d.ts +2 -0
  24. package/agnostic/colors/luminance/index.js +12 -0
  25. package/agnostic/colors/palette/index.d.ts +2 -0
  26. package/agnostic/colors/palette/index.js +14 -0
  27. package/agnostic/colors/rotate/index.d.ts +2 -0
  28. package/agnostic/colors/rotate/index.js +13 -0
  29. package/agnostic/colors/tidy/index.d.ts +2 -0
  30. package/agnostic/colors/tidy/index.js +11 -0
  31. package/agnostic/colors/typechecks/index.d.ts +11 -0
  32. package/agnostic/colors/typechecks/index.js +26 -0
  33. package/agnostic/colors/types.d.ts +82 -0
  34. package/agnostic/css/bem/index.d.ts +2 -2
  35. package/agnostic/css/index.d.ts +3 -3
  36. package/agnostic/css/index.js +6 -6
  37. package/agnostic/css/styles-set/index.js +6 -6
  38. package/agnostic/errors/index.d.ts +2 -2
  39. package/agnostic/errors/index.js +2 -2
  40. package/agnostic/html/hyper-json/cast/index.d.ts +1 -1
  41. package/agnostic/html/hyper-json/cast/index.js +4 -4
  42. package/agnostic/html/hyper-json/index.d.ts +8 -8
  43. package/agnostic/html/hyper-json/index.js +5 -5
  44. package/agnostic/html/hyper-json/method/index.d.ts +2 -2
  45. package/agnostic/html/hyper-json/serialize/index.d.ts +1 -1
  46. package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.d.ts +1 -1
  47. package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.js +4 -4
  48. package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.d.ts +1 -1
  49. package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.js +4 -4
  50. package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.d.ts +1 -1
  51. package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.js +4 -4
  52. package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.d.ts +1 -1
  53. package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.js +4 -4
  54. package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.d.ts +1 -1
  55. package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.js +4 -4
  56. package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.d.ts +1 -1
  57. package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.js +4 -4
  58. package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.d.ts +1 -1
  59. package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.js +4 -4
  60. package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.d.ts +1 -1
  61. package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.js +4 -4
  62. package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.d.ts +1 -1
  63. package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.js +4 -4
  64. package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.d.ts +1 -1
  65. package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.js +4 -4
  66. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.d.ts +1 -1
  67. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.js +4 -4
  68. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.d.ts +1 -1
  69. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.js +4 -4
  70. package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.d.ts +1 -1
  71. package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.js +4 -4
  72. package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.d.ts +1 -1
  73. package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.js +4 -4
  74. package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.d.ts +1 -1
  75. package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.js +4 -4
  76. package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.d.ts +1 -1
  77. package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.js +4 -4
  78. package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.d.ts +1 -1
  79. package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.js +4 -4
  80. package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.d.ts +1 -1
  81. package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.js +4 -4
  82. package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.d.ts +1 -1
  83. package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.js +4 -4
  84. package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.d.ts +1 -1
  85. package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.js +4 -4
  86. package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.d.ts +1 -1
  87. package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.js +4 -4
  88. package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.d.ts +1 -1
  89. package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.js +4 -4
  90. package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.d.ts +1 -1
  91. package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.js +4 -4
  92. package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.d.ts +1 -1
  93. package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.js +4 -4
  94. package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.d.ts +1 -1
  95. package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.js +4 -4
  96. package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.d.ts +1 -1
  97. package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.js +4 -4
  98. package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.d.ts +1 -1
  99. package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.js +4 -4
  100. package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.d.ts +1 -1
  101. package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.js +4 -4
  102. package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.d.ts +1 -1
  103. package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.js +4 -4
  104. package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.d.ts +1 -1
  105. package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.js +4 -4
  106. package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.d.ts +1 -1
  107. package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.js +4 -4
  108. package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.d.ts +1 -1
  109. package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.js +4 -4
  110. package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.d.ts +1 -1
  111. package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.js +4 -4
  112. package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.d.ts +1 -1
  113. package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.js +4 -4
  114. package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.d.ts +1 -1
  115. package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.js +4 -4
  116. package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.d.ts +1 -1
  117. package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.js +4 -4
  118. package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.d.ts +1 -1
  119. package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.js +4 -4
  120. package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.d.ts +1 -1
  121. package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.js +4 -4
  122. package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.d.ts +1 -1
  123. package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.js +4 -4
  124. package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.d.ts +1 -1
  125. package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.js +4 -4
  126. package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.d.ts +1 -1
  127. package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.js +4 -4
  128. package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.d.ts +1 -1
  129. package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.js +4 -4
  130. package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.d.ts +1 -1
  131. package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.js +4 -4
  132. package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.d.ts +1 -1
  133. package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.js +4 -4
  134. package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.d.ts +1 -1
  135. package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.js +4 -4
  136. package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.d.ts +1 -1
  137. package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.js +4 -4
  138. package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.d.ts +1 -1
  139. package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.js +4 -4
  140. package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.d.ts +1 -1
  141. package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.js +4 -4
  142. package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.d.ts +1 -1
  143. package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.js +4 -4
  144. package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.d.ts +1 -1
  145. package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.js +4 -4
  146. package/agnostic/html/hyper-json/smart-tags/index.d.ts +1 -1
  147. package/agnostic/html/hyper-json/smart-tags/isolated/any/index.d.ts +1 -1
  148. package/agnostic/html/hyper-json/smart-tags/isolated/array/index.d.ts +1 -1
  149. package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.d.ts +1 -1
  150. package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.js +4 -4
  151. package/agnostic/html/hyper-json/smart-tags/isolated/element/index.d.ts +1 -1
  152. package/agnostic/html/hyper-json/smart-tags/isolated/element/index.js +4 -4
  153. package/agnostic/html/hyper-json/smart-tags/isolated/get/index.d.ts +1 -1
  154. package/agnostic/html/hyper-json/smart-tags/isolated/get/index.js +4 -4
  155. package/agnostic/html/hyper-json/smart-tags/isolated/global/index.d.ts +1 -1
  156. package/agnostic/html/hyper-json/smart-tags/isolated/global/index.js +4 -4
  157. package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.d.ts +1 -1
  158. package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.js +4 -4
  159. package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.d.ts +1 -1
  160. package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.js +4 -4
  161. package/agnostic/html/hyper-json/smart-tags/isolated/null/index.d.ts +1 -1
  162. package/agnostic/html/hyper-json/smart-tags/isolated/number/index.d.ts +1 -1
  163. package/agnostic/html/hyper-json/smart-tags/isolated/number/index.js +4 -4
  164. package/agnostic/html/hyper-json/smart-tags/isolated/record/index.d.ts +1 -1
  165. package/agnostic/html/hyper-json/smart-tags/isolated/record/index.js +4 -4
  166. package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.d.ts +1 -1
  167. package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.js +4 -4
  168. package/agnostic/html/hyper-json/smart-tags/isolated/string/index.d.ts +1 -1
  169. package/agnostic/html/hyper-json/smart-tags/isolated/string/index.js +4 -4
  170. package/agnostic/html/hyper-json/smart-tags/isolated/text/index.d.ts +1 -1
  171. package/agnostic/html/hyper-json/smart-tags/isolated/text/index.js +4 -4
  172. package/agnostic/html/hyper-json/transformer/index.d.ts +4 -4
  173. package/agnostic/html/hyper-json/tree/index.d.ts +1 -1
  174. package/agnostic/html/hyper-json/tree/index.js +4 -4
  175. package/agnostic/html/hyper-json/types/index.d.ts +5 -5
  176. package/agnostic/html/hyper-json/utils/index.d.ts +2 -2
  177. package/agnostic/html/hyper-json/utils/index.js +4 -4
  178. package/agnostic/html/index.d.ts +8 -8
  179. package/agnostic/html/index.js +18 -18
  180. package/agnostic/html/sanitize/index.js +4 -4
  181. package/agnostic/html/selector-to-element/index.js +4 -4
  182. package/agnostic/html/string-to-nodes/index.d.ts +1 -1
  183. package/agnostic/html/string-to-nodes/index.js +5 -5
  184. package/agnostic/index.d.ts +12 -12
  185. package/agnostic/misc/assert/index.d.ts +1 -1
  186. package/agnostic/misc/assert/index.js +3 -3
  187. package/agnostic/misc/crossenv/detect-runtime/index.d.ts +1 -1
  188. package/agnostic/misc/crossenv/index.d.ts +3 -3
  189. package/agnostic/misc/crossenv/window/index.d.ts +1 -1
  190. package/agnostic/misc/index.d.ts +11 -11
  191. package/agnostic/misc/index.js +19 -19
  192. package/agnostic/misc/logs/index.d.ts +2 -2
  193. package/agnostic/misc/lorem-ipsum/index.js +10 -10
  194. package/agnostic/numbers/index.d.ts +5 -5
  195. package/agnostic/numbers/index.js +6 -6
  196. package/agnostic/objects/enums/index.d.ts +1 -1
  197. package/agnostic/objects/index.d.ts +8 -8
  198. package/agnostic/objects/index.js +4 -4
  199. package/agnostic/optim/index.d.ts +2 -2
  200. package/agnostic/random/index.d.ts +3 -3
  201. package/agnostic/random/index.js +2 -2
  202. package/agnostic/strings/index.d.ts +7 -7
  203. package/agnostic/strings/index.js +13 -13
  204. package/agnostic/strings/parse-table/index.d.ts +1 -1
  205. package/agnostic/time/dates/index.d.ts +1 -1
  206. package/agnostic/time/index.d.ts +5 -5
  207. package/agnostic/time/index.js +6 -6
  208. package/chunks/chunk-2EHYEUX4.js +21 -0
  209. package/chunks/chunk-5LK2YLTK.js +21 -0
  210. package/chunks/chunk-65NTXENV.js +157 -0
  211. package/chunks/{chunk-6EJIBLPQ.js → chunk-73FF7HWQ.js} +9 -9
  212. package/chunks/{chunk-HMZMKLMR.js → chunk-AF2NAJS2.js} +2 -2
  213. package/chunks/chunk-ALMK24GK.js +0 -0
  214. package/chunks/chunk-BKIF2ELV.js +47 -0
  215. package/chunks/{chunk-AQBJ6HNB.js → chunk-C7SRAQMW.js} +1 -1
  216. package/chunks/{chunk-ZBBU2P4D.js → chunk-CQEDNACN.js} +2 -2
  217. package/chunks/chunk-D7SXHHU3.js +47 -0
  218. package/chunks/{chunk-GU34O65H.js → chunk-E33DCHHS.js} +15 -15
  219. package/chunks/{chunk-WAMSK4A3.js → chunk-E4FJHD5R.js} +1 -1
  220. package/chunks/chunk-GUBFCOBT.js +98 -0
  221. package/chunks/{chunk-5TRAENM3.js → chunk-I2HTBYNO.js} +1 -1
  222. package/chunks/chunk-IDXUS2IO.js +296 -0
  223. package/chunks/chunk-JHUOMGOX.js +81 -0
  224. package/chunks/{chunk-EDJ3TVNV.js → chunk-KDOMQ4LM.js} +15 -6
  225. package/chunks/chunk-MN4FVOU2.js +28 -0
  226. package/chunks/{chunk-2M33FCDG.js → chunk-O7VFJHQX.js} +11 -5
  227. package/chunks/{chunk-KRDVV6K3.js → chunk-OD2XVVE2.js} +3 -3
  228. package/chunks/{chunk-TIER4TF4.js → chunk-P2H6PV4O.js} +1 -1
  229. package/chunks/chunk-P4YT4RBG.js +51 -0
  230. package/chunks/{chunk-C5BQQUAG.js → chunk-PJSPZGT2.js} +12 -12
  231. package/chunks/{chunk-PLIJVLAB.js → chunk-PX4DPCZM.js} +5 -3
  232. package/chunks/{chunk-DWCRT664.js → chunk-QRS3G3YD.js} +3 -3
  233. package/chunks/{chunk-FQ4UTWMP.js → chunk-QTA7ZEVX.js} +3 -1
  234. package/chunks/chunk-QW34TQCS.js +48 -0
  235. package/chunks/{chunk-HMAK6VAF.js → chunk-RBCZWVQH.js} +11 -5
  236. package/chunks/{chunk-XB3EGDBI.js → chunk-RDQJSWRC.js} +1 -1
  237. package/chunks/{chunk-AI6AGF4I.js → chunk-S7637BQZ.js} +8 -5
  238. package/chunks/{chunk-3TA4CDWX.js → chunk-TQXFC6OS.js} +4 -4
  239. package/chunks/chunk-UG5EMKGN.js +265 -0
  240. package/chunks/chunk-VA67YLZL.js +26 -0
  241. package/chunks/{chunk-DEW6LPOS.js → chunk-VKNQ7MVZ.js} +90 -91
  242. package/chunks/{chunk-3TKBCG7Y.js → chunk-WV5N7ESL.js} +4 -1
  243. package/chunks/{chunk-SKBOSWM2.js → chunk-X5HMM3LD.js} +1 -1
  244. package/chunks/chunk-XAYMIITK.js +103 -0
  245. package/chunks/{chunk-H4LW6FP3.js → chunk-Y4THX4AN.js} +1 -1
  246. package/chunks/chunk-YZVZKBVJ.js +631 -0
  247. package/chunks/chunk-ZJ63OCMA.js +207 -0
  248. package/components/index.d.ts +1 -1
  249. package/node/@aws-s3/index.d.ts +1 -1
  250. package/node/@aws-s3/index.js +7 -7
  251. package/node/@aws-s3/storage/directory/copy-dir/index.d.ts +1 -1
  252. package/node/@aws-s3/storage/directory/index.d.ts +4 -4
  253. package/node/@aws-s3/storage/directory/list/index.d.ts +1 -1
  254. package/node/@aws-s3/storage/directory/move-dir/index.d.ts +1 -1
  255. package/node/@aws-s3/storage/directory/remove-dir/index.d.ts +1 -1
  256. package/node/@aws-s3/storage/file/copy/index.d.ts +1 -1
  257. package/node/@aws-s3/storage/file/download/index.d.ts +1 -1
  258. package/node/@aws-s3/storage/file/exists/index.d.ts +1 -1
  259. package/node/@aws-s3/storage/file/index.d.ts +7 -7
  260. package/node/@aws-s3/storage/file/index.js +10 -10
  261. package/node/@aws-s3/storage/file/move/index.d.ts +1 -1
  262. package/node/@aws-s3/storage/file/remove/index.d.ts +1 -1
  263. package/node/@aws-s3/storage/file/remove/index.js +1 -1
  264. package/node/@aws-s3/storage/file/stat/index.d.ts +1 -1
  265. package/node/@aws-s3/storage/file/upload/index.d.ts +1 -1
  266. package/node/@aws-s3/storage/index.d.ts +2 -2
  267. package/node/@aws-s3/storage/index.js +9 -9
  268. package/node/@design-edito/index.d.ts +1 -1
  269. package/node/@express/@multer/index.d.ts +1 -1
  270. package/node/@express/index.d.ts +1 -1
  271. package/node/@google-cloud/index.d.ts +1 -1
  272. package/node/@google-cloud/index.js +11 -11
  273. package/node/@google-cloud/storage/bucket/get-metadata/index.d.ts +1 -1
  274. package/node/@google-cloud/storage/bucket/index.d.ts +4 -4
  275. package/node/@google-cloud/storage/directory/copy-dir/index.d.ts +1 -1
  276. package/node/@google-cloud/storage/directory/index.d.ts +4 -4
  277. package/node/@google-cloud/storage/directory/list/index.d.ts +1 -1
  278. package/node/@google-cloud/storage/directory/move-dir/index.d.ts +1 -1
  279. package/node/@google-cloud/storage/directory/remove-dir/index.d.ts +1 -1
  280. package/node/@google-cloud/storage/file/copy/index.d.ts +1 -1
  281. package/node/@google-cloud/storage/file/download/index.d.ts +1 -1
  282. package/node/@google-cloud/storage/file/exists/index.d.ts +1 -1
  283. package/node/@google-cloud/storage/file/generate-signed-url/index.d.ts +1 -1
  284. package/node/@google-cloud/storage/file/get-metadata/index.d.ts +1 -1
  285. package/node/@google-cloud/storage/file/get-permissions/index.d.ts +1 -1
  286. package/node/@google-cloud/storage/file/index.d.ts +12 -12
  287. package/node/@google-cloud/storage/file/index.js +16 -16
  288. package/node/@google-cloud/storage/file/move/index.d.ts +1 -1
  289. package/node/@google-cloud/storage/file/remove/index.d.ts +1 -1
  290. package/node/@google-cloud/storage/file/revoke-signed-urls/index.d.ts +4 -4
  291. package/node/@google-cloud/storage/file/revoke-signed-urls/index.js +2 -2
  292. package/node/@google-cloud/storage/file/stat/index.d.ts +1 -1
  293. package/node/@google-cloud/storage/file/update-metadata/index.d.ts +1 -1
  294. package/node/@google-cloud/storage/file/upload/index.d.ts +1 -1
  295. package/node/@google-cloud/storage/index.d.ts +3 -3
  296. package/node/@google-cloud/storage/index.js +13 -13
  297. package/node/cloud-storage/index.d.ts +2 -2
  298. package/node/cloud-storage/index.js +23 -23
  299. package/node/cloud-storage/operations/copy-dir/index.d.ts +6 -6
  300. package/node/cloud-storage/operations/copy-file/index.d.ts +6 -6
  301. package/node/cloud-storage/operations/download-file/index.d.ts +6 -6
  302. package/node/cloud-storage/operations/exists-file/index.d.ts +4 -4
  303. package/node/cloud-storage/operations/index.d.ts +11 -11
  304. package/node/cloud-storage/operations/index.js +30 -30
  305. package/node/cloud-storage/operations/list-dir/index.d.ts +4 -4
  306. package/node/cloud-storage/operations/move-dir/index.d.ts +6 -6
  307. package/node/cloud-storage/operations/move-file/index.d.ts +6 -6
  308. package/node/cloud-storage/operations/remove-dir/index.d.ts +6 -6
  309. package/node/cloud-storage/operations/remove-file/index.d.ts +6 -6
  310. package/node/cloud-storage/operations/remove-file/index.js +2 -2
  311. package/node/cloud-storage/operations/stat-file/index.d.ts +6 -6
  312. package/node/cloud-storage/operations/upload-file/index.d.ts +6 -6
  313. package/node/encryption/@aes-256-gcm/buffer/index.d.ts +1 -1
  314. package/node/encryption/@aes-256-gcm/index.d.ts +2 -2
  315. package/node/encryption/@aes-256-gcm/uint8-array/index.d.ts +1 -1
  316. package/node/encryption/index.d.ts +2 -2
  317. package/node/encryption/index.js +3 -3
  318. package/node/files/index.d.ts +3 -3
  319. package/node/ftps/directory/copy-dir/index.d.ts +1 -1
  320. package/node/ftps/directory/index.d.ts +4 -4
  321. package/node/ftps/directory/list/index.d.ts +1 -1
  322. package/node/ftps/directory/move-dir/index.d.ts +1 -1
  323. package/node/ftps/directory/remove-dir/index.d.ts +1 -1
  324. package/node/ftps/file/copy/index.d.ts +1 -1
  325. package/node/ftps/file/download/index.d.ts +1 -1
  326. package/node/ftps/file/exists/index.d.ts +1 -1
  327. package/node/ftps/file/index.d.ts +7 -7
  328. package/node/ftps/file/index.js +9 -9
  329. package/node/ftps/file/move/index.d.ts +1 -1
  330. package/node/ftps/file/remove/index.d.ts +1 -1
  331. package/node/ftps/file/stat/index.d.ts +1 -1
  332. package/node/ftps/file/upload/index.d.ts +1 -1
  333. package/node/ftps/index.d.ts +2 -2
  334. package/node/ftps/index.js +7 -7
  335. package/node/images/create/index.d.ts +3 -0
  336. package/node/images/create/index.js +23 -0
  337. package/node/images/format/index.d.ts +18 -52
  338. package/node/images/format/index.js +30 -4
  339. package/node/images/index.d.ts +6 -4
  340. package/node/images/index.js +41 -21
  341. package/node/images/metadata/index.d.ts +3 -0
  342. package/node/images/metadata/index.js +23 -0
  343. package/node/images/transform/index.d.ts +3 -98
  344. package/node/images/transform/index.js +27 -16
  345. package/node/images/transform/operations/blur/index.d.ts +2 -4
  346. package/node/images/transform/operations/brighten/index.d.ts +2 -4
  347. package/node/images/transform/operations/extend/index.d.ts +2 -9
  348. package/node/images/transform/operations/extend/index.js +17 -2
  349. package/node/images/transform/operations/extract/index.d.ts +2 -7
  350. package/node/images/transform/operations/flatten/index.d.ts +2 -4
  351. package/node/images/transform/operations/flatten/index.js +17 -2
  352. package/node/images/transform/operations/hue/index.d.ts +2 -4
  353. package/node/images/transform/operations/level/index.d.ts +2 -5
  354. package/node/images/transform/operations/lighten/index.d.ts +2 -4
  355. package/node/images/transform/operations/normalize/index.d.ts +2 -5
  356. package/node/images/transform/operations/overlay/index.d.ts +5 -0
  357. package/node/images/transform/operations/overlay/index.js +27 -0
  358. package/node/images/transform/operations/resize/index.d.ts +2 -12
  359. package/node/images/transform/operations/resize/index.js +17 -2
  360. package/node/images/transform/operations/rotate/index.d.ts +2 -5
  361. package/node/images/transform/operations/rotate/index.js +17 -2
  362. package/node/images/transform/operations/saturate/index.d.ts +2 -4
  363. package/node/images/transform/operations/saturate/index.js +1 -1
  364. package/node/images/types.d.ts +252 -0
  365. package/node/images/utils/index.d.ts +7 -0
  366. package/node/images/utils/index.js +28 -0
  367. package/node/index.d.ts +11 -11
  368. package/node/process/index.d.ts +1 -1
  369. package/node/sftp/directory/copy-dir/index.d.ts +1 -1
  370. package/node/sftp/directory/index.d.ts +4 -4
  371. package/node/sftp/directory/list/index.d.ts +1 -1
  372. package/node/sftp/directory/move-dir/index.d.ts +1 -1
  373. package/node/sftp/directory/remove-dir/index.d.ts +1 -1
  374. package/node/sftp/file/copy/index.d.ts +1 -1
  375. package/node/sftp/file/download/index.d.ts +1 -1
  376. package/node/sftp/file/exists/index.d.ts +1 -1
  377. package/node/sftp/file/index.d.ts +7 -7
  378. package/node/sftp/file/index.js +9 -9
  379. package/node/sftp/file/move/index.d.ts +1 -1
  380. package/node/sftp/file/remove/index.d.ts +1 -1
  381. package/node/sftp/file/stat/index.d.ts +1 -1
  382. package/node/sftp/file/upload/index.d.ts +1 -1
  383. package/node/sftp/index.d.ts +2 -2
  384. package/node/sftp/index.js +7 -7
  385. package/package.json +1 -1
  386. package/shared/errors/index.d.ts +1 -1
  387. package/agnostic/colors/complement-color/index.d.ts +0 -1
  388. package/agnostic/colors/complement-color/index.js +0 -7
  389. package/agnostic/colors/hex-to-rgb/index.d.ts +0 -1
  390. package/agnostic/colors/hex-to-rgb/index.js +0 -7
  391. package/agnostic/colors/hsl-to-rgb/index.d.ts +0 -1
  392. package/agnostic/colors/hsl-to-rgb/index.js +0 -7
  393. package/agnostic/colors/lighten-color/index.d.ts +0 -2
  394. package/agnostic/colors/lighten-color/index.js +0 -11
  395. package/agnostic/colors/rgb-to-hex/index.d.ts +0 -1
  396. package/agnostic/colors/rgb-to-hex/index.js +0 -7
  397. package/agnostic/colors/rgb-to-hsl/index.d.ts +0 -1
  398. package/agnostic/colors/rgb-to-hsl/index.js +0 -7
  399. package/agnostic/colors/saturate-color/index.d.ts +0 -2
  400. package/agnostic/colors/saturate-color/index.js +0 -11
  401. package/chunks/chunk-2POD3TAX.js +0 -11
  402. package/chunks/chunk-2TJCB6IM.js +0 -12
  403. package/chunks/chunk-7EDDWSWS.js +0 -123
  404. package/chunks/chunk-FAXNZG5C.js +0 -10
  405. package/chunks/chunk-IFQA5PWI.js +0 -112
  406. package/chunks/chunk-MB7HWF22.js +0 -23
  407. package/chunks/chunk-MFYNJMVM.js +0 -18
  408. package/chunks/chunk-NYVARFI7.js +0 -20
  409. package/chunks/chunk-QLC3A6PC.js +0 -17
  410. package/chunks/chunk-U57Q62IN.js +0 -23
  411. package/chunks/chunk-YVLJKJV2.js +0 -17
  412. package/node/images/get-metadata/index.d.ts +0 -4
  413. package/node/images/get-metadata/index.js +0 -7
  414. package/node/images/transform/operations/composite/index.d.ts +0 -7
  415. package/node/images/transform/operations/composite/index.js +0 -12
  416. package/node/images/transform/utils/index.d.ts +0 -2
  417. package/node/images/transform/utils/index.js +0 -8
  418. package/chunks/{chunk-WH6BPDAC.js → chunk-2KT7AKRW.js} +3 -3
  419. package/chunks/{chunk-S5MTHWQ7.js → chunk-6QFELK4E.js} +8 -8
  420. package/chunks/{chunk-LEYJ4I5W.js → chunk-EXPVRDPR.js} +8 -8
  421. package/chunks/{chunk-ZPDKBMUH.js → chunk-LSZVKXDZ.js} +3 -3
  422. package/chunks/{chunk-NRABY36Z.js → chunk-MLLP7YSK.js} +9 -9
  423. package/chunks/{chunk-OVG5RGI3.js → chunk-S32K7POB.js} +4 -4
@@ -1,13 +1,13 @@
1
1
  import { Readable } from 'node:stream';
2
- import { Outcome } from '../../../../agnostic/misc/outcome';
3
- import { S3ClientWithBucket } from '../../clients';
4
2
  import { Bucket as GCSBucket } from '@google-cloud/storage';
5
3
  import { Client as FtpClient } from 'basic-ftp';
6
4
  import SftpClient from 'ssh2-sftp-client';
7
- import { UploadOptions as FtpUploadOptions } from '../../../ftps/file/upload';
8
- import { UploadOptions as SftpUploadOptions } from '../../../sftp/file/upload';
9
- import { UploadOptions as S3UploadOptions } from '../../../@aws-s3/storage/file/upload';
10
- import { UploadOptions as GcsUploadOptions } from '../../../@google-cloud/storage/file/upload';
5
+ import { Outcome } from '../../../../agnostic/misc/outcome/index.js';
6
+ import { S3ClientWithBucket } from '../../clients/index.js';
7
+ import { UploadOptions as FtpUploadOptions } from '../../../ftps/file/upload/index.js';
8
+ import { UploadOptions as SftpUploadOptions } from '../../../sftp/file/upload/index.js';
9
+ import { UploadOptions as S3UploadOptions } from '../../../@aws-s3/storage/file/upload/index.js';
10
+ import { UploadOptions as GcsUploadOptions } from '../../../@google-cloud/storage/file/upload/index.js';
11
11
  type Returned = Outcome.Either<true, string>;
12
12
  export declare function uploadFile(fileStream: Readable, path: string, client: GCSBucket, options?: GcsUploadOptions): Promise<Returned>;
13
13
  export declare function uploadFile(fileStream: Readable, path: string, client: S3ClientWithBucket, options?: S3UploadOptions): Promise<Returned>;
@@ -1,5 +1,5 @@
1
1
  import { Buffer } from 'node:buffer';
2
- import { Outcome } from '../../../../agnostic/misc/outcome';
2
+ import { Outcome } from '../../../../agnostic/misc/outcome/index.js';
3
3
  /**
4
4
  * Encrypts a `Buffer` by converting it to a `Uint8Array`, performing encryption, and then returning the result as a `Buffer`.
5
5
  *
@@ -1,3 +1,3 @@
1
- import * as Buffer from './buffer';
2
- import * as Uint8Array from './uint8-array';
1
+ import * as Buffer from './buffer/index.js';
2
+ import * as Uint8Array from './uint8-array/index.js';
3
3
  export { Buffer, Uint8Array };
@@ -1,4 +1,4 @@
1
- import { Outcome } from '../../../../agnostic/misc/outcome';
1
+ import { Outcome } from '../../../../agnostic/misc/outcome/index.js';
2
2
  /**
3
3
  * Encrypts a `Uint8Array` using AES-256-GCM encryption and the specified encryption key.
4
4
  *
@@ -1,3 +1,3 @@
1
- import * as AES_256_GCM from './@aes-256-gcm';
2
- import * as Key from './key';
1
+ import * as AES_256_GCM from './@aes-256-gcm/index.js';
2
+ import * as Key from './key/index.js';
3
3
  export { AES_256_GCM, Key };
@@ -1,11 +1,11 @@
1
- import {
2
- key_exports
3
- } from "../../chunks/chunk-HKTNK262.js";
4
1
  import {
5
2
  aes_256_gcm_exports
6
3
  } from "../../chunks/chunk-BGSJ5XCH.js";
7
4
  import "../../chunks/chunk-JTJA7DGW.js";
8
5
  import "../../chunks/chunk-REZC75LB.js";
6
+ import {
7
+ key_exports
8
+ } from "../../chunks/chunk-HKTNK262.js";
9
9
  import "../../chunks/chunk-JMU5PDBD.js";
10
10
  import "../../chunks/chunk-FENXVJYO.js";
11
11
  import "../../chunks/chunk-WSFCRVEQ.js";
@@ -1,6 +1,6 @@
1
- import { isInDirectory as isInDirectoryFunc } from './is-in-directory';
2
- import { ReadWriteEditorFunc as ReadWriteEditorFuncType, readWrite as readWriteFunc } from './read-write';
3
- import { Subpaths as SubpathsNamespace } from './subpaths';
1
+ import { isInDirectory as isInDirectoryFunc } from './is-in-directory/index.js';
2
+ import { ReadWriteEditorFunc as ReadWriteEditorFuncType, readWrite as readWriteFunc } from './read-write/index.js';
3
+ import { Subpaths as SubpathsNamespace } from './subpaths/index.js';
4
4
  export declare const isInDirectory: typeof isInDirectoryFunc;
5
5
  export type ReadWriteEditorFunc = ReadWriteEditorFuncType;
6
6
  export declare const readWrite: typeof readWriteFunc;
@@ -1,5 +1,5 @@
1
1
  import { Client } from 'basic-ftp';
2
- import { Outcome } from '../../../../agnostic/misc/outcome';
2
+ import { Outcome } from '../../../../agnostic/misc/outcome/index.js';
3
3
  export type CopyDirOptions = {
4
4
  /**
5
5
  * If `false` and a destination file already exists, copying aborts.
@@ -1,5 +1,5 @@
1
- import * as CopyDir from './copy-dir';
2
- import * as List from './list';
3
- import * as MoveDir from './move-dir';
4
- import * as RemoveDir from './remove-dir';
1
+ import * as CopyDir from './copy-dir/index.js';
2
+ import * as List from './list/index.js';
3
+ import * as MoveDir from './move-dir/index.js';
4
+ import * as RemoveDir from './remove-dir/index.js';
5
5
  export { CopyDir, List, MoveDir, RemoveDir };
@@ -1,5 +1,5 @@
1
1
  import { Client } from 'basic-ftp';
2
- import { Outcome } from '../../../../agnostic/misc/outcome';
2
+ import { Outcome } from '../../../../agnostic/misc/outcome/index.js';
3
3
  /**
4
4
  * Lists all direct children files under a given directory on an FTP server.
5
5
  *
@@ -1,5 +1,5 @@
1
1
  import { Client } from 'basic-ftp';
2
- import { Outcome } from '../../../../agnostic/misc/outcome';
2
+ import { Outcome } from '../../../../agnostic/misc/outcome/index.js';
3
3
  export type MoveDirOptions = {
4
4
  /** If false and `targetDir` exists, the operation is aborted. Defaults to false. */
5
5
  overwrite?: boolean;
@@ -1,5 +1,5 @@
1
1
  import { Client } from 'basic-ftp';
2
- import { Outcome } from '../../../../agnostic/misc/outcome';
2
+ import { Outcome } from '../../../../agnostic/misc/outcome/index.js';
3
3
  export type RemoveDirOptions = {
4
4
  /**
5
5
  * If **true** (default) the function ignores the case where `directoryPath`
@@ -1,5 +1,5 @@
1
1
  import { Client } from 'basic-ftp';
2
- import { Outcome } from '../../../../agnostic/misc/outcome';
2
+ import { Outcome } from '../../../../agnostic/misc/outcome/index.js';
3
3
  export type CopyOptions = {
4
4
  /**
5
5
  * If `false` and the target already exists, the operation is aborted.
@@ -1,6 +1,6 @@
1
1
  import { Readable } from 'node:stream';
2
2
  import { Client } from 'basic-ftp';
3
- import { Outcome } from '../../../../agnostic/misc/outcome';
3
+ import { Outcome } from '../../../../agnostic/misc/outcome/index.js';
4
4
  export type DownloadOptions = {
5
5
  startAt?: number;
6
6
  };
@@ -1,5 +1,5 @@
1
1
  import { Client } from 'basic-ftp';
2
- import { Outcome } from '../../../../agnostic/misc/outcome';
2
+ import { Outcome } from '../../../../agnostic/misc/outcome/index.js';
3
3
  /**
4
4
  * Checks if a *file* (not a directory) exists on a specified FTP server.
5
5
  *
@@ -1,8 +1,8 @@
1
- import * as Copy from './copy';
2
- import * as Download from './download';
3
- import * as Exists from './exists';
4
- import * as Move from './move';
5
- import * as Remove from './remove';
6
- import * as Stat from './stat';
7
- import * as Upload from './upload';
1
+ import * as Copy from './copy/index.js';
2
+ import * as Download from './download/index.js';
3
+ import * as Exists from './exists/index.js';
4
+ import * as Move from './move/index.js';
5
+ import * as Remove from './remove/index.js';
6
+ import * as Stat from './stat/index.js';
7
+ import * as Upload from './upload/index.js';
8
8
  export { Copy, Download, Exists, Move, Remove, Stat, Upload };
@@ -1,25 +1,25 @@
1
- import "../../../chunks/chunk-S5MTHWQ7.js";
1
+ import "../../../chunks/chunk-6QFELK4E.js";
2
+ import {
3
+ upload_exports
4
+ } from "../../../chunks/chunk-CVDCTI7F.js";
2
5
  import {
3
6
  download_exports
4
7
  } from "../../../chunks/chunk-FF5NURFO.js";
8
+ import {
9
+ exists_exports
10
+ } from "../../../chunks/chunk-ZJTWDCNZ.js";
5
11
  import {
6
12
  remove_exports
7
13
  } from "../../../chunks/chunk-KJAEVOIW.js";
8
14
  import {
9
- upload_exports
10
- } from "../../../chunks/chunk-CVDCTI7F.js";
15
+ move_exports
16
+ } from "../../../chunks/chunk-HRNDUTZE.js";
11
17
  import {
12
18
  stat_exports
13
19
  } from "../../../chunks/chunk-CNYSX2L2.js";
14
20
  import {
15
21
  copy_exports
16
22
  } from "../../../chunks/chunk-NMYVJJXV.js";
17
- import {
18
- exists_exports
19
- } from "../../../chunks/chunk-ZJTWDCNZ.js";
20
- import {
21
- move_exports
22
- } from "../../../chunks/chunk-HRNDUTZE.js";
23
23
  import "../../../chunks/chunk-JMU5PDBD.js";
24
24
  import "../../../chunks/chunk-FENXVJYO.js";
25
25
  import "../../../chunks/chunk-WSFCRVEQ.js";
@@ -1,5 +1,5 @@
1
1
  import { Client } from 'basic-ftp';
2
- import { Outcome } from '../../../../agnostic/misc/outcome';
2
+ import { Outcome } from '../../../../agnostic/misc/outcome/index.js';
3
3
  export type MoveOptions = {
4
4
  /**
5
5
  * When `true`, ensures that the parent directory of `targetPath` exists
@@ -1,5 +1,5 @@
1
1
  import { Client } from 'basic-ftp';
2
- import { Outcome } from '../../../../agnostic/misc/outcome';
2
+ import { Outcome } from '../../../../agnostic/misc/outcome/index.js';
3
3
  export type RemoveOptions = {
4
4
  ignoreMissing?: boolean;
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import { Client as FtpClient, FileInfo } from 'basic-ftp';
2
- import { Outcome } from '../../../../agnostic/misc/outcome';
2
+ import { Outcome } from '../../../../agnostic/misc/outcome/index.js';
3
3
  export interface Stat {
4
4
  size?: number;
5
5
  modifiedAt?: Date;
@@ -1,6 +1,6 @@
1
1
  import { Readable } from 'node:stream';
2
2
  import { Client, UploadOptions as BasicFtpUploadOptions } from 'basic-ftp';
3
- import { Outcome } from '../../../../agnostic/misc/outcome';
3
+ import { Outcome } from '../../../../agnostic/misc/outcome/index.js';
4
4
  export type UploadOptions = BasicFtpUploadOptions & {
5
5
  ensureDir?: boolean;
6
6
  overwrite?: boolean;
@@ -1,3 +1,3 @@
1
- import * as Directory from './directory';
2
- import * as File from './file';
1
+ import * as Directory from './directory/index.js';
2
+ import * as File from './file/index.js';
3
3
  export { Directory, File };
@@ -1,20 +1,20 @@
1
- import {
2
- file_exports
3
- } from "../../chunks/chunk-S5MTHWQ7.js";
4
1
  import {
5
2
  directory_exports
6
3
  } from "../../chunks/chunk-CNMP2GU4.js";
4
+ import {
5
+ file_exports
6
+ } from "../../chunks/chunk-6QFELK4E.js";
7
+ import "../../chunks/chunk-CVDCTI7F.js";
8
+ import "../../chunks/chunk-FF5NURFO.js";
9
+ import "../../chunks/chunk-ZJTWDCNZ.js";
7
10
  import "../../chunks/chunk-3CLGBOHN.js";
8
11
  import "../../chunks/chunk-BE7OXZRK.js";
9
12
  import "../../chunks/chunk-BSUQNHAM.js";
10
- import "../../chunks/chunk-FF5NURFO.js";
11
13
  import "../../chunks/chunk-KJAEVOIW.js";
12
- import "../../chunks/chunk-CVDCTI7F.js";
14
+ import "../../chunks/chunk-HRNDUTZE.js";
13
15
  import "../../chunks/chunk-CNYSX2L2.js";
14
16
  import "../../chunks/chunk-N2T672IG.js";
15
17
  import "../../chunks/chunk-NMYVJJXV.js";
16
- import "../../chunks/chunk-ZJTWDCNZ.js";
17
- import "../../chunks/chunk-HRNDUTZE.js";
18
18
  import "../../chunks/chunk-JMU5PDBD.js";
19
19
  import "../../chunks/chunk-FENXVJYO.js";
20
20
  import "../../chunks/chunk-WSFCRVEQ.js";
@@ -0,0 +1,3 @@
1
+ import sharp from 'sharp';
2
+ import type { CreateOptions } from '../types.js';
3
+ export declare function create(options: CreateOptions): Promise<sharp.Sharp>;
@@ -0,0 +1,23 @@
1
+ import {
2
+ create
3
+ } from "../../../chunks/chunk-2EHYEUX4.js";
4
+ import "../../../chunks/chunk-BKIF2ELV.js";
5
+ import "../../../chunks/chunk-ALMK24GK.js";
6
+ import "../../../chunks/chunk-65NTXENV.js";
7
+ import "../../../chunks/chunk-D7SXHHU3.js";
8
+ import "../../../chunks/chunk-GUBFCOBT.js";
9
+ import "../../../chunks/chunk-XAYMIITK.js";
10
+ import "../../../chunks/chunk-QW34TQCS.js";
11
+ import "../../../chunks/chunk-ZJ63OCMA.js";
12
+ import "../../../chunks/chunk-MN4FVOU2.js";
13
+ import "../../../chunks/chunk-VA67YLZL.js";
14
+ import "../../../chunks/chunk-P4YT4RBG.js";
15
+ import "../../../chunks/chunk-YZVZKBVJ.js";
16
+ import "../../../chunks/chunk-DNIOWD7K.js";
17
+ import "../../../chunks/chunk-OSAXBA7G.js";
18
+ import "../../../chunks/chunk-UG5EMKGN.js";
19
+ import "../../../chunks/chunk-HQLRJ7XW.js";
20
+ import "../../../chunks/chunk-WSFCRVEQ.js";
21
+ export {
22
+ create
23
+ };
@@ -1,39 +1,6 @@
1
1
  import sharp from 'sharp';
2
- import { Outcome } from '../../../agnostic/misc/outcome';
3
- export type ImageFileType = keyof sharp.FormatEnum;
4
- export type FormatCommonOptions = {
5
- width?: number;
6
- height?: number;
7
- fit?: sharp.ResizeOptions['fit'];
8
- position?: number | string;
9
- background?: sharp.Color;
10
- kernel?: keyof sharp.KernelEnum;
11
- withoutEnlargement?: boolean;
12
- withoutReduction?: boolean;
13
- fastShrinkOnLoad?: boolean;
14
- };
15
- export type FormatJpgOptions = FormatCommonOptions & {
16
- quality?: number;
17
- };
18
- export type FormatPngOptions = FormatCommonOptions & {
19
- quality?: number;
20
- compressionLevel?: sharp.PngOptions['compressionLevel'];
21
- };
22
- export type FormatWebpOptions = FormatCommonOptions & {
23
- quality?: number;
24
- };
25
- export type FormatAvifOptions = FormatCommonOptions & {
26
- quality?: number;
27
- };
28
- export type FormatTiffOptions = FormatCommonOptions & {
29
- quality?: number;
30
- compression?: sharp.TiffOptions['compression'];
31
- };
32
- export type FormatHeifOptions = FormatCommonOptions & {
33
- quality?: number;
34
- };
35
- export type FormatKeepOptions = FormatCommonOptions;
36
- export type FormatOptions = FormatJpgOptions | FormatPngOptions | FormatWebpOptions | FormatAvifOptions | FormatTiffOptions | FormatHeifOptions;
2
+ import { Outcome } from '../../../agnostic/misc/outcome/index.js';
3
+ import type { FormatCommonOptions, FormatJpgOptions, FormatPngOptions, FormatWebpOptions, FormatAvifOptions, FormatTiffOptions, FormatHeifOptions, FormatOptions, ImageLike } from '../types.js';
37
4
  export declare const isFormatCommonOptions: (options: unknown) => options is FormatCommonOptions;
38
5
  export declare const isFormatJpgOptions: (options: unknown) => options is FormatJpgOptions;
39
6
  export declare const isFormatPngOptions: (options: unknown) => options is FormatPngOptions;
@@ -41,21 +8,20 @@ export declare const isFormatWebpOptions: (options: unknown) => options is Forma
41
8
  export declare const isFormatAvifOptions: (options: unknown) => options is FormatAvifOptions;
42
9
  export declare const isFormatTiffOptions: (options: unknown) => options is FormatTiffOptions;
43
10
  export declare const isFormatHeifOptions: (options: unknown) => options is FormatHeifOptions;
44
- export declare const isFormatKeepOptions: (options: unknown) => options is FormatKeepOptions;
45
11
  export declare const isFormatOptions: (options: unknown) => options is FormatOptions;
46
- export declare function format(input: Buffer, type: 'jpg' | 'jpeg', options: FormatJpgOptions): Promise<Outcome.Either<Buffer, string>>;
47
- export declare function format(input: Buffer, type: 'png', options: FormatPngOptions): Promise<Outcome.Either<Buffer, string>>;
48
- export declare function format(input: Buffer, type: 'webp', options: FormatWebpOptions): Promise<Outcome.Either<Buffer, string>>;
49
- export declare function format(input: Buffer, type: 'avif', options: FormatAvifOptions): Promise<Outcome.Either<Buffer, string>>;
50
- export declare function format(input: Buffer, type: 'tiff', options: FormatTiffOptions): Promise<Outcome.Either<Buffer, string>>;
51
- export declare function format(input: Buffer, type: 'heif', options: FormatHeifOptions): Promise<Outcome.Either<Buffer, string>>;
52
- export declare function format(input: Buffer, type: string, options: FormatKeepOptions): Promise<Outcome.Either<Buffer, string>>;
53
- export declare function format(input: Buffer, options: FormatKeepOptions): Promise<Outcome.Either<Buffer, string>>;
54
- export declare const toWidth: (input: Buffer, width: number) => Promise<Buffer>;
55
- export declare const toHeight: (input: Buffer, height: number) => Promise<Buffer>;
56
- export declare const toJpg: (input: Buffer, quality?: number) => Promise<Buffer>;
57
- export declare const toPng: (input: Buffer, quality?: number, compressionLevel?: sharp.PngOptions["compressionLevel"]) => Promise<Buffer>;
58
- export declare const toWebp: (input: Buffer, quality?: number) => Promise<Buffer>;
59
- export declare const toAvif: (input: Buffer, quality?: number) => Promise<Buffer>;
60
- export declare const toTiff: (input: Buffer, quality?: number, compression?: sharp.TiffOptions["compression"]) => Promise<Buffer>;
61
- export declare const toHeif: (input: Buffer, quality?: number) => Promise<Buffer>;
12
+ export declare const toSharpResizeOptions: (options: FormatCommonOptions) => sharp.ResizeOptions;
13
+ export declare const toSharpJpegOptions: (options: FormatJpgOptions) => sharp.JpegOptions;
14
+ export declare const toSharpPngOptions: (options: FormatPngOptions) => sharp.PngOptions;
15
+ export declare const toSharpWebpOptions: (options: FormatWebpOptions) => sharp.WebpOptions;
16
+ export declare const toSharpAvifOptions: (options: FormatAvifOptions) => sharp.AvifOptions;
17
+ export declare const toSharpTiffOptions: (options: FormatTiffOptions) => sharp.TiffOptions;
18
+ export declare const toSharpHeifOptions: (options: FormatHeifOptions) => sharp.HeifOptions;
19
+ export declare function format(input: ImageLike, options: FormatOptions): Promise<Outcome.Either<Buffer, string>>;
20
+ export declare const toWidth: (input: ImageLike, width: number) => Promise<Buffer>;
21
+ export declare const toHeight: (input: ImageLike, height: number) => Promise<Buffer>;
22
+ export declare const toJpg: (input: ImageLike, quality?: number) => Promise<Buffer>;
23
+ export declare const toPng: (input: ImageLike, quality?: number, compressionLevel?: FormatPngOptions["compressionLevel"]) => Promise<Buffer>;
24
+ export declare const toWebp: (input: ImageLike, quality?: number) => Promise<Buffer>;
25
+ export declare const toAvif: (input: ImageLike, quality?: number) => Promise<Buffer>;
26
+ export declare const toTiff: (input: ImageLike, quality?: number, compression?: FormatTiffOptions["compression"]) => Promise<Buffer>;
27
+ export declare const toHeif: (input: ImageLike, quality?: number) => Promise<Buffer>;
@@ -4,7 +4,6 @@ import {
4
4
  isFormatCommonOptions,
5
5
  isFormatHeifOptions,
6
6
  isFormatJpgOptions,
7
- isFormatKeepOptions,
8
7
  isFormatOptions,
9
8
  isFormatPngOptions,
10
9
  isFormatTiffOptions,
@@ -14,14 +13,35 @@ import {
14
13
  toHeight,
15
14
  toJpg,
16
15
  toPng,
16
+ toSharpAvifOptions,
17
+ toSharpHeifOptions,
18
+ toSharpJpegOptions,
19
+ toSharpPngOptions,
20
+ toSharpResizeOptions,
21
+ toSharpTiffOptions,
22
+ toSharpWebpOptions,
17
23
  toTiff,
18
24
  toWebp,
19
25
  toWidth
20
- } from "../../../chunks/chunk-7EDDWSWS.js";
21
- import "../../../chunks/chunk-MFYNJMVM.js";
26
+ } from "../../../chunks/chunk-IDXUS2IO.js";
22
27
  import "../../../chunks/chunk-DZ2T5DTY.js";
28
+ import "../../../chunks/chunk-BKIF2ELV.js";
23
29
  import "../../../chunks/chunk-JMU5PDBD.js";
30
+ import "../../../chunks/chunk-ALMK24GK.js";
31
+ import "../../../chunks/chunk-65NTXENV.js";
32
+ import "../../../chunks/chunk-D7SXHHU3.js";
33
+ import "../../../chunks/chunk-GUBFCOBT.js";
34
+ import "../../../chunks/chunk-XAYMIITK.js";
35
+ import "../../../chunks/chunk-QW34TQCS.js";
36
+ import "../../../chunks/chunk-ZJ63OCMA.js";
37
+ import "../../../chunks/chunk-MN4FVOU2.js";
38
+ import "../../../chunks/chunk-VA67YLZL.js";
39
+ import "../../../chunks/chunk-P4YT4RBG.js";
40
+ import "../../../chunks/chunk-YZVZKBVJ.js";
41
+ import "../../../chunks/chunk-DNIOWD7K.js";
24
42
  import "../../../chunks/chunk-OSAXBA7G.js";
43
+ import "../../../chunks/chunk-UG5EMKGN.js";
44
+ import "../../../chunks/chunk-HQLRJ7XW.js";
25
45
  import "../../../chunks/chunk-WSFCRVEQ.js";
26
46
  export {
27
47
  format,
@@ -29,7 +49,6 @@ export {
29
49
  isFormatCommonOptions,
30
50
  isFormatHeifOptions,
31
51
  isFormatJpgOptions,
32
- isFormatKeepOptions,
33
52
  isFormatOptions,
34
53
  isFormatPngOptions,
35
54
  isFormatTiffOptions,
@@ -39,6 +58,13 @@ export {
39
58
  toHeight,
40
59
  toJpg,
41
60
  toPng,
61
+ toSharpAvifOptions,
62
+ toSharpHeifOptions,
63
+ toSharpJpegOptions,
64
+ toSharpPngOptions,
65
+ toSharpResizeOptions,
66
+ toSharpTiffOptions,
67
+ toSharpWebpOptions,
42
68
  toTiff,
43
69
  toWebp,
44
70
  toWidth
@@ -1,4 +1,6 @@
1
- import * as GetMetadata from './get-metadata';
2
- import * as Format from './format';
3
- import * as Transform from './transform';
4
- export { GetMetadata, Format, Transform };
1
+ import * as Create from './create/index.js';
2
+ import * as Metadata from './metadata/index.js';
3
+ import * as Format from './format/index.js';
4
+ import * as Transform from './transform/index.js';
5
+ import * as Types from './types.js';
6
+ export { Create, Metadata, Format, Transform, Types };
@@ -1,35 +1,55 @@
1
1
  import {
2
- transform_exports
3
- } from "../../chunks/chunk-DEW6LPOS.js";
2
+ create_exports
3
+ } from "../../chunks/chunk-2EHYEUX4.js";
4
+ import {
5
+ metadata_exports
6
+ } from "../../chunks/chunk-5LK2YLTK.js";
7
+ import {
8
+ format_exports
9
+ } from "../../chunks/chunk-IDXUS2IO.js";
10
+ import {
11
+ transform_exports,
12
+ types_exports
13
+ } from "../../chunks/chunk-VKNQ7MVZ.js";
14
+ import "../../chunks/chunk-2HJPX7E3.js";
4
15
  import "../../chunks/chunk-RHKFMXM3.js";
5
- import "../../chunks/chunk-IFQA5PWI.js";
6
- import "../../chunks/chunk-QSU3CVGF.js";
7
- import "../../chunks/chunk-FQ4UTWMP.js";
8
- import "../../chunks/chunk-WNDMYNDU.js";
9
16
  import "../../chunks/chunk-3G6FOHII.js";
10
- import "../../chunks/chunk-EDJ3TVNV.js";
11
- import "../../chunks/chunk-YA2YCZUF.js";
12
- import "../../chunks/chunk-AI6AGF4I.js";
17
+ import "../../chunks/chunk-KDOMQ4LM.js";
18
+ import "../../chunks/chunk-S7637BQZ.js";
19
+ import "../../chunks/chunk-QTA7ZEVX.js";
20
+ import "../../chunks/chunk-JHUOMGOX.js";
13
21
  import "../../chunks/chunk-P26Y7YUA.js";
14
22
  import "../../chunks/chunk-SRXNICSE.js";
23
+ import "../../chunks/chunk-RBCZWVQH.js";
24
+ import "../../chunks/chunk-O7VFJHQX.js";
25
+ import "../../chunks/chunk-QSU3CVGF.js";
26
+ import "../../chunks/chunk-WNDMYNDU.js";
27
+ import "../../chunks/chunk-YA2YCZUF.js";
15
28
  import "../../chunks/chunk-HFZGH6V2.js";
16
- import "../../chunks/chunk-HMAK6VAF.js";
17
- import "../../chunks/chunk-2M33FCDG.js";
18
- import "../../chunks/chunk-2HJPX7E3.js";
19
- import {
20
- format_exports
21
- } from "../../chunks/chunk-7EDDWSWS.js";
22
- import "../../chunks/chunk-MFYNJMVM.js";
23
29
  import "../../chunks/chunk-DZ2T5DTY.js";
24
- import {
25
- get_metadata_exports
26
- } from "../../chunks/chunk-NYVARFI7.js";
30
+ import "../../chunks/chunk-BKIF2ELV.js";
27
31
  import "../../chunks/chunk-JMU5PDBD.js";
32
+ import "../../chunks/chunk-ALMK24GK.js";
33
+ import "../../chunks/chunk-65NTXENV.js";
34
+ import "../../chunks/chunk-D7SXHHU3.js";
35
+ import "../../chunks/chunk-GUBFCOBT.js";
36
+ import "../../chunks/chunk-XAYMIITK.js";
37
+ import "../../chunks/chunk-QW34TQCS.js";
38
+ import "../../chunks/chunk-ZJ63OCMA.js";
39
+ import "../../chunks/chunk-MN4FVOU2.js";
40
+ import "../../chunks/chunk-VA67YLZL.js";
41
+ import "../../chunks/chunk-P4YT4RBG.js";
42
+ import "../../chunks/chunk-YZVZKBVJ.js";
43
+ import "../../chunks/chunk-DNIOWD7K.js";
28
44
  import "../../chunks/chunk-OSAXBA7G.js";
45
+ import "../../chunks/chunk-UG5EMKGN.js";
46
+ import "../../chunks/chunk-HQLRJ7XW.js";
29
47
  import "../../chunks/chunk-FENXVJYO.js";
30
48
  import "../../chunks/chunk-WSFCRVEQ.js";
31
49
  export {
50
+ create_exports as Create,
32
51
  format_exports as Format,
33
- get_metadata_exports as GetMetadata,
34
- transform_exports as Transform
52
+ metadata_exports as Metadata,
53
+ transform_exports as Transform,
54
+ types_exports as Types
35
55
  };
@@ -0,0 +1,3 @@
1
+ import sharp from 'sharp';
2
+ import type { ImageLike } from '../types.js';
3
+ export declare function metadata(imageInput: ImageLike): Promise<sharp.Metadata>;
@@ -0,0 +1,23 @@
1
+ import {
2
+ metadata
3
+ } from "../../../chunks/chunk-5LK2YLTK.js";
4
+ import "../../../chunks/chunk-BKIF2ELV.js";
5
+ import "../../../chunks/chunk-ALMK24GK.js";
6
+ import "../../../chunks/chunk-65NTXENV.js";
7
+ import "../../../chunks/chunk-D7SXHHU3.js";
8
+ import "../../../chunks/chunk-GUBFCOBT.js";
9
+ import "../../../chunks/chunk-XAYMIITK.js";
10
+ import "../../../chunks/chunk-QW34TQCS.js";
11
+ import "../../../chunks/chunk-ZJ63OCMA.js";
12
+ import "../../../chunks/chunk-MN4FVOU2.js";
13
+ import "../../../chunks/chunk-VA67YLZL.js";
14
+ import "../../../chunks/chunk-P4YT4RBG.js";
15
+ import "../../../chunks/chunk-YZVZKBVJ.js";
16
+ import "../../../chunks/chunk-DNIOWD7K.js";
17
+ import "../../../chunks/chunk-OSAXBA7G.js";
18
+ import "../../../chunks/chunk-UG5EMKGN.js";
19
+ import "../../../chunks/chunk-HQLRJ7XW.js";
20
+ import "../../../chunks/chunk-WSFCRVEQ.js";
21
+ export {
22
+ metadata
23
+ };