@intlayer/core 9.4.2 → 9.4.4

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 (353) hide show
  1. package/dist/cjs/formatters/list.cjs.map +1 -1
  2. package/dist/esm/formatters/list.mjs.map +1 -1
  3. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/dictionaryManipulator/qualifiedDynamicLoader.d.ts +1 -0
  4. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getDictionaryAsync.d.ts +1 -0
  5. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getEnumeration.d.ts +1 -0
  6. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getGender.d.ts +1 -0
  7. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getInsertion.d.ts +1 -0
  8. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getPlural.d.ts +1 -0
  9. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getSelect.d.ts +1 -0
  10. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/index.d.ts +7 -0
  11. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/interpolableNode.d.ts +1 -0
  12. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/transpiler/index.d.ts +2 -0
  13. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/transpiler/nesting/index.d.ts +1 -0
  14. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/transpiler/nesting/nesting.d.ts +1 -0
  15. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/dictionaryManipulator/qualifiedDynamicLoader.d.ts +1 -0
  16. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getDictionaryAsync.d.ts +1 -0
  17. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getEnumeration.d.ts +1 -0
  18. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getGender.d.ts +1 -0
  19. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getInsertion.d.ts +1 -0
  20. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getPlural.d.ts +1 -0
  21. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getSelect.d.ts +1 -0
  22. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/index.d.ts +7 -0
  23. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/interpolableNode.d.ts +1 -0
  24. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/intlayer/dist/types/index.d.ts +6 -0
  25. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/transpiler/index.d.ts +2 -0
  26. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/transpiler/nesting/index.d.ts +1 -0
  27. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/transpiler/nesting/nesting.d.ts +1 -0
  28. package/dist/types/@intlayer/core/dist/types/dictionaryManipulator/plainDynamicLoader.d.ts +2 -0
  29. package/dist/types/@intlayer/core/dist/types/dictionaryManipulator/qualifiedDynamicLoader.d.ts +2 -0
  30. package/dist/types/@intlayer/core/dist/types/formatters/compact.d.ts +1 -0
  31. package/dist/types/@intlayer/core/dist/types/formatters/currency.d.ts +1 -0
  32. package/dist/types/@intlayer/core/dist/types/formatters/date.d.ts +1 -0
  33. package/dist/types/@intlayer/core/dist/types/formatters/index.d.ts +9 -0
  34. package/dist/types/@intlayer/core/dist/types/formatters/list.d.ts +1 -0
  35. package/dist/types/@intlayer/core/dist/types/formatters/number.d.ts +1 -0
  36. package/dist/types/@intlayer/core/dist/types/formatters/percentage.d.ts +1 -0
  37. package/dist/types/@intlayer/core/dist/types/formatters/relativeTime.d.ts +1 -0
  38. package/dist/types/@intlayer/core/dist/types/formatters/units.d.ts +1 -0
  39. package/dist/types/@intlayer/core/dist/types/interpreter/dictionaryTransformCache.d.ts +4 -0
  40. package/dist/types/@intlayer/core/dist/types/interpreter/getCondition.d.ts +2 -0
  41. package/dist/types/@intlayer/core/dist/types/interpreter/getContent/deepTransform.d.ts +1 -0
  42. package/dist/types/@intlayer/core/dist/types/interpreter/getContent/getContent.d.ts +3 -0
  43. package/dist/types/@intlayer/core/dist/types/interpreter/getContent/index.d.ts +3 -0
  44. package/dist/types/@intlayer/core/dist/types/interpreter/getContent/plugins.d.ts +7 -0
  45. package/dist/types/@intlayer/core/dist/types/interpreter/getDictionary.d.ts +4 -0
  46. package/dist/types/@intlayer/core/dist/types/interpreter/getDictionaryAsync.d.ts +6 -0
  47. package/dist/types/@intlayer/core/dist/types/interpreter/getEnumeration.d.ts +2 -0
  48. package/dist/types/@intlayer/core/dist/types/interpreter/getGender.d.ts +2 -0
  49. package/dist/types/@intlayer/core/dist/types/interpreter/getInsertion.d.ts +2 -0
  50. package/dist/types/@intlayer/core/dist/types/interpreter/getIntlayer.d.ts +4 -0
  51. package/dist/types/@intlayer/core/dist/types/interpreter/getIntlayerAsync.d.ts +4 -0
  52. package/dist/types/@intlayer/core/dist/types/interpreter/getNesting.d.ts +6 -0
  53. package/dist/types/@intlayer/core/dist/types/interpreter/getPlural.d.ts +3 -0
  54. package/dist/types/@intlayer/core/dist/types/interpreter/getSelect.d.ts +2 -0
  55. package/dist/types/@intlayer/core/dist/types/interpreter/getTranslation.d.ts +1 -0
  56. package/dist/types/@intlayer/core/dist/types/interpreter/index.d.ts +18 -0
  57. package/dist/types/@intlayer/core/dist/types/interpreter/interpolableNode.d.ts +2 -0
  58. package/dist/types/@intlayer/core/dist/types/intlayer/dist/types/index.d.ts +6 -0
  59. package/dist/types/@intlayer/core/dist/types/localization/comparePaths.d.ts +1 -0
  60. package/dist/types/@intlayer/core/dist/types/localization/domainUtils.d.ts +2 -0
  61. package/dist/types/@intlayer/core/dist/types/localization/generateSitemap.d.ts +2 -0
  62. package/dist/types/@intlayer/core/dist/types/localization/getBrowserLocale.d.ts +1 -0
  63. package/dist/types/@intlayer/core/dist/types/localization/getCanonicalPath.d.ts +2 -0
  64. package/dist/types/@intlayer/core/dist/types/localization/getHTMLTextDir.d.ts +1 -0
  65. package/dist/types/@intlayer/core/dist/types/localization/getLocale.d.ts +1 -0
  66. package/dist/types/@intlayer/core/dist/types/localization/getLocaleFromPath.d.ts +2 -0
  67. package/dist/types/@intlayer/core/dist/types/localization/getLocaleLang.d.ts +1 -0
  68. package/dist/types/@intlayer/core/dist/types/localization/getLocaleName.d.ts +1 -0
  69. package/dist/types/@intlayer/core/dist/types/localization/getLocalizedPath.d.ts +2 -0
  70. package/dist/types/@intlayer/core/dist/types/localization/getLocalizedUrl.d.ts +2 -0
  71. package/dist/types/@intlayer/core/dist/types/localization/getMultilingualUrls.d.ts +2 -0
  72. package/dist/types/@intlayer/core/dist/types/localization/getPathWithoutLocale.d.ts +1 -0
  73. package/dist/types/@intlayer/core/dist/types/localization/getPrefix.d.ts +2 -0
  74. package/dist/types/@intlayer/core/dist/types/localization/index.d.ts +22 -0
  75. package/dist/types/@intlayer/core/dist/types/localization/localeDetector.d.ts +2 -0
  76. package/dist/types/@intlayer/core/dist/types/localization/localeMapper.d.ts +1 -0
  77. package/dist/types/@intlayer/core/dist/types/localization/localeResolver.d.ts +1 -0
  78. package/dist/types/@intlayer/core/dist/types/localization/resolveBrowserLocale.d.ts +2 -0
  79. package/dist/types/@intlayer/core/dist/types/localization/rewriteMatch.d.ts +1 -0
  80. package/dist/types/@intlayer/core/dist/types/localization/rewriteUtils.d.ts +2 -0
  81. package/dist/types/@intlayer/core/dist/types/localization/validatePrefix.d.ts +2 -0
  82. package/dist/types/@intlayer/core/dist/types/markdown/index.d.ts +2 -0
  83. package/dist/types/@intlayer/core/dist/types/transpiler/condition/condition.d.ts +1 -0
  84. package/dist/types/@intlayer/core/dist/types/transpiler/condition/index.d.ts +1 -0
  85. package/dist/types/@intlayer/core/dist/types/transpiler/enumeration/enumeration.d.ts +1 -0
  86. package/dist/types/@intlayer/core/dist/types/transpiler/enumeration/index.d.ts +1 -0
  87. package/dist/types/@intlayer/core/dist/types/transpiler/file/file.d.ts +1 -0
  88. package/dist/types/@intlayer/core/dist/types/transpiler/file/index.d.ts +1 -0
  89. package/dist/types/@intlayer/core/dist/types/transpiler/gender/gender.d.ts +1 -0
  90. package/dist/types/@intlayer/core/dist/types/transpiler/gender/index.d.ts +1 -0
  91. package/dist/types/@intlayer/core/dist/types/transpiler/html/html.d.ts +1 -0
  92. package/dist/types/@intlayer/core/dist/types/transpiler/html/index.d.ts +1 -0
  93. package/dist/types/@intlayer/core/dist/types/transpiler/index.d.ts +22 -0
  94. package/dist/types/@intlayer/core/dist/types/transpiler/insertion/index.d.ts +1 -0
  95. package/dist/types/@intlayer/core/dist/types/transpiler/insertion/insertion.d.ts +1 -0
  96. package/dist/types/@intlayer/core/dist/types/transpiler/markdown/index.d.ts +1 -0
  97. package/dist/types/@intlayer/core/dist/types/transpiler/markdown/markdown.d.ts +1 -0
  98. package/dist/types/@intlayer/core/dist/types/transpiler/nesting/index.d.ts +1 -0
  99. package/dist/types/@intlayer/core/dist/types/transpiler/nesting/nesting.d.ts +4 -0
  100. package/dist/types/@intlayer/core/dist/types/transpiler/plural/index.d.ts +1 -0
  101. package/dist/types/@intlayer/core/dist/types/transpiler/plural/plural.d.ts +1 -0
  102. package/dist/types/@intlayer/core/dist/types/transpiler/select/index.d.ts +1 -0
  103. package/dist/types/@intlayer/core/dist/types/transpiler/select/select.d.ts +1 -0
  104. package/dist/types/@intlayer/core/dist/types/transpiler/translation/index.d.ts +1 -0
  105. package/dist/types/@intlayer/core/dist/types/transpiler/translation/translation.d.ts +2 -0
  106. package/dist/types/@intlayer/core/dist/types/utils/index.d.ts +3 -0
  107. package/dist/types/@intlayer/core/dist/types/utils/intl.d.ts +1 -0
  108. package/dist/types/@intlayer/core/dist/types/utils/isSameKeyPath.d.ts +1 -0
  109. package/dist/types/@intlayer/core/dist/types/utils/localeStorage.d.ts +2 -0
  110. package/dist/types/deepTransformPlugins/getEditedContent.d.ts +2 -3
  111. package/dist/types/deepTransformPlugins/getEditedContent.d.ts.map +1 -1
  112. package/dist/types/deepTransformPlugins/getFilterMissingTranslationsContent.d.ts +3 -4
  113. package/dist/types/deepTransformPlugins/getFilterMissingTranslationsContent.d.ts.map +1 -1
  114. package/dist/types/deepTransformPlugins/getFilterTranslationsOnlyContent.d.ts +3 -4
  115. package/dist/types/deepTransformPlugins/getFilterTranslationsOnlyContent.d.ts.map +1 -1
  116. package/dist/types/deepTransformPlugins/getFilteredLocalesContent.d.ts +2 -3
  117. package/dist/types/deepTransformPlugins/getFilteredLocalesContent.d.ts.map +1 -1
  118. package/dist/types/deepTransformPlugins/getLocalizedContent.d.ts +2 -3
  119. package/dist/types/deepTransformPlugins/getLocalizedContent.d.ts.map +1 -1
  120. package/dist/types/deepTransformPlugins/getMaskContent.d.ts +2 -3
  121. package/dist/types/deepTransformPlugins/getMaskContent.d.ts.map +1 -1
  122. package/dist/types/deepTransformPlugins/getMissingLocalesContent.d.ts +3 -4
  123. package/dist/types/deepTransformPlugins/getMissingLocalesContent.d.ts.map +1 -1
  124. package/dist/types/deepTransformPlugins/getMultilingualDictionary.d.ts +1 -2
  125. package/dist/types/deepTransformPlugins/getMultilingualDictionary.d.ts.map +1 -1
  126. package/dist/types/deepTransformPlugins/getReplacedValuesContent.d.ts +1 -2
  127. package/dist/types/deepTransformPlugins/getReplacedValuesContent.d.ts.map +1 -1
  128. package/dist/types/deepTransformPlugins/getSplittedContent.d.ts +2 -3
  129. package/dist/types/deepTransformPlugins/getSplittedContent.d.ts.map +1 -1
  130. package/dist/types/deepTransformPlugins/insertContentInDictionary.d.ts +1 -2
  131. package/dist/types/deepTransformPlugins/insertContentInDictionary.d.ts.map +1 -1
  132. package/dist/types/dictionaryManipulator/editDictionaryByKeyPath.d.ts +1 -2
  133. package/dist/types/dictionaryManipulator/editDictionaryByKeyPath.d.ts.map +1 -1
  134. package/dist/types/dictionaryManipulator/getContentNodeByKeyPath.d.ts +1 -2
  135. package/dist/types/dictionaryManipulator/getContentNodeByKeyPath.d.ts.map +1 -1
  136. package/dist/types/dictionaryManipulator/getDefaultNode.d.ts +1 -2
  137. package/dist/types/dictionaryManipulator/getDefaultNode.d.ts.map +1 -1
  138. package/dist/types/dictionaryManipulator/getEmptyNode.d.ts +1 -2
  139. package/dist/types/dictionaryManipulator/getEmptyNode.d.ts.map +1 -1
  140. package/dist/types/dictionaryManipulator/getNestedDictionaryReferences.d.ts +4 -5
  141. package/dist/types/dictionaryManipulator/getNestedDictionaryReferences.d.ts.map +1 -1
  142. package/dist/types/dictionaryManipulator/getNodeChildren.d.ts +1 -2
  143. package/dist/types/dictionaryManipulator/getNodeChildren.d.ts.map +1 -1
  144. package/dist/types/dictionaryManipulator/getNodeType.d.ts +1 -2
  145. package/dist/types/dictionaryManipulator/getNodeType.d.ts.map +1 -1
  146. package/dist/types/dictionaryManipulator/mergeDictionaries.d.ts +1 -2
  147. package/dist/types/dictionaryManipulator/mergeDictionaries.d.ts.map +1 -1
  148. package/dist/types/dictionaryManipulator/mergeQualifiedDictionaries.d.ts +1 -2
  149. package/dist/types/dictionaryManipulator/mergeQualifiedDictionaries.d.ts.map +1 -1
  150. package/dist/types/dictionaryManipulator/normalizeDictionary.d.ts +2 -3
  151. package/dist/types/dictionaryManipulator/normalizeDictionary.d.ts.map +1 -1
  152. package/dist/types/dictionaryManipulator/orderDictionaries.d.ts +1 -2
  153. package/dist/types/dictionaryManipulator/orderDictionaries.d.ts.map +1 -1
  154. package/dist/types/dictionaryManipulator/plainDynamicLoader.d.ts +4 -5
  155. package/dist/types/dictionaryManipulator/plainDynamicLoader.d.ts.map +1 -1
  156. package/dist/types/dictionaryManipulator/preloadedDynamicLoader.d.ts +4 -4
  157. package/dist/types/dictionaryManipulator/preloadedDynamicLoader.d.ts.map +1 -1
  158. package/dist/types/dictionaryManipulator/qualifiedDictionary.d.ts +12 -13
  159. package/dist/types/dictionaryManipulator/qualifiedDictionary.d.ts.map +1 -1
  160. package/dist/types/dictionaryManipulator/qualifiedDictionaryDeclaration.d.ts +5 -6
  161. package/dist/types/dictionaryManipulator/qualifiedDictionaryDeclaration.d.ts.map +1 -1
  162. package/dist/types/dictionaryManipulator/qualifiedDynamicLoader.d.ts +7 -7
  163. package/dist/types/dictionaryManipulator/qualifiedDynamicLoader.d.ts.map +1 -1
  164. package/dist/types/dictionaryManipulator/removeContentNodeByKeyPath.d.ts +1 -2
  165. package/dist/types/dictionaryManipulator/removeContentNodeByKeyPath.d.ts.map +1 -1
  166. package/dist/types/dictionaryManipulator/renameContentNodeByKeyPath.d.ts +1 -2
  167. package/dist/types/dictionaryManipulator/renameContentNodeByKeyPath.d.ts.map +1 -1
  168. package/dist/types/dictionaryManipulator/updateNodeChildren.d.ts +1 -2
  169. package/dist/types/dictionaryManipulator/updateNodeChildren.d.ts.map +1 -1
  170. package/dist/types/formatters/compact.d.ts +1 -2
  171. package/dist/types/formatters/compact.d.ts.map +1 -1
  172. package/dist/types/formatters/currency.d.ts +1 -2
  173. package/dist/types/formatters/currency.d.ts.map +1 -1
  174. package/dist/types/formatters/date.d.ts +3 -4
  175. package/dist/types/formatters/date.d.ts.map +1 -1
  176. package/dist/types/formatters/index.d.ts +2 -2
  177. package/dist/types/formatters/list.d.ts +2 -3
  178. package/dist/types/formatters/list.d.ts.map +1 -1
  179. package/dist/types/formatters/number.d.ts +1 -2
  180. package/dist/types/formatters/number.d.ts.map +1 -1
  181. package/dist/types/formatters/percentage.d.ts +1 -2
  182. package/dist/types/formatters/percentage.d.ts.map +1 -1
  183. package/dist/types/formatters/relativeTime.d.ts +1 -2
  184. package/dist/types/formatters/relativeTime.d.ts.map +1 -1
  185. package/dist/types/formatters/units.d.ts +1 -2
  186. package/dist/types/formatters/units.d.ts.map +1 -1
  187. package/dist/types/index.d.ts +2 -2
  188. package/dist/types/interpreter/dictionaryTransformCache.d.ts +4 -5
  189. package/dist/types/interpreter/dictionaryTransformCache.d.ts.map +1 -1
  190. package/dist/types/interpreter/getCondition.d.ts +1 -2
  191. package/dist/types/interpreter/getCondition.d.ts.map +1 -1
  192. package/dist/types/interpreter/getContent/deepTransform.d.ts +1 -2
  193. package/dist/types/interpreter/getContent/deepTransform.d.ts.map +1 -1
  194. package/dist/types/interpreter/getContent/getContent.d.ts +2 -3
  195. package/dist/types/interpreter/getContent/getContent.d.ts.map +1 -1
  196. package/dist/types/interpreter/getContent/plugins.d.ts +28 -29
  197. package/dist/types/interpreter/getContent/plugins.d.ts.map +1 -1
  198. package/dist/types/interpreter/getDictionary.d.ts +1 -2
  199. package/dist/types/interpreter/getDictionary.d.ts.map +1 -1
  200. package/dist/types/interpreter/getDictionaryAsync.d.ts +1 -2
  201. package/dist/types/interpreter/getDictionaryAsync.d.ts.map +1 -1
  202. package/dist/types/interpreter/getEnumeration.d.ts +2 -3
  203. package/dist/types/interpreter/getEnumeration.d.ts.map +1 -1
  204. package/dist/types/interpreter/getGender.d.ts +1 -2
  205. package/dist/types/interpreter/getGender.d.ts.map +1 -1
  206. package/dist/types/interpreter/getHTML.d.ts +1 -2
  207. package/dist/types/interpreter/getHTML.d.ts.map +1 -1
  208. package/dist/types/interpreter/getInsertion.d.ts +1 -2
  209. package/dist/types/interpreter/getInsertion.d.ts.map +1 -1
  210. package/dist/types/interpreter/getIntlayer.d.ts +1 -2
  211. package/dist/types/interpreter/getIntlayer.d.ts.map +1 -1
  212. package/dist/types/interpreter/getIntlayerAsync.d.ts +1 -2
  213. package/dist/types/interpreter/getIntlayerAsync.d.ts.map +1 -1
  214. package/dist/types/interpreter/getNesting.d.ts +2 -3
  215. package/dist/types/interpreter/getNesting.d.ts.map +1 -1
  216. package/dist/types/interpreter/getNesting.optimized.d.ts +1 -2
  217. package/dist/types/interpreter/getNesting.optimized.d.ts.map +1 -1
  218. package/dist/types/interpreter/getPlural.d.ts +2 -3
  219. package/dist/types/interpreter/getPlural.d.ts.map +1 -1
  220. package/dist/types/interpreter/getSelect.d.ts +1 -2
  221. package/dist/types/interpreter/getSelect.d.ts.map +1 -1
  222. package/dist/types/interpreter/getTranslation.d.ts +1 -2
  223. package/dist/types/interpreter/getTranslation.d.ts.map +1 -1
  224. package/dist/types/interpreter/interpolableNode.d.ts +5 -6
  225. package/dist/types/interpreter/interpolableNode.d.ts.map +1 -1
  226. package/dist/types/interpreter/splitAndJoinInsertion.d.ts +1 -2
  227. package/dist/types/interpreter/splitAndJoinInsertion.d.ts.map +1 -1
  228. package/dist/types/intlayer/dist/types/index.d.ts +14 -0
  229. package/dist/types/localization/comparePaths.d.ts +2 -3
  230. package/dist/types/localization/comparePaths.d.ts.map +1 -1
  231. package/dist/types/localization/domainUtils.d.ts +5 -6
  232. package/dist/types/localization/domainUtils.d.ts.map +1 -1
  233. package/dist/types/localization/generateSitemap.d.ts +4 -5
  234. package/dist/types/localization/generateSitemap.d.ts.map +1 -1
  235. package/dist/types/localization/getBrowserLocale.d.ts +2 -3
  236. package/dist/types/localization/getBrowserLocale.d.ts.map +1 -1
  237. package/dist/types/localization/getCanonicalPath.d.ts +1 -2
  238. package/dist/types/localization/getCanonicalPath.d.ts.map +1 -1
  239. package/dist/types/localization/getHTMLTextDir.d.ts +1 -2
  240. package/dist/types/localization/getHTMLTextDir.d.ts.map +1 -1
  241. package/dist/types/localization/getLocale.d.ts +2 -3
  242. package/dist/types/localization/getLocale.d.ts.map +1 -1
  243. package/dist/types/localization/getLocaleFromPath.d.ts +1 -2
  244. package/dist/types/localization/getLocaleFromPath.d.ts.map +1 -1
  245. package/dist/types/localization/getLocaleLang.d.ts +1 -2
  246. package/dist/types/localization/getLocaleLang.d.ts.map +1 -1
  247. package/dist/types/localization/getLocaleName.d.ts +1 -2
  248. package/dist/types/localization/getLocaleName.d.ts.map +1 -1
  249. package/dist/types/localization/getLocalizedPath.d.ts +1 -2
  250. package/dist/types/localization/getLocalizedPath.d.ts.map +1 -1
  251. package/dist/types/localization/getLocalizedUrl.d.ts +1 -2
  252. package/dist/types/localization/getLocalizedUrl.d.ts.map +1 -1
  253. package/dist/types/localization/getMultilingualUrls.d.ts +1 -2
  254. package/dist/types/localization/getMultilingualUrls.d.ts.map +1 -1
  255. package/dist/types/localization/getPathWithoutLocale.d.ts +1 -2
  256. package/dist/types/localization/getPathWithoutLocale.d.ts.map +1 -1
  257. package/dist/types/localization/getPrefix.d.ts +7 -8
  258. package/dist/types/localization/getPrefix.d.ts.map +1 -1
  259. package/dist/types/localization/localeDetector.d.ts +2 -3
  260. package/dist/types/localization/localeDetector.d.ts.map +1 -1
  261. package/dist/types/localization/localeMapper.d.ts +4 -5
  262. package/dist/types/localization/localeMapper.d.ts.map +1 -1
  263. package/dist/types/localization/localeResolver.d.ts +1 -2
  264. package/dist/types/localization/localeResolver.d.ts.map +1 -1
  265. package/dist/types/localization/proxyMode.d.ts +4 -5
  266. package/dist/types/localization/proxyMode.d.ts.map +1 -1
  267. package/dist/types/localization/resolveBrowserLocale.d.ts +2 -3
  268. package/dist/types/localization/resolveBrowserLocale.d.ts.map +1 -1
  269. package/dist/types/localization/rewriteMatch.d.ts +3 -4
  270. package/dist/types/localization/rewriteMatch.d.ts.map +1 -1
  271. package/dist/types/localization/rewriteUtils.d.ts +5 -6
  272. package/dist/types/localization/rewriteUtils.d.ts.map +1 -1
  273. package/dist/types/localization/validatePrefix.d.ts +2 -3
  274. package/dist/types/localization/validatePrefix.d.ts.map +1 -1
  275. package/dist/types/markdown/compiler.d.ts +7 -8
  276. package/dist/types/markdown/compiler.d.ts.map +1 -1
  277. package/dist/types/markdown/constants.d.ts +83 -84
  278. package/dist/types/markdown/constants.d.ts.map +1 -1
  279. package/dist/types/markdown/parser.d.ts +1 -2
  280. package/dist/types/markdown/parser.d.ts.map +1 -1
  281. package/dist/types/markdown/renderer.d.ts +2 -3
  282. package/dist/types/markdown/renderer.d.ts.map +1 -1
  283. package/dist/types/markdown/types.d.ts +49 -50
  284. package/dist/types/markdown/types.d.ts.map +1 -1
  285. package/dist/types/markdown/utils.d.ts +30 -31
  286. package/dist/types/markdown/utils.d.ts.map +1 -1
  287. package/dist/types/messageFormat/ICU.d.ts +3 -4
  288. package/dist/types/messageFormat/ICU.d.ts.map +1 -1
  289. package/dist/types/messageFormat/i18next.d.ts +2 -3
  290. package/dist/types/messageFormat/i18next.d.ts.map +1 -1
  291. package/dist/types/messageFormat/navigatePath.d.ts +1 -2
  292. package/dist/types/messageFormat/navigatePath.d.ts.map +1 -1
  293. package/dist/types/messageFormat/po.d.ts +3 -4
  294. package/dist/types/messageFormat/po.d.ts.map +1 -1
  295. package/dist/types/messageFormat/resolveMessage.d.ts +7 -8
  296. package/dist/types/messageFormat/resolveMessage.d.ts.map +1 -1
  297. package/dist/types/messageFormat/vue-i18n.d.ts +2 -3
  298. package/dist/types/messageFormat/vue-i18n.d.ts.map +1 -1
  299. package/dist/types/transpiler/condition/condition.d.ts +3 -3
  300. package/dist/types/transpiler/condition/condition.d.ts.map +1 -1
  301. package/dist/types/transpiler/enumeration/enumeration.d.ts +4 -4
  302. package/dist/types/transpiler/enumeration/enumeration.d.ts.map +1 -1
  303. package/dist/types/transpiler/file/file.d.ts +4 -5
  304. package/dist/types/transpiler/file/file.d.ts.map +1 -1
  305. package/dist/types/transpiler/file/fileBrowser.d.ts +1 -2
  306. package/dist/types/transpiler/file/fileBrowser.d.ts.map +1 -1
  307. package/dist/types/transpiler/gender/gender.d.ts +4 -4
  308. package/dist/types/transpiler/gender/gender.d.ts.map +1 -1
  309. package/dist/types/transpiler/html/getHTMLCustomComponents.d.ts +1 -2
  310. package/dist/types/transpiler/html/getHTMLCustomComponents.d.ts.map +1 -1
  311. package/dist/types/transpiler/html/html.d.ts +3 -4
  312. package/dist/types/transpiler/html/html.d.ts.map +1 -1
  313. package/dist/types/transpiler/html/htmlTags.d.ts +2 -3
  314. package/dist/types/transpiler/html/htmlTags.d.ts.map +1 -1
  315. package/dist/types/transpiler/html/validateHTML.d.ts +4 -5
  316. package/dist/types/transpiler/html/validateHTML.d.ts.map +1 -1
  317. package/dist/types/transpiler/insertion/getInsertionValues.d.ts +1 -2
  318. package/dist/types/transpiler/insertion/getInsertionValues.d.ts.map +1 -1
  319. package/dist/types/transpiler/insertion/insertion.d.ts +3 -3
  320. package/dist/types/transpiler/insertion/insertion.d.ts.map +1 -1
  321. package/dist/types/transpiler/markdown/getMarkdownMetadata.d.ts +1 -2
  322. package/dist/types/transpiler/markdown/getMarkdownMetadata.d.ts.map +1 -1
  323. package/dist/types/transpiler/markdown/markdown.d.ts +3 -3
  324. package/dist/types/transpiler/markdown/markdown.d.ts.map +1 -1
  325. package/dist/types/transpiler/markdown/validateMarkdown.d.ts +3 -3
  326. package/dist/types/transpiler/markdown/validateMarkdown.d.ts.map +1 -1
  327. package/dist/types/transpiler/nesting/nesting.d.ts +5 -5
  328. package/dist/types/transpiler/nesting/nesting.d.ts.map +1 -1
  329. package/dist/types/transpiler/plural/plural.d.ts +4 -4
  330. package/dist/types/transpiler/plural/plural.d.ts.map +1 -1
  331. package/dist/types/transpiler/select/select.d.ts +3 -3
  332. package/dist/types/transpiler/select/select.d.ts.map +1 -1
  333. package/dist/types/transpiler/translation/translation.d.ts +2 -2
  334. package/dist/types/transpiler/translation/translation.d.ts.map +1 -1
  335. package/dist/types/utils/checkIsURLAbsolute.d.ts +1 -2
  336. package/dist/types/utils/checkIsURLAbsolute.d.ts.map +1 -1
  337. package/dist/types/utils/cookieExpiry.d.ts +2 -3
  338. package/dist/types/utils/cookieExpiry.d.ts.map +1 -1
  339. package/dist/types/utils/getCookie.d.ts +1 -2
  340. package/dist/types/utils/getCookie.d.ts.map +1 -1
  341. package/dist/types/utils/intl.d.ts +7 -7
  342. package/dist/types/utils/intl.d.ts.map +1 -1
  343. package/dist/types/utils/isSameKeyPath.d.ts +1 -2
  344. package/dist/types/utils/isSameKeyPath.d.ts.map +1 -1
  345. package/dist/types/utils/isValidReactElement.d.ts +1 -2
  346. package/dist/types/utils/isValidReactElement.d.ts.map +1 -1
  347. package/dist/types/utils/localeStorage.d.ts +14 -15
  348. package/dist/types/utils/localeStorage.d.ts.map +1 -1
  349. package/dist/types/utils/parseYaml.d.ts +3 -4
  350. package/dist/types/utils/parseYaml.d.ts.map +1 -1
  351. package/dist/types/utils/stringifyYaml.d.ts +1 -2
  352. package/dist/types/utils/stringifyYaml.d.ts.map +1 -1
  353. package/package.json +8 -8
@@ -3,37 +3,37 @@ import { NestedParser, ParseState, ParserResult, Rule } from "./types.js";
3
3
  /**
4
4
  * Trim trailing whitespace from a string.
5
5
  */
6
- declare const trimEnd: (str: string) => string;
6
+ export declare const trimEnd: (str: string) => string;
7
7
  /**
8
8
  * Check if string starts with prefix.
9
9
  */
10
- declare const startsWith: (str: string, prefix: string) => boolean;
10
+ export declare const startsWith: (str: string, prefix: string) => boolean;
11
11
  /**
12
12
  * Remove symmetrical leading and trailing quotes.
13
13
  */
14
- declare const unquote: (str: string) => string;
14
+ export declare const unquote: (str: string) => string;
15
15
  /**
16
16
  * Unescape backslash-escaped characters.
17
17
  */
18
- declare const unescapeString: (rawString: string) => string;
18
+ export declare const unescapeString: (rawString: string) => string;
19
19
  /**
20
20
  * Join class names, filtering out falsy values.
21
21
  */
22
- declare const cx: (...args: any[]) => string;
22
+ export declare const cx: (...args: any[]) => string;
23
23
  /**
24
24
  * Get a nested property from an object using dot notation.
25
25
  */
26
- declare const get: (src: any, path: string, fb?: any) => any;
27
- declare const slugify: (str: string) => string;
26
+ export declare const get: (src: any, path: string, fb?: any) => any;
27
+ export declare const slugify: (str: string) => string;
28
28
  /**
29
29
  * Sanitize URLs to prevent XSS attacks.
30
30
  * Returns null if the URL is unsafe.
31
31
  */
32
- declare const sanitizer: (input: string) => string | null;
32
+ export declare const sanitizer: (input: string) => string | null;
33
33
  /**
34
34
  * Normalize whitespace in source string.
35
35
  */
36
- declare const normalizeWhitespace: (source: string) => string;
36
+ export declare const normalizeWhitespace: (source: string) => string;
37
37
  /**
38
38
  * Safely remove a uniform leading indentation from lines, but do NOT touch
39
39
  * the content inside fenced code blocks (``` or ~~~).
@@ -44,98 +44,97 @@ declare const normalizeWhitespace: (source: string) => string;
44
44
  * element but written with its fence at column 0 therefore keeps its code
45
45
  * verbatim, instead of losing the first level of indentation.
46
46
  */
47
- declare const trimLeadingWhitespaceOutsideFences: (text: string, whitespace: string) => string;
47
+ export declare const trimLeadingWhitespaceOutsideFences: (text: string, whitespace: string) => string;
48
48
  /**
49
49
  * Normalize HTML attribute key to JSX prop name.
50
50
  */
51
- declare const normalizeAttributeKey: (key: string) => string;
51
+ export declare const normalizeAttributeKey: (key: string) => string;
52
52
  type StyleTuple = [key: string, value: string];
53
53
  /**
54
54
  * Parse a CSS style string into an array of [key, value] tuples.
55
55
  */
56
- declare const parseStyleAttribute: (styleString: string) => StyleTuple[];
56
+ export declare const parseStyleAttribute: (styleString: string) => StyleTuple[];
57
57
  /**
58
58
  * Convert an attribute value to a Node prop value.
59
59
  */
60
- declare const attributeValueToNodePropValue: (tag: string, key: string, value: string, sanitizeUrlFn: (value: string, tag: string, attribute: string) => string | null) => any;
60
+ export declare const attributeValueToNodePropValue: (tag: string, key: string, value: string, sanitizeUrlFn: (value: string, tag: string, attribute: string) => string | null) => any;
61
61
  /**
62
62
  * Parse table alignment from a separator row.
63
63
  */
64
- declare const parseTableAlignCapture: (alignCapture: string) => 'left' | 'right' | 'center';
64
+ export declare const parseTableAlignCapture: (alignCapture: string) => 'left' | 'right' | 'center';
65
65
  /**
66
66
  * Parse table alignment row.
67
67
  */
68
- declare const parseTableAlign: (source: string) => ('left' | 'right' | 'center')[];
68
+ export declare const parseTableAlign: (source: string) => ('left' | 'right' | 'center')[];
69
69
  /**
70
70
  * Parse a single table row.
71
71
  */
72
- declare const parseTableRow: (source: string, parse: NestedParser, state: ParseState, tableOutput: boolean) => ParserResult[][];
72
+ export declare const parseTableRow: (source: string, parse: NestedParser, state: ParseState, tableOutput: boolean) => ParserResult[][];
73
73
  /**
74
74
  * Parse table cells (multiple rows).
75
75
  */
76
- declare const parseTableCells: (source: string, parse: NestedParser, state: ParseState) => ParserResult[][][];
76
+ export declare const parseTableCells: (source: string, parse: NestedParser, state: ParseState) => ParserResult[][][];
77
77
  /**
78
78
  * Check if a rule qualifies for the current source and state.
79
79
  */
80
- declare const qualifies: (source: string, state: ParseState, qualify: NonNullable<Rule<any>['_qualify']>) => boolean;
80
+ export declare const qualifies: (source: string, state: ParseState, qualify: NonNullable<Rule<any>['_qualify']>) => boolean;
81
81
  /**
82
82
  * Marks a matcher function as eligible for being run inside an inline context.
83
83
  */
84
- declare const allowInline: <T extends (...args: any[]) => any>(fn: T) => T & {
84
+ export declare const allowInline: <T extends (...args: any[]) => any>(fn: T) => T & {
85
85
  inline: 1;
86
86
  };
87
87
  /**
88
88
  * Creates a match function for an inline scoped element from a regex.
89
89
  */
90
- declare const inlineRegex: (regex: RegExp) => ((source: string, state: ParseState) => RegExpMatchArray | null) & {
90
+ export declare const inlineRegex: (regex: RegExp) => ((source: string, state: ParseState) => RegExpMatchArray | null) & {
91
91
  inline: 1;
92
92
  };
93
93
  /**
94
94
  * Creates a match function for inline elements except links.
95
95
  */
96
- declare const simpleInlineRegex: (regex: RegExp) => ((source: string, state: ParseState) => RegExpMatchArray | null) & {
96
+ export declare const simpleInlineRegex: (regex: RegExp) => ((source: string, state: ParseState) => RegExpMatchArray | null) & {
97
97
  inline: 1;
98
98
  };
99
99
  /**
100
100
  * Creates a match function for a block scoped element from a regex.
101
101
  */
102
- declare const blockRegex: (regex: RegExp) => (source: string, state: ParseState) => RegExpMatchArray | null;
102
+ export declare const blockRegex: (regex: RegExp) => (source: string, state: ParseState) => RegExpMatchArray | null;
103
103
  /**
104
104
  * Creates a match function from a regex, ignoring block/inline scope.
105
105
  */
106
- declare const anyScopeRegex: (fn: RegExp | ((source: string, state: ParseState) => RegExpMatchArray | null)) => ((source: string, state: ParseState) => RegExpMatchArray | null) & {
106
+ export declare const anyScopeRegex: (fn: RegExp | ((source: string, state: ParseState) => RegExpMatchArray | null)) => ((source: string, state: ParseState) => RegExpMatchArray | null) & {
107
107
  inline: 1;
108
108
  };
109
109
  /**
110
110
  * Parse inline content (including links).
111
111
  */
112
- declare const parseInline: (parse: NestedParser, children: string, state: ParseState) => ParserResult[];
112
+ export declare const parseInline: (parse: NestedParser, children: string, state: ParseState) => ParserResult[];
113
113
  /**
114
114
  * Parse simple inline content (no links).
115
115
  */
116
- declare const parseSimpleInline: (parse: NestedParser, children: string, state: ParseState) => ParserResult[];
116
+ export declare const parseSimpleInline: (parse: NestedParser, children: string, state: ParseState) => ParserResult[];
117
117
  /**
118
118
  * Parse block content.
119
119
  */
120
- declare const parseBlock: (parse: NestedParser, children: string, state?: ParseState) => ParserResult[];
120
+ export declare const parseBlock: (parse: NestedParser, children: string, state?: ParseState) => ParserResult[];
121
121
  /**
122
122
  * Helper to parse capture group 2 as inline content.
123
123
  */
124
- declare const parseCaptureInline: (capture: RegExpMatchArray, parse: NestedParser, state: ParseState) => {
124
+ export declare const parseCaptureInline: (capture: RegExpMatchArray, parse: NestedParser, state: ParseState) => {
125
125
  children: ParserResult[];
126
126
  };
127
127
  /**
128
128
  * Helper that captures nothing (empty object).
129
129
  */
130
- declare const captureNothing: () => Record<string, never>;
130
+ export declare const captureNothing: () => Record<string, never>;
131
131
  /**
132
132
  * Helper that renders nothing (null).
133
133
  */
134
- declare const renderNothing: () => null;
134
+ export declare const renderNothing: () => null;
135
135
  /**
136
136
  * Check if any regex in a list matches the input.
137
137
  */
138
- declare const some: (regexes: RegExp[], input: string) => boolean;
138
+ export declare const some: (regexes: RegExp[], input: string) => boolean;
139
139
  //#endregion
140
- export { allowInline, anyScopeRegex, attributeValueToNodePropValue, blockRegex, captureNothing, cx, get, inlineRegex, normalizeAttributeKey, normalizeWhitespace, parseBlock, parseCaptureInline, parseInline, parseSimpleInline, parseStyleAttribute, parseTableAlign, parseTableAlignCapture, parseTableCells, parseTableRow, qualifies, renderNothing, sanitizer, simpleInlineRegex, slugify, some, startsWith, trimEnd, trimLeadingWhitespaceOutsideFences, unescapeString, unquote };
141
140
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","names":[],"sources":["../../../src/markdown/utils.ts"],"mappings":";;;;;cAsBa,UAAO;;;;cAWP,aAAU,aAAe;;;;cAOzB,UAAO;;;;cAiBP,iBAAc;;;;cAMd,QAAE;;;;cAKF,MAAG,UAAY,cAAc;cAoC7B,UAAO;;;;;cAsBP,YAAS;;;;cAqCT,sBAAmB;;;;;;;;;;;cAoBnB,qCAAkC,cACjC;;;;cAwCD,wBAAqB;KAY7B,cAAc,aAAa;;;;cAKnB,sBAAmB,wBAA0B;;;;cA+D7C,gCAA6B,aAC7B,aACA,eACE,gBAEX,eACA,aACA;;;;cA0CS,yBAAsB;;;;cAiBtB,kBAAe;;;;cAUf,gBAAa,gBACV,OACP,cAAY,OACZ,YAAU,yBAEhB;;;;cA8CU,kBAAe,gBACZ,OACP,cAAY,OACZ,eACN;;;;cAiBU,YAAS,gBACN,OACP,YAAU,SACR,YAAY;;;;cAmBV,cAAe,cAAc,qBAAmB,IACvD,MACH;EAAM;;;;;cAQI,cAAW,OAAW,aAAM,gBACZ,OAAS,eAAa;EATlC;;;;;cAoBJ,oBAAiB,OAAW,aAAM,gBAClB,OAAS,eAAa;EArBlC;;;;;cAgCJ,aAAU,OACb,YAAM,gBACC,OAAS,eAAa;;;;cAW1B,gBAAa,IACpB,WAAW,gBAAgB,OAAO,eAAe,+BAAwB,gBAElD,OAAS,eAAa;EAhDlC;;;;;cA0DJ,cAAW,OACf,cAAY,kBACH,OACT,eACN;;;;cAeU,oBAAiB,OACrB,cAAY,kBACH,OACT,eACN;;;;cAgBU,aAAU,OACd,cAAY,kBACH,QACT,eACN;;;;cAoBU,qBAAkB,SACpB,kBAAgB,OAClB,cAAY,OACZ;EACJ,UAAU;;;;;cASF,sBAAqB;;;;cAKrB;;;;cAKA,OAAI,SAAa,UAAQ"}
1
+ {"version":3,"file":"utils.d.ts","names":[],"sources":["../../../src/markdown/utils.ts"],"mappings":";;;;;qBAsBa,UAAO;;;;qBAWP,aAAU,aAAe;;;;qBAOzB,UAAO;;;;qBAiBP,iBAAc;;;;qBAMd,QAAE;;;;qBAKF,MAAG,UAAY,cAAc;qBAoC7B,UAAO;;;;;qBAsBP,YAAS;;;;qBAqCT,sBAAmB;;;;;;;;;;;qBAoBnB,qCAAkC,cACjC;;;;qBAwCD,wBAAqB;KAY7B,cAAc,aAAa;;;;qBAKnB,sBAAmB,wBAA0B;;;;qBA+D7C,gCAA6B,aAC7B,aACA,eACE,gBAEX,eACA,aACA;;;;qBA0CS,yBAAsB;;;;qBAiBtB,kBAAe;;;;qBAUf,gBAAa,gBACV,OACP,cAAY,OACZ,YAAU,yBAEhB;;;;qBA8CU,kBAAe,gBACZ,OACP,cAAY,OACZ,eACN;;;;qBAiBU,YAAS,gBACN,OACP,YAAU,SACR,YAAY;;;;qBAmBV,cAAe,cAAc,qBAAmB,IACvD,MACH;EAAM;;;;;qBAQI,cAAW,OAAW,aAAM,gBACZ,OAAS,eAAa;EATlC;;;;;qBAoBJ,oBAAiB,OAAW,aAAM,gBAClB,OAAS,eAAa;EArBlC;;;;;qBAgCJ,aAAU,OACb,YAAM,gBACC,OAAS,eAAa;;;;qBAW1B,gBAAa,IACpB,WAAW,gBAAgB,OAAO,eAAe,+BAAwB,gBAElD,OAAS,eAAa;EAhDlC;;;;;qBA0DJ,cAAW,OACf,cAAY,kBACH,OACT,eACN;;;;qBAeU,oBAAiB,OACrB,cAAY,kBACH,OACT,eACN;;;;qBAgBU,aAAU,OACd,cAAY,kBACH,QACT,eACN;;;;qBAoBU,qBAAkB,SACpB,kBAAgB,OAClB,cAAY,OACZ;EACJ,UAAU;;;;;qBASF,sBAAqB;;;;qBAKrB;;;;qBAKA,OAAI,SAAa,UAAQ"}
@@ -1,10 +1,9 @@
1
1
  import { Dictionary } from "@intlayer/types/dictionary";
2
2
  //#region src/messageFormat/ICU.d.ts
3
- type JsonValue = string | number | boolean | null | JsonValue[] | {
3
+ export type JsonValue = string | number | boolean | null | JsonValue[] | {
4
4
  [key: string]: JsonValue;
5
5
  };
6
- declare const intlayerToICUFormatter: (message: Dictionary['content']) => JsonValue;
7
- declare const icuToIntlayerFormatter: (message: Dictionary['content']) => JsonValue;
6
+ export declare const intlayerToICUFormatter: (message: Dictionary['content']) => JsonValue;
7
+ export declare const icuToIntlayerFormatter: (message: Dictionary['content']) => JsonValue;
8
8
  //#endregion
9
- export { JsonValue, icuToIntlayerFormatter, intlayerToICUFormatter };
10
9
  //# sourceMappingURL=ICU.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ICU.d.ts","names":[],"sources":["../../../src/messageFormat/ICU.ts"],"mappings":";;KAkDY,+CAKR;GACG,cAAc;;cAknBR,yBAAsB,SACxB,0BACR;cAQU,yBAAsB,SACxB,0BACR"}
1
+ {"version":3,"file":"ICU.d.ts","names":[],"sources":["../../../src/messageFormat/ICU.ts"],"mappings":";;YAkDY,+CAKR;GACG,cAAc;;qBAknBR,yBAAsB,SACxB,0BACR;qBAQU,yBAAsB,SACxB,0BACR"}
@@ -1,8 +1,7 @@
1
1
  import { JsonValue } from "./ICU.js";
2
2
  import { Dictionary } from "@intlayer/types/dictionary";
3
3
  //#region src/messageFormat/i18next.d.ts
4
- declare const intlayerToI18nextFormatter: (message: Dictionary['content']) => JsonValue;
5
- declare const i18nextToIntlayerFormatter: (message: JsonValue) => Dictionary['content'];
4
+ export declare const intlayerToI18nextFormatter: (message: Dictionary['content']) => JsonValue;
5
+ export declare const i18nextToIntlayerFormatter: (message: JsonValue) => Dictionary['content'];
6
6
  //#endregion
7
- export { i18nextToIntlayerFormatter, intlayerToI18nextFormatter };
8
7
  //# sourceMappingURL=i18next.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"i18next.d.ts","names":[],"sources":["../../../src/messageFormat/i18next.ts"],"mappings":";;;cAklBa,6BAA0B,SAC5B,0BACR;cAQU,6BAA0B,SAC5B,cACR"}
1
+ {"version":3,"file":"i18next.d.ts","names":[],"sources":["../../../src/messageFormat/i18next.ts"],"mappings":";;;qBAklBa,6BAA0B,SAC5B,0BACR;qBAQU,6BAA0B,SAC5B,cACR"}
@@ -16,7 +16,6 @@
16
16
  * (flat lookup only), mirroring i18next's `keySeparator: false`.
17
17
  * @returns The value found at `path`, or `undefined` when any segment is absent.
18
18
  */
19
- declare const navigatePath: (contentValue: unknown, path: string, keySeparator?: string | false) => unknown;
19
+ export declare const navigatePath: (contentValue: unknown, path: string, keySeparator?: string | false) => unknown;
20
20
  //#endregion
21
- export { navigatePath };
22
21
  //# sourceMappingURL=navigatePath.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"navigatePath.d.ts","names":[],"sources":["../../../src/messageFormat/navigatePath.ts"],"mappings":";;;;;;;;;;;;;;;;;;cAiBa,eAAY,uBACF,cACT"}
1
+ {"version":3,"file":"navigatePath.d.ts","names":[],"sources":["../../../src/messageFormat/navigatePath.ts"],"mappings":";;;;;;;;;;;;;;;;;;qBAiBa,eAAY,uBACF,cACT"}
@@ -1,14 +1,13 @@
1
1
  import { JsonValue } from "./ICU.js";
2
2
  import { Dictionary } from "@intlayer/types/dictionary";
3
3
  //#region src/messageFormat/po.d.ts
4
- type PortableObject = {
4
+ export type PortableObject = {
5
5
  msgid: string;
6
6
  msgctxt?: string;
7
7
  msgid_plural?: string;
8
8
  msgstr: string[];
9
9
  };
10
- declare const intlayerToPortableObjectFormatter: (dictionary: Dictionary['content']) => JsonValue;
11
- declare const portableObjectToIntlayerFormatter: (message: JsonValue) => Dictionary['content'];
10
+ export declare const intlayerToPortableObjectFormatter: (dictionary: Dictionary['content']) => JsonValue;
11
+ export declare const portableObjectToIntlayerFormatter: (message: JsonValue) => Dictionary['content'];
12
12
  //#endregion
13
- export { PortableObject, intlayerToPortableObjectFormatter, portableObjectToIntlayerFormatter };
14
13
  //# sourceMappingURL=po.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"po.d.ts","names":[],"sources":["../../../src/messageFormat/po.ts"],"mappings":";;;KAMY;EACV;EACA;EACA;EACA;;cAgPW,oCAAiC,YAChC,0BACX;cAQU,oCAAiC,SACnC,cACR"}
1
+ {"version":3,"file":"po.d.ts","names":[],"sources":["../../../src/messageFormat/po.ts"],"mappings":";;;YAMY;EACV;EACA;EACA;EACA;;qBAgPW,oCAAiC,YAChC,0BACX;qBAQU,oCAAiC,SACnC,cACR"}
@@ -13,9 +13,9 @@ import { LocalesValues } from "@intlayer/types/module_augmentation";
13
13
  * (`@intlayer/i18next`, `@intlayer/next-intl`, `@intlayer/vue-i18n`, …).
14
14
  */
15
15
  /** Message syntax dialect of the source i18n library. */
16
- type MessageFormatDialect = 'icu' | 'i18next' | 'vue-i18n';
16
+ export type MessageFormatDialect = 'icu' | 'i18next' | 'vue-i18n';
17
17
  /** Interpolation values passed alongside a translation lookup. */
18
- type MessageValues = Record<string, unknown>;
18
+ export type MessageValues = Record<string, unknown>;
19
19
  /**
20
20
  * Interpolates a message template with values.
21
21
  *
@@ -24,7 +24,7 @@ type MessageValues = Record<string, unknown>;
24
24
  * 2. ICU formatted arguments `{value, number}` / `{ts, date, long}`
25
25
  * 3. Bare single-brace arguments `{name}` (ICU / vue-i18n simple args)
26
26
  */
27
- declare const interpolateMessage: (template: string, values?: MessageValues, locale?: LocalesValues) => string;
27
+ export declare const interpolateMessage: (template: string, values?: MessageValues, locale?: LocalesValues) => string;
28
28
  /**
29
29
  * Resolves an intlayer message node tree (as produced by the
30
30
  * `*ToIntlayerFormatter` converters, or already present in a built
@@ -33,7 +33,7 @@ declare const interpolateMessage: (template: string, values?: MessageValues, loc
33
33
  * Function nodes (produced by the interpreter plugins for `insertion`,
34
34
  * `enumeration` and `plural` content) are invoked with the values.
35
35
  */
36
- declare const resolveMessageNode: (node: unknown, values?: MessageValues, locale?: LocalesValues) => unknown;
36
+ export declare const resolveMessageNode: (node: unknown, values?: MessageValues, locale?: LocalesValues) => unknown;
37
37
  /**
38
38
  * Resolves a raw message — string in a library dialect, or an intlayer node
39
39
  * tree — into a final string using interpolation values and locale.
@@ -52,9 +52,9 @@ declare const resolveMessageNode: (node: unknown, values?: MessageValues, locale
52
52
  * // '3 items'
53
53
  * ```
54
54
  */
55
- declare const resolveMessage: (message: unknown, values?: MessageValues, locale?: LocalesValues, dialect?: MessageFormatDialect) => string;
55
+ export declare const resolveMessage: (message: unknown, values?: MessageValues, locale?: LocalesValues, dialect?: MessageFormatDialect) => string;
56
56
  /** A parsed token of a tagged message: plain text or a tag with children. */
57
- type TaggedMessageToken = string | {
57
+ export type TaggedMessageToken = string | {
58
58
  tag: string;
59
59
  children: TaggedMessageToken[];
60
60
  };
@@ -65,7 +65,6 @@ type TaggedMessageToken = string | {
65
65
  * Used by rich-text renderers (`t.rich`, `<Trans components>`,
66
66
  * `<i18n-t>` slots) to map tags to framework elements.
67
67
  */
68
- declare const parseTaggedMessage: (message: string) => TaggedMessageToken[];
68
+ export declare const parseTaggedMessage: (message: string) => TaggedMessageToken[];
69
69
  //#endregion
70
- export { MessageFormatDialect, MessageValues, TaggedMessageToken, interpolateMessage, parseTaggedMessage, resolveMessage, resolveMessageNode };
71
70
  //# sourceMappingURL=resolveMessage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"resolveMessage.d.ts","names":[],"sources":["../../../src/messageFormat/resolveMessage.ts"],"mappings":";;;;;;;;;;;;;;;KAyBY;;KAGA,gBAAgB;;;;;;;;;cAsFf,qBAAkB,kBACb,SACR,eAAa,SACb;;;;;;;;;cAkCG,qBAAkB,eAChB,SACL,eAAa,SACb;;;;;;;;;;;;;;;;;;;cA2JG,iBAAc,kBACT,SACR,eAAa,SACb,eAAa,UACZ;;KAaC;EAEN;EAAa,UAAU;;;;;;;;;cAShB,qBAAkB,oBAAsB"}
1
+ {"version":3,"file":"resolveMessage.d.ts","names":[],"sources":["../../../src/messageFormat/resolveMessage.ts"],"mappings":";;;;;;;;;;;;;;;YAyBY;;YAGA,gBAAgB;;;;;;;;;qBAsFf,qBAAkB,kBACb,SACR,eAAa,SACb;;;;;;;;;qBAkCG,qBAAkB,eAChB,SACL,eAAa,SACb;;;;;;;;;;;;;;;;;;;qBA2JG,iBAAc,kBACT,SACR,eAAa,SACb,eAAa,UACZ;;YAaC;EAEN;EAAa,UAAU;;;;;;;;;qBAShB,qBAAkB,oBAAsB"}
@@ -1,8 +1,7 @@
1
1
  import { JsonValue } from "./ICU.js";
2
2
  import { Dictionary } from "@intlayer/types/dictionary";
3
3
  //#region src/messageFormat/vue-i18n.d.ts
4
- declare const intlayerToVueI18nFormatter: (message: Dictionary['content']) => JsonValue;
5
- declare const vueI18nToIntlayerFormatter: (message: JsonValue) => Dictionary['content'];
4
+ export declare const intlayerToVueI18nFormatter: (message: Dictionary['content']) => JsonValue;
5
+ export declare const vueI18nToIntlayerFormatter: (message: JsonValue) => Dictionary['content'];
6
6
  //#endregion
7
- export { intlayerToVueI18nFormatter, vueI18nToIntlayerFormatter };
8
7
  //# sourceMappingURL=vue-i18n.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"vue-i18n.d.ts","names":[],"sources":["../../../src/messageFormat/vue-i18n.ts"],"mappings":";;;cAoVa,6BAA0B,SAC5B,0BACR;cAQU,6BAA0B,SAC5B,cACR"}
1
+ {"version":3,"file":"vue-i18n.d.ts","names":[],"sources":["../../../src/messageFormat/vue-i18n.ts"],"mappings":";;;qBAoVa,6BAA0B,SAC5B,0BACR;qBAQU,6BAA0B,SAC5B,cACR"}
@@ -1,9 +1,9 @@
1
1
  import { CONDITION, TypedNodeModel } from "@intlayer/types/nodeType";
2
2
  //#region src/transpiler/condition/condition.d.ts
3
- type ConditionContentStates<Content> = Record<`${boolean}`, Content> & {
3
+ export type ConditionContentStates<Content> = Record<`${boolean}`, Content> & {
4
4
  fallback?: Content;
5
5
  };
6
- type ConditionContent<Content = unknown> = TypedNodeModel<typeof CONDITION, ConditionContentStates<Content>>;
6
+ export type ConditionContent<Content = unknown> = TypedNodeModel<typeof CONDITION, ConditionContentStates<Content>>;
7
7
  /**
8
8
  * Function intended to be used to build intlayer dictionaries.
9
9
  *
@@ -23,5 +23,5 @@ type ConditionContent<Content = unknown> = TypedNodeModel<typeof CONDITION, Cond
23
23
  */
24
24
  declare const condition: <Content>(content?: ConditionContentStates<Content>) => ConditionContent<Content>;
25
25
  //#endregion
26
- export { ConditionContent, ConditionContentStates, condition as cond };
26
+ export { condition as cond };
27
27
  //# sourceMappingURL=condition.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"condition.d.ts","names":[],"sources":["../../../../src/transpiler/condition/condition.ts"],"mappings":";;KAGY,uBAAuB,WAAW,qBAAqB;EACjE,WAAW;;KAGD,iBAAiB,qBAAqB,sBACzC,WACP,uBAAuB;;;;;;;;;;;;;;;;;;cAoBnB,YAAa,SAAO,UACd,uBAAuB,aAChC,iBAAiB"}
1
+ {"version":3,"file":"condition.d.ts","names":[],"sources":["../../../../src/transpiler/condition/condition.ts"],"mappings":";;YAGY,uBAAuB,WAAW,qBAAqB;EACjE,WAAW;;YAGD,iBAAiB,qBAAqB,sBACzC,WACP,uBAAuB;;;;;;;;;;;;;;;;;;cAoBnB,YAAa,SAAO,UACd,uBAAuB,aAChC,iBAAiB"}
@@ -9,11 +9,11 @@ type Superior = `>${Numbers}`;
9
9
  type SuperiorOrEqual = `>=${Numbers}`;
10
10
  type Inferior = `<${Numbers}`;
11
11
  type InferiorOrEqual = `<=${Numbers}`;
12
- type EnterFormat = Equal | EqualString | Superior | SuperiorOrEqual | Inferior | InferiorOrEqual;
13
- type EnumerationContentState<Content> = Partial<Record<EnterFormat, Content>> & {
12
+ export type EnterFormat = Equal | EqualString | Superior | SuperiorOrEqual | Inferior | InferiorOrEqual;
13
+ export type EnumerationContentState<Content> = Partial<Record<EnterFormat, Content>> & {
14
14
  fallback?: Content;
15
15
  };
16
- type EnumerationContent<Content = unknown> = TypedNodeModel<typeof ENUMERATION, EnumerationContentState<Content>>;
16
+ export type EnumerationContent<Content = unknown> = TypedNodeModel<typeof ENUMERATION, EnumerationContentState<Content>>;
17
17
  /**
18
18
  * Function intended to be used to build intlayer dictionaries.
19
19
  *
@@ -35,5 +35,5 @@ type EnumerationContent<Content = unknown> = TypedNodeModel<typeof ENUMERATION,
35
35
  */
36
36
  declare const enumeration: <Content = unknown>(content?: EnumerationContentState<Content>) => EnumerationContent<Content>;
37
37
  //#endregion
38
- export { EnterFormat, EnumerationContent, EnumerationContentState, enumeration as enu };
38
+ export { enumeration as enu };
39
39
  //# sourceMappingURL=enumeration.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"enumeration.d.ts","names":[],"sources":["../../../../src/transpiler/enumeration/enumeration.ts"],"mappings":";;KAGK;KACA;KACA,UAAU,WAAW;KAErB,QAAQ;KACR,kBAAkB;KAClB,eAAe;KACf,uBAAuB;KACvB,eAAe;KACf,uBAAuB;KAEhB,cACR,QACA,cACA,WACA,kBACA,WACA;KAEQ,wBAAwB,WAAW,QAC7C,OAAO,aAAa;EAEpB,WAAW;;KAGD,mBAAmB,qBAAqB,sBAC3C,aACP,wBAAwB;;;;;;;;;;;;;;;;;;;;cAsBpB,cAAe,mBAAiB,UAC1B,wBAAwB,aACjC,mBAAmB"}
1
+ {"version":3,"file":"enumeration.d.ts","names":[],"sources":["../../../../src/transpiler/enumeration/enumeration.ts"],"mappings":";;KAGK;KACA;KACA,UAAU,WAAW;KAErB,QAAQ;KACR,kBAAkB;KAClB,eAAe;KACf,uBAAuB;KACvB,eAAe;KACf,uBAAuB;YAEhB,cACR,QACA,cACA,WACA,kBACA,WACA;YAEQ,wBAAwB,WAAW,QAC7C,OAAO,aAAa;EAEpB,WAAW;;YAGD,mBAAmB,qBAAqB,sBAC3C,aACP,wBAAwB;;;;;;;;;;;;;;;;;;;;cAsBpB,cAAe,mBAAiB,UAC1B,wBAAwB,aACjC,mBAAmB"}
@@ -1,11 +1,11 @@
1
1
  import { FILE, TypedNodeModel } from "@intlayer/types/nodeType";
2
2
  //#region src/transpiler/file/file.d.ts
3
- type FileContentConstructor<T extends Record<string, any> = {}> = TypedNodeModel<typeof FILE, string, T>;
4
- type FileContent = FileContentConstructor<{
3
+ export type FileContentConstructor<T extends Record<string, any> = {}> = TypedNodeModel<typeof FILE, string, T>;
4
+ export type FileContent = FileContentConstructor<{
5
5
  content: string;
6
6
  fixedPath?: string;
7
7
  }>;
8
- declare const fileContent: (path: string, callerDir: string, baseDir: string) => FileContent;
8
+ export declare const fileContent: (path: string, callerDir: string, baseDir: string) => FileContent;
9
9
  /**
10
10
  * Function intended to be used to build intlayer dictionaries.
11
11
  *
@@ -21,7 +21,6 @@ declare const fileContent: (path: string, callerDir: string, baseDir: string) =>
21
21
  * file('path/to/file.md') // relative path
22
22
  * ```
23
23
  */
24
- declare const file: (path: string) => FileContent;
24
+ export declare const file: (path: string) => FileContent;
25
25
  //#endregion
26
- export { FileContent, FileContentConstructor, file, fileContent };
27
26
  //# sourceMappingURL=file.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"file.d.ts","names":[],"sources":["../../../../src/transpiler/file/file.ts"],"mappings":";;KAMY,uBAAuB,UAAU,4BAC3C,sBAAsB,cAAc;KAE1B,cAAc;EACxB;EACA;;cAGW,cAAW,cACV,mBACK,oBAEhB;;;;;;;;;;;;;;;;cAyDU,OAAI,iBAAmB"}
1
+ {"version":3,"file":"file.d.ts","names":[],"sources":["../../../../src/transpiler/file/file.ts"],"mappings":";;YAMY,uBAAuB,UAAU,4BAC3C,sBAAsB,cAAc;YAE1B,cAAc;EACxB;EACA;;qBAGW,cAAW,cACV,mBACK,oBAEhB;;;;;;;;;;;;;;;;qBAyDU,OAAI,iBAAmB"}
@@ -15,7 +15,6 @@ import { FileContent } from "./file.js";
15
15
  * file('path/to/file.md') // relative path
16
16
  * ```
17
17
  */
18
- declare const file: (_path: string) => FileContent;
18
+ export declare const file: (_path: string) => FileContent;
19
19
  //#endregion
20
- export { file };
21
20
  //# sourceMappingURL=fileBrowser.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fileBrowser.d.ts","names":[],"sources":["../../../../src/transpiler/file/fileBrowser.ts"],"mappings":";;;;;;;;;;;;;;;;;cAiBa,OAAI,kBAAoB"}
1
+ {"version":3,"file":"fileBrowser.d.ts","names":[],"sources":["../../../../src/transpiler/file/fileBrowser.ts"],"mappings":";;;;;;;;;;;;;;;;;qBAiBa,OAAI,kBAAoB"}
@@ -1,10 +1,10 @@
1
1
  import { GENDER, TypedNodeModel } from "@intlayer/types/nodeType";
2
2
  //#region src/transpiler/gender/gender.d.ts
3
- type Gender = 'male' | 'female' | 'fallback';
4
- type GenderContentStates<Content> = Record<`${Gender}`, Content> & {
3
+ export type Gender = 'male' | 'female' | 'fallback';
4
+ export type GenderContentStates<Content> = Record<`${Gender}`, Content> & {
5
5
  fallback?: Content;
6
6
  };
7
- type GenderContent<Content = unknown> = TypedNodeModel<typeof GENDER, GenderContentStates<Content>>;
7
+ export type GenderContent<Content = unknown> = TypedNodeModel<typeof GENDER, GenderContentStates<Content>>;
8
8
  /**
9
9
  * Function intended to be used to build intlayer dictionaries.
10
10
  *
@@ -24,5 +24,5 @@ type GenderContent<Content = unknown> = TypedNodeModel<typeof GENDER, GenderCont
24
24
  */
25
25
  declare const gender: <Content>(content?: GenderContentStates<Content>) => GenderContent<Content>;
26
26
  //#endregion
27
- export { Gender, GenderContent, GenderContentStates, gender };
27
+ export { gender };
28
28
  //# sourceMappingURL=gender.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"gender.d.ts","names":[],"sources":["../../../../src/transpiler/gender/gender.ts"],"mappings":";;KAGY;KAEA,oBAAoB,WAAW,UAAU,UAAU;EAC7D,WAAW;;KAGD,cAAc,qBAAqB,sBACtC,QACP,oBAAoB;;;;;;;;;;;;;;;;;;cAoBhB,SAAU,SAAO,UACX,oBAAoB,aAC7B,cAAc"}
1
+ {"version":3,"file":"gender.d.ts","names":[],"sources":["../../../../src/transpiler/gender/gender.ts"],"mappings":";;YAGY;YAEA,oBAAoB,WAAW,UAAU,UAAU;EAC7D,WAAW;;YAGD,cAAc,qBAAqB,sBACtC,QACP,oBAAoB;;;;;;;;;;;;;;;;;;cAoBhB,SAAU,SAAO,UACX,oBAAoB,aAC7B,cAAc"}
@@ -4,7 +4,6 @@
4
4
  * - Standard HTML tags are set to `true`.
5
5
  * - Custom components are parsed to extract their attributes/props.
6
6
  */
7
- declare const getHTMLCustomComponents: (content: string) => Record<string, Record<string, string> | true>;
7
+ export declare const getHTMLCustomComponents: (content: string) => Record<string, Record<string, string> | true>;
8
8
  //#endregion
9
- export { getHTMLCustomComponents };
10
9
  //# sourceMappingURL=getHTMLCustomComponents.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getHTMLCustomComponents.d.ts","names":[],"sources":["../../../../src/transpiler/html/getHTMLCustomComponents.ts"],"mappings":";;;;;;cA2Ba,0BAAuB,oBAEjC,eAAe"}
1
+ {"version":3,"file":"getHTMLCustomComponents.d.ts","names":[],"sources":["../../../../src/transpiler/html/getHTMLCustomComponents.ts"],"mappings":";;;;;;qBA2Ba,0BAAuB,oBAEjC,eAAe"}
@@ -2,8 +2,8 @@ import { HTML, TypedNodeModel } from "@intlayer/types/nodeType";
2
2
  //#region src/transpiler/html/html.d.ts
3
3
  type PropsType = 'number' | 'string' | 'node';
4
4
  type ComponentName = string;
5
- type HTMLContentConstructor<Content = unknown, T extends Record<string, any> = {}> = TypedNodeModel<typeof HTML, Content, T>;
6
- type HTMLContent<Content = unknown, Components extends Record<ComponentName, PropsType> = Record<ComponentName, PropsType>> = HTMLContentConstructor<Content, {
5
+ export type HTMLContentConstructor<Content = unknown, T extends Record<string, any> = {}> = TypedNodeModel<typeof HTML, Content, T>;
6
+ export type HTMLContent<Content = unknown, Components extends Record<ComponentName, PropsType> = Record<ComponentName, PropsType>> = HTMLContentConstructor<Content, {
7
7
  tags: string[] | Components;
8
8
  }>;
9
9
  /**
@@ -18,7 +18,6 @@ type HTMLContent<Content = unknown, Components extends Record<ComponentName, Pro
18
18
  * ```
19
19
  *
20
20
  */
21
- declare const html: <Components extends Record<string, any> = Record<string, any>, Content = unknown>(content: Content, components?: Components) => HTMLContent<Content, Components>;
21
+ export declare const html: <Components extends Record<string, any> = Record<string, any>, Content = unknown>(content: Content, components?: Components) => HTMLContent<Content, Components>;
22
22
  //#endregion
23
- export { HTMLContent, HTMLContentConstructor, html };
24
23
  //# sourceMappingURL=html.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"html.d.ts","names":[],"sources":["../../../../src/transpiler/html/html.ts"],"mappings":";;KAKK;KAEA;KAEO,uBACV,mBACA,UAAU,4BACR,sBAAsB,MAAM,SAAS;KAE7B,YACV,mBACA,mBAAmB,OAAO,eAAe,aAAa,OACpD,eACA,cAEA,uBACF;EAEE,iBAAiB;;;;;;;;;;;;;;cAgBR,OACX,mBAAmB,sBAAsB,qBACzC,mBAAiB,SAER,SAAO,aACH,eACZ,YAAY,SAAS"}
1
+ {"version":3,"file":"html.d.ts","names":[],"sources":["../../../../src/transpiler/html/html.ts"],"mappings":";;KAKK;KAEA;YAEO,uBACV,mBACA,UAAU,4BACR,sBAAsB,MAAM,SAAS;YAE7B,YACV,mBACA,mBAAmB,OAAO,eAAe,aAAa,OACpD,eACA,cAEA,uBACF;EAEE,iBAAiB;;;;;;;;;;;;;;qBAgBR,OACX,mBAAmB,sBAAsB,qBACzC,mBAAiB,SAER,SAAO,aACH,eACZ,YAAY,SAAS"}
@@ -7,8 +7,8 @@
7
7
  * Used by framework-specific plugins (react-intlayer, vue-intlayer, etc.)
8
8
  * to create default HTML tag components.
9
9
  */
10
- declare const HTML_TAGS: readonly ['html', 'head', 'body', 'main', 'header', 'footer', 'nav', 'aside', 'article', 'section', 'div', 'span', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'p', 'a', 'strong', 'b', 'em', 'i', 'u', 's', 'del', 'ins', 'mark', 'small', 'sub', 'sup', 'code', 'pre', 'blockquote', 'q', 'cite', 'abbr', 'address', 'time', 'kbd', 'samp', 'var', 'ul', 'ol', 'li', 'dl', 'dt', 'dd', 'table', 'thead', 'tbody', 'tfoot', 'tr', 'th', 'td', 'caption', 'colgroup', 'col', 'form', 'input', 'textarea', 'button', 'select', 'option', 'optgroup', 'label', 'fieldset', 'legend', 'datalist', 'output', 'progress', 'meter', 'img', 'video', 'audio', 'source', 'track', 'picture', 'figure', 'figcaption', 'iframe', 'embed', 'object', 'canvas', 'svg', 'details', 'summary', 'dialog', 'br', 'hr', 'wbr', 'ruby', 'rt', 'rp', 'bdi', 'bdo', 'data', 'template', 'slot'];
11
- type HTMLTagsType = {
10
+ export declare const HTML_TAGS: readonly ['html', 'head', 'body', 'main', 'header', 'footer', 'nav', 'aside', 'article', 'section', 'div', 'span', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'p', 'a', 'strong', 'b', 'em', 'i', 'u', 's', 'del', 'ins', 'mark', 'small', 'sub', 'sup', 'code', 'pre', 'blockquote', 'q', 'cite', 'abbr', 'address', 'time', 'kbd', 'samp', 'var', 'ul', 'ol', 'li', 'dl', 'dt', 'dd', 'table', 'thead', 'tbody', 'tfoot', 'tr', 'th', 'td', 'caption', 'colgroup', 'col', 'form', 'input', 'textarea', 'button', 'select', 'option', 'optgroup', 'label', 'fieldset', 'legend', 'datalist', 'output', 'progress', 'meter', 'img', 'video', 'audio', 'source', 'track', 'picture', 'figure', 'figcaption', 'iframe', 'embed', 'object', 'canvas', 'svg', 'details', 'summary', 'dialog', 'br', 'hr', 'wbr', 'ruby', 'rt', 'rp', 'bdi', 'bdo', 'data', 'template', 'slot'];
11
+ export type HTMLTagsType = {
12
12
  html: HTMLHtmlElement;
13
13
  head: HTMLHeadElement;
14
14
  body: HTMLBodyElement;
@@ -111,5 +111,4 @@ type HTMLTagsType = {
111
111
  slot: HTMLSlotElement;
112
112
  };
113
113
  //#endregion
114
- export { HTMLTagsType, HTML_TAGS };
115
114
  //# sourceMappingURL=htmlTags.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"htmlTags.d.ts","names":[],"sources":["../../../../src/transpiler/html/htmlTags.ts"],"mappings":";;;;;;;;;cAQa;KAgHD;EAEV,MAAM;EACN,MAAM;EACN,MAAM;EACN,MAAM;EACN,QAAQ;EACR,QAAQ;EACR,KAAK;EACL,OAAO;EACP,SAAS;EACT,SAAS;EACT,KAAK;EACL,MAAM;EAGN,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EAGJ,GAAG;EACH,GAAG;EACH,QAAQ;EACR,GAAG;EACH,IAAI;EACJ,GAAG;EACH,GAAG;EACH,GAAG;EACH,KAAK;EACL,KAAK;EACL,MAAM;EACN,OAAO;EACP,KAAK;EACL,KAAK;EACL,MAAM;EACN,KAAK;EACL,YAAY;EACZ,GAAG;EACH,MAAM;EACN,MAAM;EACN,SAAS;EACT,MAAM;EACN,KAAK;EACL,MAAM;EACN,KAAK;EAGL,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EAGJ,OAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;EACP,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,SAAS;EACT,UAAU;EACV,KAAK;EAGL,MAAM;EACN,OAAO;EACP,UAAU;EACV,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,UAAU;EACV,OAAO;EACP,UAAU;EACV,QAAQ;EACR,UAAU;EACV,QAAQ;EACR,UAAU;EACV,OAAO;EAGP,KAAK;EACL,OAAO;EACP,OAAO;EACP,QAAQ;EACR,OAAO;EACP,SAAS;EACT,QAAQ;EACR,YAAY;EACZ,QAAQ;EACR,OAAO;EACP,QAAQ;EACR,QAAQ;EACR,KAAK;EAGL,SAAS;EACT,SAAS;EACT,QAAQ;EAGR,IAAI;EACJ,IAAI;EACJ,KAAK;EACL,MAAM;EACN,IAAI;EACJ,IAAI;EACJ,KAAK;EACL,KAAK;EACL,MAAM;EACN,UAAU;EACV,MAAM"}
1
+ {"version":3,"file":"htmlTags.d.ts","names":[],"sources":["../../../../src/transpiler/html/htmlTags.ts"],"mappings":";;;;;;;;;qBAQa;YAgHD;EAEV,MAAM;EACN,MAAM;EACN,MAAM;EACN,MAAM;EACN,QAAQ;EACR,QAAQ;EACR,KAAK;EACL,OAAO;EACP,SAAS;EACT,SAAS;EACT,KAAK;EACL,MAAM;EAGN,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EAGJ,GAAG;EACH,GAAG;EACH,QAAQ;EACR,GAAG;EACH,IAAI;EACJ,GAAG;EACH,GAAG;EACH,GAAG;EACH,KAAK;EACL,KAAK;EACL,MAAM;EACN,OAAO;EACP,KAAK;EACL,KAAK;EACL,MAAM;EACN,KAAK;EACL,YAAY;EACZ,GAAG;EACH,MAAM;EACN,MAAM;EACN,SAAS;EACT,MAAM;EACN,KAAK;EACL,MAAM;EACN,KAAK;EAGL,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EAGJ,OAAO;EACP,OAAO;EACP,OAAO;EACP,OAAO;EACP,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,SAAS;EACT,UAAU;EACV,KAAK;EAGL,MAAM;EACN,OAAO;EACP,UAAU;EACV,QAAQ;EACR,QAAQ;EACR,QAAQ;EACR,UAAU;EACV,OAAO;EACP,UAAU;EACV,QAAQ;EACR,UAAU;EACV,QAAQ;EACR,UAAU;EACV,OAAO;EAGP,KAAK;EACL,OAAO;EACP,OAAO;EACP,QAAQ;EACR,OAAO;EACP,SAAS;EACT,QAAQ;EACR,YAAY;EACZ,QAAQ;EACR,OAAO;EACP,QAAQ;EACR,QAAQ;EACR,KAAK;EAGL,SAAS;EACT,SAAS;EACT,QAAQ;EAGR,IAAI;EACJ,IAAI;EACJ,KAAK;EACL,MAAM;EACN,IAAI;EACJ,IAAI;EACJ,KAAK;EACL,KAAK;EACL,MAAM;EACN,UAAU;EACV,MAAM"}
@@ -1,10 +1,10 @@
1
1
  //#region src/transpiler/html/validateHTML.d.ts
2
- declare const VOID_HTML_ELEMENTS: Set<string>;
3
- type HTMLValidationIssue = {
2
+ export declare const VOID_HTML_ELEMENTS: Set<string>;
3
+ export type HTMLValidationIssue = {
4
4
  type: 'error' | 'warning';
5
5
  message: string;
6
6
  };
7
- type HTMLValidationResult = {
7
+ export type HTMLValidationResult = {
8
8
  valid: boolean;
9
9
  issues: HTMLValidationIssue[];
10
10
  };
@@ -15,7 +15,6 @@ type HTMLValidationResult = {
15
15
  * False-positive exclusions:
16
16
  * - Tags whose attribute string starts with `://` are URL autolinks (e.g. `<https://…>`).
17
17
  */
18
- declare const validateHTML: (content: string) => HTMLValidationResult;
18
+ export declare const validateHTML: (content: string) => HTMLValidationResult;
19
19
  //#endregion
20
- export { HTMLValidationIssue, HTMLValidationResult, VOID_HTML_ELEMENTS, validateHTML };
21
20
  //# sourceMappingURL=validateHTML.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"validateHTML.d.ts","names":[],"sources":["../../../../src/transpiler/html/validateHTML.ts"],"mappings":";cAAa,oBAAkB;KAgBnB;EACV;EACA;;KAGU;EACV;EACA,QAAQ;;;;;;;;;cAiBG,eAAY,oBAAsB"}
1
+ {"version":3,"file":"validateHTML.d.ts","names":[],"sources":["../../../../src/transpiler/html/validateHTML.ts"],"mappings":";qBAAa,oBAAkB;YAgBnB;EACV;EACA;;YAGU;EACV;EACA,QAAQ;;;;;;;;;qBAiBG,eAAY,oBAAsB"}
@@ -1,5 +1,4 @@
1
1
  //#region src/transpiler/insertion/getInsertionValues.d.ts
2
- declare const getInsertionValues: (content: string) => string[];
2
+ export declare const getInsertionValues: (content: string) => string[];
3
3
  //#endregion
4
- export { getInsertionValues };
5
4
  //# sourceMappingURL=getInsertionValues.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getInsertionValues.d.ts","names":[],"sources":["../../../../src/transpiler/insertion/getInsertionValues.ts"],"mappings":";cAAa,qBAAkB"}
1
+ {"version":3,"file":"getInsertionValues.d.ts","names":[],"sources":["../../../../src/transpiler/insertion/getInsertionValues.ts"],"mappings":";qBAAa,qBAAkB"}
@@ -1,7 +1,7 @@
1
1
  import { INSERTION, TypedNodeModel } from "@intlayer/types/nodeType";
2
2
  //#region src/transpiler/insertion/insertion.d.ts
3
- type InsertionContentConstructor<Content = unknown, T extends Record<string, any> = {}> = TypedNodeModel<typeof INSERTION, Content, T>;
4
- type InsertionContent<Content = unknown> = InsertionContentConstructor<Content, {
3
+ export type InsertionContentConstructor<Content = unknown, T extends Record<string, any> = {}> = TypedNodeModel<typeof INSERTION, Content, T>;
4
+ export type InsertionContent<Content = unknown> = InsertionContentConstructor<Content, {
5
5
  fields: string[];
6
6
  }>;
7
7
  /**
@@ -18,5 +18,5 @@ type InsertionContent<Content = unknown> = InsertionContentConstructor<Content,
18
18
  */
19
19
  declare const insertion: <Content = unknown>(content: Content) => InsertionContent<Content>;
20
20
  //#endregion
21
- export { InsertionContent, InsertionContentConstructor, insertion as insert };
21
+ export { insertion as insert };
22
22
  //# sourceMappingURL=insertion.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"insertion.d.ts","names":[],"sources":["../../../../src/transpiler/insertion/insertion.ts"],"mappings":";;KAIY,4BACV,mBACA,UAAU,4BACR,sBAAsB,WAAW,SAAS;KAElC,iBAAiB,qBAAqB,4BAChD;EAEE;;;;;;;;;;;;;;cAgBE,YAAa,mBAAiB,SACzB,YACR,iBAAiB"}
1
+ {"version":3,"file":"insertion.d.ts","names":[],"sources":["../../../../src/transpiler/insertion/insertion.ts"],"mappings":";;YAIY,4BACV,mBACA,UAAU,4BACR,sBAAsB,WAAW,SAAS;YAElC,iBAAiB,qBAAqB,4BAChD;EAEE;;;;;;;;;;;;;;cAgBE,YAAa,mBAAiB,SACzB,YACR,iBAAiB"}
@@ -1,5 +1,4 @@
1
1
  //#region src/transpiler/markdown/getMarkdownMetadata.d.ts
2
- declare const getMarkdownMetadata: <T extends Record<string, any>>(markdown: string) => T;
2
+ export declare const getMarkdownMetadata: <T extends Record<string, any>>(markdown: string) => T;
3
3
  //#endregion
4
- export { getMarkdownMetadata };
5
4
  //# sourceMappingURL=getMarkdownMetadata.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getMarkdownMetadata.d.ts","names":[],"sources":["../../../../src/transpiler/markdown/getMarkdownMetadata.ts"],"mappings":";cAEa,sBAAuB,UAAU,qBAAmB,qBAE9D"}
1
+ {"version":3,"file":"getMarkdownMetadata.d.ts","names":[],"sources":["../../../../src/transpiler/markdown/getMarkdownMetadata.ts"],"mappings":";qBAEa,sBAAuB,UAAU,qBAAmB,qBAE9D"}