@intlayer/core 9.4.3 → 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 (285) 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/interpreter/getPlural.d.ts +1 -1
  4. package/dist/types/deepTransformPlugins/getEditedContent.d.ts +2 -3
  5. package/dist/types/deepTransformPlugins/getEditedContent.d.ts.map +1 -1
  6. package/dist/types/deepTransformPlugins/getFilterMissingTranslationsContent.d.ts +3 -4
  7. package/dist/types/deepTransformPlugins/getFilterMissingTranslationsContent.d.ts.map +1 -1
  8. package/dist/types/deepTransformPlugins/getFilterTranslationsOnlyContent.d.ts +3 -4
  9. package/dist/types/deepTransformPlugins/getFilterTranslationsOnlyContent.d.ts.map +1 -1
  10. package/dist/types/deepTransformPlugins/getFilteredLocalesContent.d.ts +2 -3
  11. package/dist/types/deepTransformPlugins/getFilteredLocalesContent.d.ts.map +1 -1
  12. package/dist/types/deepTransformPlugins/getLocalizedContent.d.ts +2 -3
  13. package/dist/types/deepTransformPlugins/getLocalizedContent.d.ts.map +1 -1
  14. package/dist/types/deepTransformPlugins/getMaskContent.d.ts +2 -3
  15. package/dist/types/deepTransformPlugins/getMaskContent.d.ts.map +1 -1
  16. package/dist/types/deepTransformPlugins/getMissingLocalesContent.d.ts +3 -4
  17. package/dist/types/deepTransformPlugins/getMissingLocalesContent.d.ts.map +1 -1
  18. package/dist/types/deepTransformPlugins/getMultilingualDictionary.d.ts +1 -2
  19. package/dist/types/deepTransformPlugins/getMultilingualDictionary.d.ts.map +1 -1
  20. package/dist/types/deepTransformPlugins/getReplacedValuesContent.d.ts +1 -2
  21. package/dist/types/deepTransformPlugins/getReplacedValuesContent.d.ts.map +1 -1
  22. package/dist/types/deepTransformPlugins/getSplittedContent.d.ts +2 -3
  23. package/dist/types/deepTransformPlugins/getSplittedContent.d.ts.map +1 -1
  24. package/dist/types/deepTransformPlugins/insertContentInDictionary.d.ts +1 -2
  25. package/dist/types/deepTransformPlugins/insertContentInDictionary.d.ts.map +1 -1
  26. package/dist/types/dictionaryManipulator/editDictionaryByKeyPath.d.ts +1 -2
  27. package/dist/types/dictionaryManipulator/editDictionaryByKeyPath.d.ts.map +1 -1
  28. package/dist/types/dictionaryManipulator/getContentNodeByKeyPath.d.ts +1 -2
  29. package/dist/types/dictionaryManipulator/getContentNodeByKeyPath.d.ts.map +1 -1
  30. package/dist/types/dictionaryManipulator/getDefaultNode.d.ts +1 -2
  31. package/dist/types/dictionaryManipulator/getDefaultNode.d.ts.map +1 -1
  32. package/dist/types/dictionaryManipulator/getEmptyNode.d.ts +1 -2
  33. package/dist/types/dictionaryManipulator/getEmptyNode.d.ts.map +1 -1
  34. package/dist/types/dictionaryManipulator/getNestedDictionaryReferences.d.ts +4 -5
  35. package/dist/types/dictionaryManipulator/getNestedDictionaryReferences.d.ts.map +1 -1
  36. package/dist/types/dictionaryManipulator/getNodeChildren.d.ts +1 -2
  37. package/dist/types/dictionaryManipulator/getNodeChildren.d.ts.map +1 -1
  38. package/dist/types/dictionaryManipulator/getNodeType.d.ts +1 -2
  39. package/dist/types/dictionaryManipulator/getNodeType.d.ts.map +1 -1
  40. package/dist/types/dictionaryManipulator/mergeDictionaries.d.ts +1 -2
  41. package/dist/types/dictionaryManipulator/mergeDictionaries.d.ts.map +1 -1
  42. package/dist/types/dictionaryManipulator/mergeQualifiedDictionaries.d.ts +1 -2
  43. package/dist/types/dictionaryManipulator/mergeQualifiedDictionaries.d.ts.map +1 -1
  44. package/dist/types/dictionaryManipulator/normalizeDictionary.d.ts +2 -3
  45. package/dist/types/dictionaryManipulator/normalizeDictionary.d.ts.map +1 -1
  46. package/dist/types/dictionaryManipulator/orderDictionaries.d.ts +1 -2
  47. package/dist/types/dictionaryManipulator/orderDictionaries.d.ts.map +1 -1
  48. package/dist/types/dictionaryManipulator/plainDynamicLoader.d.ts +4 -5
  49. package/dist/types/dictionaryManipulator/plainDynamicLoader.d.ts.map +1 -1
  50. package/dist/types/dictionaryManipulator/preloadedDynamicLoader.d.ts +4 -4
  51. package/dist/types/dictionaryManipulator/preloadedDynamicLoader.d.ts.map +1 -1
  52. package/dist/types/dictionaryManipulator/qualifiedDictionary.d.ts +12 -13
  53. package/dist/types/dictionaryManipulator/qualifiedDictionary.d.ts.map +1 -1
  54. package/dist/types/dictionaryManipulator/qualifiedDictionaryDeclaration.d.ts +5 -6
  55. package/dist/types/dictionaryManipulator/qualifiedDictionaryDeclaration.d.ts.map +1 -1
  56. package/dist/types/dictionaryManipulator/qualifiedDynamicLoader.d.ts +7 -7
  57. package/dist/types/dictionaryManipulator/qualifiedDynamicLoader.d.ts.map +1 -1
  58. package/dist/types/dictionaryManipulator/removeContentNodeByKeyPath.d.ts +1 -2
  59. package/dist/types/dictionaryManipulator/removeContentNodeByKeyPath.d.ts.map +1 -1
  60. package/dist/types/dictionaryManipulator/renameContentNodeByKeyPath.d.ts +1 -2
  61. package/dist/types/dictionaryManipulator/renameContentNodeByKeyPath.d.ts.map +1 -1
  62. package/dist/types/dictionaryManipulator/updateNodeChildren.d.ts +1 -2
  63. package/dist/types/dictionaryManipulator/updateNodeChildren.d.ts.map +1 -1
  64. package/dist/types/formatters/compact.d.ts +1 -2
  65. package/dist/types/formatters/compact.d.ts.map +1 -1
  66. package/dist/types/formatters/currency.d.ts +1 -2
  67. package/dist/types/formatters/currency.d.ts.map +1 -1
  68. package/dist/types/formatters/date.d.ts +3 -4
  69. package/dist/types/formatters/date.d.ts.map +1 -1
  70. package/dist/types/formatters/index.d.ts +2 -2
  71. package/dist/types/formatters/list.d.ts +2 -3
  72. package/dist/types/formatters/list.d.ts.map +1 -1
  73. package/dist/types/formatters/number.d.ts +1 -2
  74. package/dist/types/formatters/number.d.ts.map +1 -1
  75. package/dist/types/formatters/percentage.d.ts +1 -2
  76. package/dist/types/formatters/percentage.d.ts.map +1 -1
  77. package/dist/types/formatters/relativeTime.d.ts +1 -2
  78. package/dist/types/formatters/relativeTime.d.ts.map +1 -1
  79. package/dist/types/formatters/units.d.ts +1 -2
  80. package/dist/types/formatters/units.d.ts.map +1 -1
  81. package/dist/types/index.d.ts +2 -2
  82. package/dist/types/interpreter/dictionaryTransformCache.d.ts +4 -5
  83. package/dist/types/interpreter/dictionaryTransformCache.d.ts.map +1 -1
  84. package/dist/types/interpreter/getCondition.d.ts +1 -2
  85. package/dist/types/interpreter/getCondition.d.ts.map +1 -1
  86. package/dist/types/interpreter/getContent/deepTransform.d.ts +1 -2
  87. package/dist/types/interpreter/getContent/deepTransform.d.ts.map +1 -1
  88. package/dist/types/interpreter/getContent/getContent.d.ts +2 -3
  89. package/dist/types/interpreter/getContent/getContent.d.ts.map +1 -1
  90. package/dist/types/interpreter/getContent/plugins.d.ts +28 -29
  91. package/dist/types/interpreter/getContent/plugins.d.ts.map +1 -1
  92. package/dist/types/interpreter/getDictionary.d.ts +1 -2
  93. package/dist/types/interpreter/getDictionary.d.ts.map +1 -1
  94. package/dist/types/interpreter/getDictionaryAsync.d.ts +1 -2
  95. package/dist/types/interpreter/getDictionaryAsync.d.ts.map +1 -1
  96. package/dist/types/interpreter/getEnumeration.d.ts +2 -3
  97. package/dist/types/interpreter/getEnumeration.d.ts.map +1 -1
  98. package/dist/types/interpreter/getGender.d.ts +1 -2
  99. package/dist/types/interpreter/getGender.d.ts.map +1 -1
  100. package/dist/types/interpreter/getHTML.d.ts +1 -2
  101. package/dist/types/interpreter/getHTML.d.ts.map +1 -1
  102. package/dist/types/interpreter/getInsertion.d.ts +1 -2
  103. package/dist/types/interpreter/getInsertion.d.ts.map +1 -1
  104. package/dist/types/interpreter/getIntlayer.d.ts +1 -2
  105. package/dist/types/interpreter/getIntlayer.d.ts.map +1 -1
  106. package/dist/types/interpreter/getIntlayerAsync.d.ts +1 -2
  107. package/dist/types/interpreter/getIntlayerAsync.d.ts.map +1 -1
  108. package/dist/types/interpreter/getNesting.d.ts +2 -3
  109. package/dist/types/interpreter/getNesting.d.ts.map +1 -1
  110. package/dist/types/interpreter/getNesting.optimized.d.ts +1 -2
  111. package/dist/types/interpreter/getNesting.optimized.d.ts.map +1 -1
  112. package/dist/types/interpreter/getPlural.d.ts +1 -2
  113. package/dist/types/interpreter/getPlural.d.ts.map +1 -1
  114. package/dist/types/interpreter/getSelect.d.ts +1 -2
  115. package/dist/types/interpreter/getSelect.d.ts.map +1 -1
  116. package/dist/types/interpreter/getTranslation.d.ts +1 -2
  117. package/dist/types/interpreter/getTranslation.d.ts.map +1 -1
  118. package/dist/types/interpreter/interpolableNode.d.ts +5 -6
  119. package/dist/types/interpreter/interpolableNode.d.ts.map +1 -1
  120. package/dist/types/interpreter/splitAndJoinInsertion.d.ts +1 -2
  121. package/dist/types/interpreter/splitAndJoinInsertion.d.ts.map +1 -1
  122. package/dist/types/localization/comparePaths.d.ts +2 -3
  123. package/dist/types/localization/comparePaths.d.ts.map +1 -1
  124. package/dist/types/localization/domainUtils.d.ts +5 -6
  125. package/dist/types/localization/domainUtils.d.ts.map +1 -1
  126. package/dist/types/localization/generateSitemap.d.ts +4 -5
  127. package/dist/types/localization/generateSitemap.d.ts.map +1 -1
  128. package/dist/types/localization/getBrowserLocale.d.ts +2 -3
  129. package/dist/types/localization/getBrowserLocale.d.ts.map +1 -1
  130. package/dist/types/localization/getCanonicalPath.d.ts +1 -2
  131. package/dist/types/localization/getCanonicalPath.d.ts.map +1 -1
  132. package/dist/types/localization/getHTMLTextDir.d.ts +1 -2
  133. package/dist/types/localization/getHTMLTextDir.d.ts.map +1 -1
  134. package/dist/types/localization/getLocale.d.ts +2 -3
  135. package/dist/types/localization/getLocale.d.ts.map +1 -1
  136. package/dist/types/localization/getLocaleFromPath.d.ts +1 -2
  137. package/dist/types/localization/getLocaleFromPath.d.ts.map +1 -1
  138. package/dist/types/localization/getLocaleLang.d.ts +1 -2
  139. package/dist/types/localization/getLocaleLang.d.ts.map +1 -1
  140. package/dist/types/localization/getLocaleName.d.ts +1 -2
  141. package/dist/types/localization/getLocaleName.d.ts.map +1 -1
  142. package/dist/types/localization/getLocalizedPath.d.ts +1 -2
  143. package/dist/types/localization/getLocalizedPath.d.ts.map +1 -1
  144. package/dist/types/localization/getLocalizedUrl.d.ts +1 -2
  145. package/dist/types/localization/getLocalizedUrl.d.ts.map +1 -1
  146. package/dist/types/localization/getMultilingualUrls.d.ts +1 -2
  147. package/dist/types/localization/getMultilingualUrls.d.ts.map +1 -1
  148. package/dist/types/localization/getPathWithoutLocale.d.ts +1 -2
  149. package/dist/types/localization/getPathWithoutLocale.d.ts.map +1 -1
  150. package/dist/types/localization/getPrefix.d.ts +7 -8
  151. package/dist/types/localization/getPrefix.d.ts.map +1 -1
  152. package/dist/types/localization/localeDetector.d.ts +2 -3
  153. package/dist/types/localization/localeDetector.d.ts.map +1 -1
  154. package/dist/types/localization/localeMapper.d.ts +4 -5
  155. package/dist/types/localization/localeMapper.d.ts.map +1 -1
  156. package/dist/types/localization/localeResolver.d.ts +1 -2
  157. package/dist/types/localization/localeResolver.d.ts.map +1 -1
  158. package/dist/types/localization/proxyMode.d.ts +4 -5
  159. package/dist/types/localization/proxyMode.d.ts.map +1 -1
  160. package/dist/types/localization/resolveBrowserLocale.d.ts +2 -3
  161. package/dist/types/localization/resolveBrowserLocale.d.ts.map +1 -1
  162. package/dist/types/localization/rewriteMatch.d.ts +3 -4
  163. package/dist/types/localization/rewriteMatch.d.ts.map +1 -1
  164. package/dist/types/localization/rewriteUtils.d.ts +5 -6
  165. package/dist/types/localization/rewriteUtils.d.ts.map +1 -1
  166. package/dist/types/localization/validatePrefix.d.ts +2 -3
  167. package/dist/types/localization/validatePrefix.d.ts.map +1 -1
  168. package/dist/types/markdown/compiler.d.ts +7 -8
  169. package/dist/types/markdown/compiler.d.ts.map +1 -1
  170. package/dist/types/markdown/constants.d.ts +83 -84
  171. package/dist/types/markdown/constants.d.ts.map +1 -1
  172. package/dist/types/markdown/parser.d.ts +1 -2
  173. package/dist/types/markdown/parser.d.ts.map +1 -1
  174. package/dist/types/markdown/renderer.d.ts +2 -3
  175. package/dist/types/markdown/renderer.d.ts.map +1 -1
  176. package/dist/types/markdown/types.d.ts +49 -50
  177. package/dist/types/markdown/types.d.ts.map +1 -1
  178. package/dist/types/markdown/utils.d.ts +30 -31
  179. package/dist/types/markdown/utils.d.ts.map +1 -1
  180. package/dist/types/messageFormat/ICU.d.ts +3 -4
  181. package/dist/types/messageFormat/ICU.d.ts.map +1 -1
  182. package/dist/types/messageFormat/i18next.d.ts +2 -3
  183. package/dist/types/messageFormat/i18next.d.ts.map +1 -1
  184. package/dist/types/messageFormat/navigatePath.d.ts +1 -2
  185. package/dist/types/messageFormat/navigatePath.d.ts.map +1 -1
  186. package/dist/types/messageFormat/po.d.ts +3 -4
  187. package/dist/types/messageFormat/po.d.ts.map +1 -1
  188. package/dist/types/messageFormat/resolveMessage.d.ts +7 -8
  189. package/dist/types/messageFormat/resolveMessage.d.ts.map +1 -1
  190. package/dist/types/messageFormat/vue-i18n.d.ts +2 -3
  191. package/dist/types/messageFormat/vue-i18n.d.ts.map +1 -1
  192. package/dist/types/transpiler/condition/condition.d.ts +3 -3
  193. package/dist/types/transpiler/condition/condition.d.ts.map +1 -1
  194. package/dist/types/transpiler/enumeration/enumeration.d.ts +4 -4
  195. package/dist/types/transpiler/enumeration/enumeration.d.ts.map +1 -1
  196. package/dist/types/transpiler/file/file.d.ts +4 -5
  197. package/dist/types/transpiler/file/file.d.ts.map +1 -1
  198. package/dist/types/transpiler/file/fileBrowser.d.ts +1 -2
  199. package/dist/types/transpiler/file/fileBrowser.d.ts.map +1 -1
  200. package/dist/types/transpiler/gender/gender.d.ts +4 -4
  201. package/dist/types/transpiler/gender/gender.d.ts.map +1 -1
  202. package/dist/types/transpiler/html/getHTMLCustomComponents.d.ts +1 -2
  203. package/dist/types/transpiler/html/getHTMLCustomComponents.d.ts.map +1 -1
  204. package/dist/types/transpiler/html/html.d.ts +3 -4
  205. package/dist/types/transpiler/html/html.d.ts.map +1 -1
  206. package/dist/types/transpiler/html/htmlTags.d.ts +2 -3
  207. package/dist/types/transpiler/html/htmlTags.d.ts.map +1 -1
  208. package/dist/types/transpiler/html/validateHTML.d.ts +4 -5
  209. package/dist/types/transpiler/html/validateHTML.d.ts.map +1 -1
  210. package/dist/types/transpiler/insertion/getInsertionValues.d.ts +1 -2
  211. package/dist/types/transpiler/insertion/getInsertionValues.d.ts.map +1 -1
  212. package/dist/types/transpiler/insertion/insertion.d.ts +3 -3
  213. package/dist/types/transpiler/insertion/insertion.d.ts.map +1 -1
  214. package/dist/types/transpiler/markdown/getMarkdownMetadata.d.ts +1 -2
  215. package/dist/types/transpiler/markdown/getMarkdownMetadata.d.ts.map +1 -1
  216. package/dist/types/transpiler/markdown/markdown.d.ts +3 -3
  217. package/dist/types/transpiler/markdown/markdown.d.ts.map +1 -1
  218. package/dist/types/transpiler/markdown/validateMarkdown.d.ts +3 -3
  219. package/dist/types/transpiler/markdown/validateMarkdown.d.ts.map +1 -1
  220. package/dist/types/transpiler/nesting/nesting.d.ts +5 -5
  221. package/dist/types/transpiler/nesting/nesting.d.ts.map +1 -1
  222. package/dist/types/transpiler/plural/plural.d.ts +4 -4
  223. package/dist/types/transpiler/plural/plural.d.ts.map +1 -1
  224. package/dist/types/transpiler/select/select.d.ts +3 -3
  225. package/dist/types/transpiler/select/select.d.ts.map +1 -1
  226. package/dist/types/transpiler/translation/translation.d.ts +2 -2
  227. package/dist/types/transpiler/translation/translation.d.ts.map +1 -1
  228. package/dist/types/utils/checkIsURLAbsolute.d.ts +1 -2
  229. package/dist/types/utils/checkIsURLAbsolute.d.ts.map +1 -1
  230. package/dist/types/utils/cookieExpiry.d.ts +2 -3
  231. package/dist/types/utils/cookieExpiry.d.ts.map +1 -1
  232. package/dist/types/utils/getCookie.d.ts +1 -2
  233. package/dist/types/utils/getCookie.d.ts.map +1 -1
  234. package/dist/types/utils/intl.d.ts +7 -7
  235. package/dist/types/utils/intl.d.ts.map +1 -1
  236. package/dist/types/utils/isSameKeyPath.d.ts +1 -2
  237. package/dist/types/utils/isSameKeyPath.d.ts.map +1 -1
  238. package/dist/types/utils/isValidReactElement.d.ts +1 -2
  239. package/dist/types/utils/isValidReactElement.d.ts.map +1 -1
  240. package/dist/types/utils/localeStorage.d.ts +14 -15
  241. package/dist/types/utils/localeStorage.d.ts.map +1 -1
  242. package/dist/types/utils/parseYaml.d.ts +3 -4
  243. package/dist/types/utils/parseYaml.d.ts.map +1 -1
  244. package/dist/types/utils/stringifyYaml.d.ts +1 -2
  245. package/dist/types/utils/stringifyYaml.d.ts.map +1 -1
  246. package/package.json +8 -8
  247. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/dictionaryManipulator/qualifiedDynamicLoader.d.ts +0 -1
  248. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getDictionaryAsync.d.ts +0 -1
  249. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getEnumeration.d.ts +0 -1
  250. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getGender.d.ts +0 -1
  251. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getInsertion.d.ts +0 -1
  252. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getPlural.d.ts +0 -1
  253. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getSelect.d.ts +0 -1
  254. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/index.d.ts +0 -7
  255. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/interpolableNode.d.ts +0 -1
  256. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/transpiler/index.d.ts +0 -2
  257. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/transpiler/nesting/index.d.ts +0 -1
  258. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/transpiler/nesting/nesting.d.ts +0 -1
  259. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/dictionaryManipulator/qualifiedDynamicLoader.d.ts +0 -1
  260. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getDictionaryAsync.d.ts +0 -1
  261. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getEnumeration.d.ts +0 -1
  262. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getGender.d.ts +0 -1
  263. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getInsertion.d.ts +0 -1
  264. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getPlural.d.ts +0 -1
  265. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getSelect.d.ts +0 -1
  266. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/index.d.ts +0 -7
  267. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/interpolableNode.d.ts +0 -1
  268. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/intlayer/dist/types/index.d.ts +0 -6
  269. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/transpiler/index.d.ts +0 -2
  270. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/transpiler/nesting/index.d.ts +0 -1
  271. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/transpiler/nesting/nesting.d.ts +0 -1
  272. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/dictionaryManipulator/qualifiedDynamicLoader.d.ts +0 -1
  273. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getDictionaryAsync.d.ts +0 -1
  274. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getEnumeration.d.ts +0 -1
  275. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getGender.d.ts +0 -1
  276. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getInsertion.d.ts +0 -1
  277. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getPlural.d.ts +0 -1
  278. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/getSelect.d.ts +0 -1
  279. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/index.d.ts +0 -7
  280. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/interpreter/interpolableNode.d.ts +0 -1
  281. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/intlayer/dist/types/index.d.ts +0 -6
  282. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/transpiler/index.d.ts +0 -2
  283. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/transpiler/nesting/index.d.ts +0 -1
  284. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/transpiler/nesting/nesting.d.ts +0 -1
  285. package/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/@intlayer/core/dist/types/intlayer/dist/types/index.d.ts +0 -6
@@ -17,7 +17,7 @@ import { NodeType } from "@intlayer/types/nodeType";
17
17
  *
18
18
  * > `transformFn` is a function that can be used to deeply transform inside the plugin.
19
19
  */
20
- type Plugins = {
20
+ export type Plugins = {
21
21
  id: string;
22
22
  canHandle: (node: any) => boolean;
23
23
  transform: (node: any, props: NodeProps, transformFn: (node: any, props: NodeProps) => any) => any;
@@ -27,31 +27,31 @@ type Plugins = {
27
27
  *
28
28
  * Used to fallback a tree-shaken plugin
29
29
  * --------------------------------------------- */
30
- declare const fallbackPlugin: Plugins;
30
+ export declare const fallbackPlugin: Plugins;
31
31
  /** ---------------------------------------------
32
32
  * TRANSLATION PLUGIN
33
33
  * --------------------------------------------- */
34
- type UnionKeys<T> = T extends unknown ? keyof T : never;
35
- type ValueAtKey<T, K> = T extends unknown ? K extends keyof T ? T[K] : never : never;
36
- type TranslationCond<T, S, L extends LocalesValues> = T extends {
34
+ export type UnionKeys<T> = T extends unknown ? keyof T : never;
35
+ export type ValueAtKey<T, K> = T extends unknown ? K extends keyof T ? T[K] : never : never;
36
+ export type TranslationCond<T, S, L extends LocalesValues> = T extends {
37
37
  nodeType: NodeType | string;
38
38
  [NodeTypes.TRANSLATION]: infer U;
39
39
  } ? U extends Record<PropertyKey, unknown> ? U[keyof U] extends Record<PropertyKey, unknown> ? { [K in UnionKeys<U[keyof U]>]: L extends keyof U ? K extends keyof U[L] ? U[L][K] : ValueAtKey<U[keyof U], K> : ValueAtKey<U[keyof U], K>; } extends (infer Content) ? DeepTransformContent<Content, S> : never : (L extends keyof U ? U[L] : U[keyof U]) extends (infer Content) ? DeepTransformContent<Content, S> : never : never : never;
40
40
  /** Translation plugin. Replaces node with a locale string if nodeType = Translation. */
41
- declare const translationPlugin: (locale: LocalesValues, fallback?: LocalesValues) => Plugins;
41
+ export declare const translationPlugin: (locale: LocalesValues, fallback?: LocalesValues) => Plugins;
42
42
  /** ---------------------------------------------
43
43
  * ENUMERATION PLUGIN
44
44
  * --------------------------------------------- */
45
- type EnumerationCond<T, S, _L> = T extends {
45
+ export type EnumerationCond<T, S, _L> = T extends {
46
46
  nodeType: NodeType | string;
47
47
  [NodeTypes.ENUMERATION]: object;
48
48
  } ? (quantity: number) => DeepTransformContent<T[typeof NodeTypes.ENUMERATION][keyof T[typeof NodeTypes.ENUMERATION]], S> : never;
49
49
  /** Enumeration plugin. Replaces node with a function that takes quantity => string. */
50
- declare const enumerationPlugin: Plugins;
50
+ export declare const enumerationPlugin: Plugins;
51
51
  /** ---------------------------------------------
52
52
  * PLURAL PLUGIN
53
53
  * --------------------------------------------- */
54
- type PluralCond<T, S, _L> = T extends {
54
+ export type PluralCond<T, S, _L> = T extends {
55
55
  nodeType: NodeType | string;
56
56
  [NodeTypes.PLURAL]: object;
57
57
  } ? (arg: number | {
@@ -63,37 +63,37 @@ type PluralCond<T, S, _L> = T extends {
63
63
  * `{ count, ...values }`) => string, picking the matching CLDR plural form
64
64
  * for the active locale and interpolating `{{count}}` (and other values).
65
65
  */
66
- declare const pluralPlugin: (locale?: LocalesValues) => Plugins;
66
+ export declare const pluralPlugin: (locale?: LocalesValues) => Plugins;
67
67
  /** ---------------------------------------------
68
68
  * CONDITION PLUGIN
69
69
  * --------------------------------------------- */
70
- type ConditionCond<T, S, _L> = T extends {
70
+ export type ConditionCond<T, S, _L> = T extends {
71
71
  nodeType: NodeType | string;
72
72
  [NodeTypes.CONDITION]: object;
73
73
  } ? (value: boolean | {
74
74
  value: boolean;
75
75
  }) => DeepTransformContent<T[typeof NodeTypes.CONDITION][keyof T[typeof NodeTypes.CONDITION]], S> : never;
76
76
  /** Condition plugin. Replaces node with a function that takes boolean => string. */
77
- declare const conditionPlugin: Plugins;
77
+ export declare const conditionPlugin: Plugins;
78
78
  /** ---------------------------------------------
79
79
  * INSERTION PLUGIN
80
80
  * --------------------------------------------- */
81
- type InsertionCond<T, S, _L> = T extends {
81
+ export type InsertionCond<T, S, _L> = T extends {
82
82
  nodeType: NodeType | string;
83
83
  [NodeTypes.INSERTION]: infer I;
84
84
  fields: readonly string[];
85
85
  } ? (values: { [K in T['fields'][number]]: string | number; }) => I extends string ? DeepTransformContent<string, S> : DeepTransformContent<I, S> : never;
86
86
  /** Insertion plugin. Replaces node with a function that takes quantity => string. */
87
- declare const insertionPlugin: Plugins;
87
+ export declare const insertionPlugin: Plugins;
88
88
  /** ---------------------------------------------
89
89
  * GENDER PLUGIN
90
90
  * --------------------------------------------- */
91
- type GenderCond<T, S, _L> = T extends {
91
+ export type GenderCond<T, S, _L> = T extends {
92
92
  nodeType: NodeType | string;
93
93
  [NodeTypes.GENDER]: object;
94
94
  } ? (value: Gender) => DeepTransformContent<T[typeof NodeTypes.GENDER][keyof T[typeof NodeTypes.GENDER]], S> : never;
95
95
  /** Gender plugin. Replaces node with a function that takes gender => string. */
96
- declare const genderPlugin: Plugins;
96
+ export declare const genderPlugin: Plugins;
97
97
  /** ---------------------------------------------
98
98
  * SELECT PLUGIN
99
99
  * --------------------------------------------- */
@@ -104,19 +104,19 @@ declare const genderPlugin: Plugins;
104
104
  * fallback covers the unmatched values) while the declared cases still
105
105
  * autocomplete. Without a `fallback`, only the declared cases are accepted.
106
106
  */
107
- type SelectSelector<States> = 'fallback' extends keyof States ? Exclude<keyof States & string, 'fallback'> | (string & {}) : keyof States & string;
108
- type SelectCond<T, S, _L> = T extends {
107
+ export type SelectSelector<States> = 'fallback' extends keyof States ? Exclude<keyof States & string, 'fallback'> | (string & {}) : keyof States & string;
108
+ export type SelectCond<T, S, _L> = T extends {
109
109
  nodeType: NodeType | string;
110
110
  [NodeTypes.SELECT]: object;
111
111
  } ? (value: SelectSelector<T[typeof NodeTypes.SELECT]> | {
112
112
  value: SelectSelector<T[typeof NodeTypes.SELECT]>;
113
113
  }) => DeepTransformContent<T[typeof NodeTypes.SELECT][keyof T[typeof NodeTypes.SELECT]], S> : never;
114
114
  /** Select plugin. Replaces node with a function that takes a string => content. */
115
- declare const selectPlugin: Plugins;
115
+ export declare const selectPlugin: Plugins;
116
116
  /** ---------------------------------------------
117
117
  * NESTED PLUGIN
118
118
  * --------------------------------------------- */
119
- type NestedCond<T, S, _L> = T extends {
119
+ export type NestedCond<T, S, _L> = T extends {
120
120
  nodeType: NodeType | string;
121
121
  [NodeTypes.NESTED]: infer U;
122
122
  } ? U extends {
@@ -124,17 +124,17 @@ type NestedCond<T, S, _L> = T extends {
124
124
  path?: infer P;
125
125
  } ? GetNestingResult<K, P, S> : never : never;
126
126
  /** Nested plugin. Replaces node with the result of `getNesting`. */
127
- declare const nestedPlugin: (locale?: LocalesValues) => Plugins;
127
+ export declare const nestedPlugin: (locale?: LocalesValues) => Plugins;
128
128
  /** ---------------------------------------------
129
129
  * FILE PLUGIN
130
130
  * --------------------------------------------- */
131
- type FileCond<T, S, _L> = T extends {
131
+ export type FileCond<T, S, _L> = T extends {
132
132
  nodeType: NodeType | string;
133
133
  [NodeTypes.FILE]: string;
134
134
  content?: string;
135
135
  } ? DeepTransformContent<string, S> : never;
136
136
  /** File plugin. Replaces node with the result of `getNesting`. */
137
- declare const filePlugin: Plugins;
137
+ export declare const filePlugin: Plugins;
138
138
  /**
139
139
  * PLUGIN RESULT
140
140
  */
@@ -142,7 +142,7 @@ declare const filePlugin: Plugins;
142
142
  * Interface that defines the properties of a node.
143
143
  * This interface can be augmented in other packages, such as `react-intlayer`.
144
144
  */
145
- interface NodeProps {
145
+ export interface NodeProps {
146
146
  dictionaryKey: string;
147
147
  keyPath: KeyPath[];
148
148
  plugins?: Plugins[];
@@ -171,7 +171,7 @@ interface NodeProps {
171
171
  * Interface that defines the plugins that can be used to transform a node.
172
172
  * This interface can be augmented in other packages, such as `react-intlayer`.
173
173
  */
174
- interface IInterpreterPlugin<T, S, L extends LocalesValues> {
174
+ export interface IInterpreterPlugin<T, S, L extends LocalesValues> {
175
175
  translation: TranslationCond<T, S, L>;
176
176
  enumeration: EnumerationCond<T, S, L>;
177
177
  plural: PluralCond<T, S, L>;
@@ -185,7 +185,7 @@ interface IInterpreterPlugin<T, S, L extends LocalesValues> {
185
185
  /**
186
186
  * Allow to avoid overwriting import from `intlayer` package when `IInterpreterPlugin<T>` interface is augmented in another package, such as `react-intlayer`.
187
187
  */
188
- type IInterpreterPluginState = {
188
+ export type IInterpreterPluginState = {
189
189
  translation: true;
190
190
  enumeration: true;
191
191
  plural: true;
@@ -204,11 +204,10 @@ type CheckApplyPlugin<T, K extends keyof IInterpreterPlugin<T, S, L>, S, L exten
204
204
  * Traverse recursively through an object or array, applying each plugin as needed.
205
205
  */
206
206
  type Traverse<T, S, L extends LocalesValues = DeclaredLocales> = T extends ReadonlyArray<infer U> ? Array<DeepTransformContent<U, S, L>> : T extends object ? { [K in keyof T]: DeepTransformContent<T[K], S, L>; } : T;
207
- type IsAny<T> = 0 extends 1 & T ? true : false;
207
+ export type IsAny<T> = 0 extends 1 & T ? true : false;
208
208
  /**
209
209
  * Traverse recursively through an object or array, applying each plugin as needed.
210
210
  */
211
- type DeepTransformContent<T, S = IInterpreterPluginState, L extends LocalesValues = DeclaredLocales> = IsAny<T> extends true ? T : CheckApplyPlugin<T, keyof IInterpreterPlugin<T, S, L>, S, L> extends never ? Traverse<T, S, L> : CheckApplyPlugin<T, keyof IInterpreterPlugin<T, S, L>, S, L>;
211
+ export type DeepTransformContent<T, S = IInterpreterPluginState, L extends LocalesValues = DeclaredLocales> = IsAny<T> extends true ? T : CheckApplyPlugin<T, keyof IInterpreterPlugin<T, S, L>, S, L> extends never ? Traverse<T, S, L> : CheckApplyPlugin<T, keyof IInterpreterPlugin<T, S, L>, S, L>;
212
212
  //#endregion
213
- export { ConditionCond, DeepTransformContent, EnumerationCond, FileCond, GenderCond, IInterpreterPlugin, IInterpreterPluginState, InsertionCond, IsAny, NestedCond, NodeProps, Plugins, PluralCond, SelectCond, SelectSelector, TranslationCond, UnionKeys, ValueAtKey, conditionPlugin, enumerationPlugin, fallbackPlugin, filePlugin, genderPlugin, insertionPlugin, nestedPlugin, pluralPlugin, selectPlugin, translationPlugin };
214
213
  //# sourceMappingURL=plugins.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"plugins.d.ts","names":[],"sources":["../../../../src/interpreter/getContent/plugins.ts"],"mappings":"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"}
1
+ {"version":3,"file":"plugins.d.ts","names":[],"sources":["../../../../src/interpreter/getContent/plugins.ts"],"mappings":"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"}
@@ -12,7 +12,6 @@ import { DeclaredLocales, ExtractSelectorLocale, LocalesValues } from "@intlayer
12
12
  * @param plugins An array of NodeTransformer that define how to transform recognized nodes.
13
13
  * If omitted, we’ll use a default set of plugins.
14
14
  */
15
- declare const getDictionary: <const T extends Dictionary | QualifiedDictionaryGroup, const A extends LocalesValues | DictionarySelector = DeclaredLocales>(dictionary: T, localeOrSelector?: A, plugins?: Plugins[]) => DeepTransformContent<ResolveQualifiedDictionaryContent<T, A>, IInterpreterPluginState, ExtractSelectorLocale<A>>;
15
+ export declare const getDictionary: <const T extends Dictionary | QualifiedDictionaryGroup, const A extends LocalesValues | DictionarySelector = DeclaredLocales>(dictionary: T, localeOrSelector?: A, plugins?: Plugins[]) => DeepTransformContent<ResolveQualifiedDictionaryContent<T, A>, IInterpreterPluginState, ExtractSelectorLocale<A>>;
16
16
  //#endregion
17
- export { getDictionary };
18
17
  //# sourceMappingURL=getDictionary.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getDictionary.d.ts","names":[],"sources":["../../../src/interpreter/getDictionary.ts"],"mappings":";;;;;;;;;;;;;;cAuCa,sBACL,UAAU,aAAa,gCACvB,UAAU,gBAAgB,qBAAqB,iBAAe,YAExD,GAAC,mBACM,GAAC,UACV,cACT,qBACD,kCAAkC,GAAG,IACrC,yBACA,sBAAsB"}
1
+ {"version":3,"file":"getDictionary.d.ts","names":[],"sources":["../../../src/interpreter/getDictionary.ts"],"mappings":";;;;;;;;;;;;;;qBAuCa,sBACL,UAAU,aAAa,gCACvB,UAAU,gBAAgB,qBAAqB,iBAAe,YAExD,GAAC,mBACM,GAAC,UACV,cACT,qBACD,kCAAkC,GAAG,IACrC,yBACA,sBAAsB"}
@@ -28,7 +28,6 @@ import { DeclaredLocales, ExtractSelectorLocale, LocalesValues } from "@intlayer
28
28
  * `{ variant }`, optionally with `locale`).
29
29
  * @param plugins - Node transformers. Defaults to the base interpreter set.
30
30
  */
31
- declare const getDictionaryAsync: <const T extends Dictionary, const A extends LocalesValues | DictionarySelector = DeclaredLocales>(dictionaryLoaders: PlainDynamicLoaderMap<T> | QualifiedDynamicLoaderMap, key: string, localeOrSelector?: A, plugins?: Plugins[]) => Promise<DeepTransformContent<T['content'], IInterpreterPluginState, ExtractSelectorLocale<A>>>;
31
+ export declare const getDictionaryAsync: <const T extends Dictionary, const A extends LocalesValues | DictionarySelector = DeclaredLocales>(dictionaryLoaders: PlainDynamicLoaderMap<T> | QualifiedDynamicLoaderMap, key: string, localeOrSelector?: A, plugins?: Plugins[]) => Promise<DeepTransformContent<T['content'], IInterpreterPluginState, ExtractSelectorLocale<A>>>;
32
32
  //#endregion
33
- export { getDictionaryAsync };
34
33
  //# sourceMappingURL=getDictionaryAsync.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getDictionaryAsync.d.ts","names":[],"sources":["../../../src/interpreter/getDictionaryAsync.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAiFa,2BACL,UAAU,kBACV,UAAU,gBAAgB,qBAAqB,iBAAe,mBAEjD,sBAAsB,KAAK,2BAAyB,aAC5D,mBACQ,GAAC,UACV,cACT,QACD,qBACE,cACA,yBACA,sBAAsB"}
1
+ {"version":3,"file":"getDictionaryAsync.d.ts","names":[],"sources":["../../../src/interpreter/getDictionaryAsync.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAiFa,2BACL,UAAU,kBACV,UAAU,gBAAgB,qBAAqB,iBAAe,mBAEjD,sBAAsB,KAAK,2BAAyB,aAC5D,mBACQ,GAAC,UACV,cACT,QACD,qBACE,cACA,yBACA,sBAAsB"}
@@ -28,7 +28,7 @@ import "../transpiler/index.js";
28
28
  *
29
29
  * If no keys match, the default key is '1'.
30
30
  */
31
- declare const findMatchingCondition: <const Content>(enumerationContent: EnumerationContentState<Content>, quantity: number) => EnterFormat | undefined;
31
+ export declare const findMatchingCondition: <const Content>(enumerationContent: EnumerationContentState<Content>, quantity: number) => EnterFormat | undefined;
32
32
  /**
33
33
  * Picks content from an enumeration map based on a provided quantity.
34
34
  *
@@ -53,7 +53,6 @@ declare const findMatchingCondition: <const Content>(enumerationContent: Enumera
53
53
  * // 'Many items'
54
54
  * ```
55
55
  */
56
- declare const getEnumeration: <const Content>(enumerationContent: EnumerationContentState<Content>, quantity: number) => Content;
56
+ export declare const getEnumeration: <const Content>(enumerationContent: EnumerationContentState<Content>, quantity: number) => Content;
57
57
  //#endregion
58
- export { findMatchingCondition, getEnumeration };
59
58
  //# sourceMappingURL=getEnumeration.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getEnumeration.d.ts","names":[],"sources":["../../../src/interpreter/getEnumeration.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA6Ba,8BAA+B,SAAO,oBAC7B,wBAAwB,UAAQ,qBAEnD;;;;;;;;;;;;;;;;;;;;;;;;;cAuDU,uBAAwB,SAAO,oBACtB,wBAAwB,UAAQ,qBAEnD"}
1
+ {"version":3,"file":"getEnumeration.d.ts","names":[],"sources":["../../../src/interpreter/getEnumeration.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA6Ba,8BAA+B,SAAO,oBAC7B,wBAAwB,UAAQ,qBAEnD;;;;;;;;;;;;;;;;;;;;;;;;;qBAuDU,uBAAwB,SAAO,oBACtB,wBAAwB,UAAQ,qBAEnD"}
@@ -24,7 +24,6 @@ type GenderEntry = Gender | 'm' | 'f';
24
24
  * }, undefined);
25
25
  * // 'The gender is validated'
26
26
  */
27
- declare const getGender: <const Content>(genderContent: GenderContentStates<Content>, gender: GenderEntry) => Content;
27
+ export declare const getGender: <const Content>(genderContent: GenderContentStates<Content>, gender: GenderEntry) => Content;
28
28
  //#endregion
29
- export { getGender };
30
29
  //# sourceMappingURL=getGender.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getGender.d.ts","names":[],"sources":["../../../src/interpreter/getGender.ts"],"mappings":";;;KAEK,cAAc;;;;;;;;;;;;;;;;;;;;;;;cA8BN,kBAAmB,SAAO,eACtB,oBAAoB,UAAQ,QACnC,gBACP"}
1
+ {"version":3,"file":"getGender.d.ts","names":[],"sources":["../../../src/interpreter/getGender.ts"],"mappings":";;;KAEK,cAAc;;;;;;;;;;;;;;;;;;;;;;;qBA8BN,kBAAmB,SAAO,eACtB,oBAAoB,UAAQ,QACnC,gBACP"}
@@ -26,7 +26,6 @@ type Components = Record<string, Component | string | ComponentObject>;
26
26
  /**
27
27
  * Interprets a string containing HTML-like tags and replaces them with provided components or strings.
28
28
  */
29
- declare const getHTML: (content: string, values: Components) => any;
29
+ export declare const getHTML: (content: string, values: Components) => any;
30
30
  //#endregion
31
- export { getHTML };
32
31
  //# sourceMappingURL=getHTML.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getHTML.d.ts","names":[],"sources":["../../../src/interpreter/getHTML.ts"],"mappings":";;;;;;;KAMK,aAAa;EAAS;GAAmB;;;;;KAKzC;EACH;EACA,QAAQ;;;;;;;;KASL,aAAa,eAAe,qBAAqB;;;;cA4HzC,UAAO,iBAAmB,QAAU"}
1
+ {"version":3,"file":"getHTML.d.ts","names":[],"sources":["../../../src/interpreter/getHTML.ts"],"mappings":";;;;;;;KAMK,aAAa;EAAS;GAAmB;;;;;KAKzC;EACH;EACA,QAAQ;;;;;;;;KASL,aAAa,eAAe,qBAAqB;;;;qBA4HzC,UAAO,iBAAmB,QAAU"}
@@ -14,7 +14,6 @@ import "../transpiler/index.js";
14
14
  * ```
15
15
  *
16
16
  */
17
- declare const getInsertion: (content: string, values: { [K in InsertionContent['fields'][number]]: string | number; }) => string;
17
+ export declare const getInsertion: (content: string, values: { [K in InsertionContent['fields'][number]]: string | number; }) => string;
18
18
  //#endregion
19
- export { getInsertion };
20
19
  //# sourceMappingURL=getInsertion.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getInsertion.d.ts","names":[],"sources":["../../../src/interpreter/getInsertion.ts"],"mappings":";;;;;;;;;;;;;;;;cAea,eAAY,iBACR,WACJ,KAAK"}
1
+ {"version":3,"file":"getInsertion.d.ts","names":[],"sources":["../../../src/interpreter/getInsertion.ts"],"mappings":";;;;;;;;;;;;;;;;qBAea,eAAY,iBACR,WACJ,KAAK"}
@@ -13,7 +13,6 @@ import { DeclaredLocales, DictionaryKeys, DictionaryRegistryResult, ExtractSelec
13
13
  * - `{ variant: { id: 'prod_abc', userId: '123' } }` — structured variant
14
14
  * - `locale` can be combined with any selector: `{ item: 2, locale: 'fr' }`
15
15
  */
16
- declare const getIntlayer: <const T extends DictionaryKeys, const A extends LocalesValues | DictionarySelector = DeclaredLocales>(key: T, localeOrSelector?: A, plugins?: Plugins[]) => DeepTransformContent<DictionaryRegistryResult<T, A>, IInterpreterPluginState, ExtractSelectorLocale<A>>;
16
+ export declare const getIntlayer: <const T extends DictionaryKeys, const A extends LocalesValues | DictionarySelector = DeclaredLocales>(key: T, localeOrSelector?: A, plugins?: Plugins[]) => DeepTransformContent<DictionaryRegistryResult<T, A>, IInterpreterPluginState, ExtractSelectorLocale<A>>;
17
17
  //#endregion
18
- export { getIntlayer };
19
18
  //# sourceMappingURL=getIntlayer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getIntlayer.d.ts","names":[],"sources":["../../../src/interpreter/getIntlayer.ts"],"mappings":";;;;;;;;;;;;;;;cAsFa,oBACL,UAAU,sBACV,UAAU,gBAAgB,qBAAqB,iBAAe,KAE/D,GAAC,mBACa,GAAC,UACV,cACT,qBACD,yBAAyB,GAAG,IAC5B,yBACA,sBAAsB"}
1
+ {"version":3,"file":"getIntlayer.d.ts","names":[],"sources":["../../../src/interpreter/getIntlayer.ts"],"mappings":";;;;;;;;;;;;;;;qBAsFa,oBACL,UAAU,sBACV,UAAU,gBAAgB,qBAAqB,iBAAe,KAE/D,GAAC,mBACa,GAAC,UACV,cACT,qBACD,yBAAyB,GAAG,IAC5B,yBACA,sBAAsB"}
@@ -30,7 +30,6 @@ import { DeclaredLocales, DictionaryKeys, DictionaryRegistryResult, ExtractSelec
30
30
  * const { title } = await getIntlayerAsync('home-metadata', locale);
31
31
  * ```
32
32
  */
33
- declare const getIntlayerAsync: <const T extends DictionaryKeys, const A extends LocalesValues | DictionarySelector = DeclaredLocales>(key: T, localeOrSelector?: A, plugins?: Plugins[]) => Promise<DeepTransformContent<DictionaryRegistryResult<T, A>, IInterpreterPluginState, ExtractSelectorLocale<A>>>;
33
+ export declare const getIntlayerAsync: <const T extends DictionaryKeys, const A extends LocalesValues | DictionarySelector = DeclaredLocales>(key: T, localeOrSelector?: A, plugins?: Plugins[]) => Promise<DeepTransformContent<DictionaryRegistryResult<T, A>, IInterpreterPluginState, ExtractSelectorLocale<A>>>;
34
34
  //#endregion
35
- export { getIntlayerAsync };
36
35
  //# sourceMappingURL=getIntlayerAsync.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getIntlayerAsync.d.ts","names":[],"sources":["../../../src/interpreter/getIntlayerAsync.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA0Ca,yBACL,UAAU,sBACV,UAAU,gBAAgB,qBAAqB,iBAAe,KAE/D,GAAC,mBACa,GAAC,UACV,cACT,QACD,qBACE,yBAAyB,GAAG,IAC5B,yBACA,sBAAsB"}
1
+ {"version":3,"file":"getIntlayerAsync.d.ts","names":[],"sources":["../../../src/interpreter/getIntlayerAsync.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA0Ca,yBACL,UAAU,sBACV,UAAU,gBAAgB,qBAAqB,iBAAe,KAE/D,GAAC,mBACa,GAAC,UACV,cACT,QACD,qBACE,yBAAyB,GAAG,IAC5B,yBACA,sBAAsB"}
@@ -5,7 +5,7 @@ import "./getContent/index.js";
5
5
  import { GetSubPath } from "@intlayer/types/dictionary";
6
6
  import { DictionaryKeys, DictionaryRegistryContent } from "@intlayer/types/module_augmentation";
7
7
  //#region src/interpreter/getNesting.d.ts
8
- type GetNestingResult<K extends DictionaryKeys, P = undefined, S = IInterpreterPluginState> = GetSubPath<DeepTransformContent<DictionaryRegistryContent<K>, S>, P>;
8
+ export type GetNestingResult<K extends DictionaryKeys, P = undefined, S = IInterpreterPluginState> = GetSubPath<DeepTransformContent<DictionaryRegistryContent<K>, S>, P>;
9
9
  /**
10
10
  * Extracts content from another dictionary by its key and an optional path.
11
11
  *
@@ -22,7 +22,6 @@ type GetNestingResult<K extends DictionaryKeys, P = undefined, S = IInterpreterP
22
22
  * // 'Save'
23
23
  * ```
24
24
  */
25
- declare const getNesting: <const K extends DictionaryKeys, const P>(dictionaryKey: K, path?: P extends ValidDotPathsFor<K> ? P : never, props?: NodeProps) => GetNestingResult<K, P>;
25
+ export declare const getNesting: <const K extends DictionaryKeys, const P>(dictionaryKey: K, path?: P extends ValidDotPathsFor<K> ? P : never, props?: NodeProps) => GetNestingResult<K, P>;
26
26
  //#endregion
27
- export { GetNestingResult, getNesting };
28
27
  //# sourceMappingURL=getNesting.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getNesting.d.ts","names":[],"sources":["../../../src/interpreter/getNesting.ts"],"mappings":";;;;;;;KAaY,iBACV,UAAU,gBACV,eACA,IAAI,2BACF,WAAW,qBAAqB,0BAA0B,IAAI,IAAI;;;;;;;;;;;;;;;;;cAkBzD,mBAAoB,UAAU,sBAAsB,GAAC,eACjD,GAAC,OACT,UAAU,iBAAiB,KAAK,WAAS,QACxC,cACP,iBAAiB,GAAG"}
1
+ {"version":3,"file":"getNesting.d.ts","names":[],"sources":["../../../src/interpreter/getNesting.ts"],"mappings":";;;;;;;YAaY,iBACV,UAAU,gBACV,eACA,IAAI,2BACF,WAAW,qBAAqB,0BAA0B,IAAI,IAAI;;;;;;;;;;;;;;;;;qBAkBzD,mBAAoB,UAAU,sBAAsB,GAAC,eACjD,GAAC,OACT,UAAU,iBAAiB,KAAK,WAAS,QACxC,cACP,iBAAiB,GAAG"}
@@ -27,7 +27,6 @@ import { DictionaryKeys } from "@intlayer/types/module_augmentation";
27
27
  * @param props - Interpreter node props, carrying the attached dictionaries.
28
28
  * @returns The nested content.
29
29
  */
30
- declare const getNesting: <const K extends DictionaryKeys, const P>(dictionaryKey: K, path?: P extends ValidDotPathsFor<K> ? P : never, props?: NodeProps) => GetNestingResult<K, P>;
30
+ export declare const getNesting: <const K extends DictionaryKeys, const P>(dictionaryKey: K, path?: P extends ValidDotPathsFor<K> ? P : never, props?: NodeProps) => GetNestingResult<K, P>;
31
31
  //#endregion
32
- export { getNesting };
33
32
  //# sourceMappingURL=getNesting.optimized.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getNesting.optimized.d.ts","names":[],"sources":["../../../src/interpreter/getNesting.optimized.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAmDa,mBAAoB,UAAU,sBAAsB,GAAC,eACjD,GAAC,OACT,UAAU,iBAAiB,KAAK,WAAS,QACxC,cACP,iBAAiB,GAAG"}
1
+ {"version":3,"file":"getNesting.optimized.d.ts","names":[],"sources":["../../../src/interpreter/getNesting.optimized.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAmDa,mBAAoB,UAAU,sBAAsB,GAAC,eACjD,GAAC,OACT,UAAU,iBAAiB,KAAK,WAAS,QACxC,cACP,iBAAiB,GAAG"}
@@ -17,7 +17,6 @@ import { DeclaredLocales } from "@intlayer/types";
17
17
  * // '{{count}} items'
18
18
  * ```
19
19
  */
20
- declare const getPlural: <const L extends LocalesValues = DeclaredLocales>(pluralContent: PluralContentState<string>, count: number, locale: L) => string;
20
+ export declare const getPlural: <const L extends LocalesValues = DeclaredLocales>(pluralContent: PluralContentState<string>, count: number, locale: L) => string;
21
21
  //#endregion
22
- export { getPlural };
23
22
  //# sourceMappingURL=getPlural.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getPlural.d.ts","names":[],"sources":["../../../src/interpreter/getPlural.ts"],"mappings":";;;;;;;;;;;;;;;;;;;cAuBa,kBAAmB,UAAU,gBAAgB,iBAAe,eACxD,4BAA0B,eAC5B,QACL"}
1
+ {"version":3,"file":"getPlural.d.ts","names":[],"sources":["../../../src/interpreter/getPlural.ts"],"mappings":";;;;;;;;;;;;;;;;;;;qBAuBa,kBAAmB,UAAU,gBAAgB,iBAAe,eACxD,4BAA0B,eAC5B,QACL"}
@@ -25,7 +25,6 @@ import "../transpiler/index.js";
25
25
  * // 'This post is live'
26
26
  * ```
27
27
  */
28
- declare const getSelect: <const Content>(selectContent: SelectContentStates<Content>, value?: string) => Content;
28
+ export declare const getSelect: <const Content>(selectContent: SelectContentStates<Content>, value?: string) => Content;
29
29
  //#endregion
30
- export { getSelect };
31
30
  //# sourceMappingURL=getSelect.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getSelect.d.ts","names":[],"sources":["../../../src/interpreter/getSelect.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;cA0Ba,kBAAmB,SAAO,eACtB,oBAAoB,UAAQ,mBAE1C"}
1
+ {"version":3,"file":"getSelect.d.ts","names":[],"sources":["../../../src/interpreter/getSelect.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;qBA0Ba,kBAAmB,SAAO,eACtB,oBAAoB,UAAQ,mBAE1C"}
@@ -23,7 +23,6 @@ import { LocalesValues, StrictModeLocaleMap } from "@intlayer/types/module_augme
23
23
  * // 'Bonjour'
24
24
  * ```
25
25
  */
26
- declare const getTranslation: <const Content = string>(languageContent: StrictModeLocaleMap<Content>, locale: LocalesValues, fallback?: LocalesValues) => Content;
26
+ export declare const getTranslation: <const Content = string>(languageContent: StrictModeLocaleMap<Content>, locale: LocalesValues, fallback?: LocalesValues) => Content;
27
27
  //#endregion
28
- export { getTranslation };
29
28
  //# sourceMappingURL=getTranslation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getTranslation.d.ts","names":[],"sources":["../../../src/interpreter/getTranslation.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;cA2Ea,uBAAwB,kBAAgB,iBAClC,oBAAoB,UAAQ,QACrC,eAAa,WACV,kBACV"}
1
+ {"version":3,"file":"getTranslation.d.ts","names":[],"sources":["../../../src/interpreter/getTranslation.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;qBA2Ea,uBAAwB,kBAAgB,iBAClC,oBAAoB,UAAQ,QACrC,eAAa,WACV,kBACV"}
@@ -10,7 +10,7 @@ import * as NodeTypes from "@intlayer/types/nodeType";
10
10
  * be able to interpolate into that inner string before the html/markdown
11
11
  * renderer turns it into a component tree.
12
12
  */
13
- type InterpolableNode = string | {
13
+ export type InterpolableNode = string | {
14
14
  nodeType: typeof NodeTypes.HTML;
15
15
  [NodeTypes.HTML]: string;
16
16
  } | {
@@ -25,7 +25,7 @@ type InterpolableNode = string | {
25
25
  * so bundlers can eliminate the branch (and downstream handling code) when the
26
26
  * html/markdown node types are tree-shaken out of the user bundle.
27
27
  */
28
- declare const isInterpolableWrapperNode: (node: unknown) => node is Exclude<InterpolableNode, string>;
28
+ export declare const isInterpolableWrapperNode: (node: unknown) => node is Exclude<InterpolableNode, string>;
29
29
  /**
30
30
  * Extracts the raw interpolable string from a string, `html()` or `markdown()`
31
31
  * node. Returns `undefined` for any other node so callers can fall back to
@@ -38,7 +38,7 @@ declare const isInterpolableWrapperNode: (node: unknown) => node is Exclude<Inte
38
38
  * getInterpolableContent({ nodeType: 'translation' }); // undefined
39
39
  * ```
40
40
  */
41
- declare const getInterpolableContent: (node: unknown) => string | undefined;
41
+ export declare const getInterpolableContent: (node: unknown) => string | undefined;
42
42
  /**
43
43
  * Rebuilds an interpolable node from its interpolated raw string, preserving
44
44
  * the original node shape (plain string stays a string, `html()`/`markdown()`
@@ -50,7 +50,7 @@ declare const getInterpolableContent: (node: unknown) => string | undefined;
50
50
  * // { nodeType: 'html', html: '<b>1</b>', … }
51
51
  * ```
52
52
  */
53
- declare const rebuildInterpolableContent: <T>(node: T, interpolated: string) => T;
53
+ export declare const rebuildInterpolableContent: <T>(node: T, interpolated: string) => T;
54
54
  /**
55
55
  * Interpolates `{{ … }}` values into an `html()`/`markdown()` wrapper node,
56
56
  * then re-runs the transform with the parent plugin list so the html/markdown
@@ -60,7 +60,6 @@ declare const rebuildInterpolableContent: <T>(node: T, interpolated: string) =>
60
60
  * framework package — framework nodes (React elements, VNodes…) cannot be
61
61
  * injected into a raw markup string, so plain string interpolation is used.
62
62
  */
63
- declare const transformInterpolableNode: (node: Exclude<InterpolableNode, string>, values: Record<string, string | number>, subProps: NodeProps, parentPlugins: Plugins[] | undefined, deepTransformNode: (node: unknown, props: NodeProps) => unknown) => unknown;
63
+ export declare const transformInterpolableNode: (node: Exclude<InterpolableNode, string>, values: Record<string, string | number>, subProps: NodeProps, parentPlugins: Plugins[] | undefined, deepTransformNode: (node: unknown, props: NodeProps) => unknown) => unknown;
64
64
  //#endregion
65
- export { InterpolableNode, getInterpolableContent, isInterpolableWrapperNode, rebuildInterpolableContent, transformInterpolableNode };
66
65
  //# sourceMappingURL=interpolableNode.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"interpolableNode.d.ts","names":[],"sources":["../../../src/interpreter/interpolableNode.ts"],"mappings":";;;;;;;;;;;;KAaY;EAEN,iBAAiB,UAAU;GAAO,UAAU;;EAC5C,iBAAiB,UAAU;GAAW,UAAU;;;;;;;;;;cAUzC,4BAAyB,kBAEnC,QAAQ,QAAQ;;;;;;;;;;;;;cA2BN,yBAAsB;;;;;;;;;;;;cAyBtB,6BAA8B,GAAC,MACpC,GAAC,yBAEN;;;;;;;;;;cAwBU,4BAAyB,MAC9B,QAAQ,2BAAyB,QAC/B,iCAA+B,UAC7B,WAAS,eACJ,uBAAqB,oBAChB,eAAe,OAAO"}
1
+ {"version":3,"file":"interpolableNode.d.ts","names":[],"sources":["../../../src/interpreter/interpolableNode.ts"],"mappings":";;;;;;;;;;;;YAaY;EAEN,iBAAiB,UAAU;GAAO,UAAU;;EAC5C,iBAAiB,UAAU;GAAW,UAAU;;;;;;;;;;qBAUzC,4BAAyB,kBAEnC,QAAQ,QAAQ;;;;;;;;;;;;;qBA2BN,yBAAsB;;;;;;;;;;;;qBAyBtB,6BAA8B,GAAC,MACpC,GAAC,yBAEN;;;;;;;;;;qBAwBU,4BAAyB,MAC9B,QAAQ,2BAAyB,QAC/B,iCAA+B,UAC7B,WAAS,eACJ,uBAAqB,oBAChB,eAAe,OAAO"}
@@ -1,8 +1,7 @@
1
1
  //#region src/interpreter/splitAndJoinInsertion.d.ts
2
- declare const splitInsertionTemplate: <T = any>(template: string, values?: Record<string, T>) => {
2
+ export declare const splitInsertionTemplate: <T = any>(template: string, values?: Record<string, T>) => {
3
3
  isSimple: boolean;
4
4
  parts: string | T[];
5
5
  };
6
6
  //#endregion
7
- export { splitInsertionTemplate };
8
7
  //# sourceMappingURL=splitAndJoinInsertion.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"splitAndJoinInsertion.d.ts","names":[],"sources":["../../../src/interpreter/splitAndJoinInsertion.ts"],"mappings":";cAaa,yBAA0B,SAAO,kBAC5B,SACR,eAAe;EACpB;EAAmB,gBAAgB"}
1
+ {"version":3,"file":"splitAndJoinInsertion.d.ts","names":[],"sources":["../../../src/interpreter/splitAndJoinInsertion.ts"],"mappings":";qBAaa,yBAA0B,SAAO,kBAC5B,SACR,eAAe;EACpB;EAAmB,gBAAgB"}
@@ -30,7 +30,7 @@ import { DeclaredLocales, LocalesValues } from "@intlayer/types/module_augmentat
30
30
  * configured locales.
31
31
  * @returns The normalized, locale-agnostic pathname.
32
32
  */
33
- declare const normalizePath: <const L extends LocalesValues = DeclaredLocales>(inputUrl: string, locales?: L[]) => string;
33
+ export declare const normalizePath: <const L extends LocalesValues = DeclaredLocales>(inputUrl: string, locales?: L[]) => string;
34
34
  /**
35
35
  * Compares two URLs or pathnames for equality, ignoring locale segment,
36
36
  * protocol/host, query string, hash and trailing slashes.
@@ -59,7 +59,6 @@ declare const normalizePath: <const L extends LocalesValues = DeclaredLocales>(i
59
59
  * configured locales.
60
60
  * @returns `true` when both inputs resolve to the same locale-agnostic path.
61
61
  */
62
- declare const comparePaths: <const L extends LocalesValues = DeclaredLocales>(pathname: string, href: string, locales?: L[]) => boolean;
62
+ export declare const comparePaths: <const L extends LocalesValues = DeclaredLocales>(pathname: string, href: string, locales?: L[]) => boolean;
63
63
  //#endregion
64
- export { comparePaths, normalizePath };
65
64
  //# sourceMappingURL=comparePaths.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"comparePaths.d.ts","names":[],"sources":["../../../src/localization/comparePaths.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAqCa,sBAAuB,UAAU,gBAAgB,iBAAe,kBAC3D,UACN;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA+CC,qBAAsB,UAAU,gBAAgB,iBAAe,kBAC1D,cACJ,UACF"}
1
+ {"version":3,"file":"comparePaths.d.ts","names":[],"sources":["../../../src/localization/comparePaths.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAqCa,sBAAuB,UAAU,gBAAgB,iBAAe,kBAC3D,UACN;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA+CC,qBAAsB,UAAU,gBAAgB,iBAAe,kBAC1D,cACJ,UACF"}
@@ -5,7 +5,7 @@ import { RoutingConfig } from "@intlayer/types/config";
5
5
  * The locale → domain map configured under `routing.domains`
6
6
  * (e.g. `{ en: 'intlayer.org', zh: 'intlayer.cn' }`).
7
7
  */
8
- type LocaleDomainMap = RoutingConfig['domains'];
8
+ export type LocaleDomainMap = RoutingConfig['domains'];
9
9
  /**
10
10
  * Strips the protocol from a domain string and returns only the hostname.
11
11
  *
@@ -19,7 +19,7 @@ type LocaleDomainMap = RoutingConfig['domains'];
19
19
  * @param domain - A domain value from `routing.domains`, with or without protocol.
20
20
  * @returns The bare hostname.
21
21
  */
22
- declare const getDomainHostname: (domain: string) => string;
22
+ export declare const getDomainHostname: (domain: string) => string;
23
23
  /**
24
24
  * Returns the absolute origin for a domain value, prepending `https://`
25
25
  * when no protocol is present.
@@ -34,7 +34,7 @@ declare const getDomainHostname: (domain: string) => string;
34
34
  * @param domain - A domain value from `routing.domains`, with or without protocol.
35
35
  * @returns The origin usable as a URL base.
36
36
  */
37
- declare const getDomainOrigin: (domain: string) => string;
37
+ export declare const getDomainOrigin: (domain: string) => string;
38
38
  /**
39
39
  * Returns the locale exclusively mapped to a given hostname via `routing.domains`,
40
40
  * or `undefined` when zero or more than one locale share that hostname.
@@ -51,7 +51,7 @@ declare const getDomainOrigin: (domain: string) => string;
51
51
  * @param domains - The configured locale → domain map.
52
52
  * @returns The exclusively mapped locale, or `undefined`.
53
53
  */
54
- declare const getLocaleFromDomain: (hostname: string, domains: LocaleDomainMap) => DeclaredLocales | undefined;
54
+ export declare const getLocaleFromDomain: (hostname: string, domains: LocaleDomainMap) => DeclaredLocales | undefined;
55
55
  /**
56
56
  * Checks whether a locale is the only locale mapped to its configured domain.
57
57
  * When true, the domain alone identifies the locale and no URL prefix is needed.
@@ -62,7 +62,6 @@ declare const getLocaleFromDomain: (hostname: string, domains: LocaleDomainMap)
62
62
  * @param domains - The configured locale → domain map.
63
63
  * @returns `true` when the locale has a domain shared with no other locale.
64
64
  */
65
- declare const isLocaleExclusiveOnDomain: (locale: LocalesValues, domains: LocaleDomainMap) => boolean;
65
+ export declare const isLocaleExclusiveOnDomain: (locale: LocalesValues, domains: LocaleDomainMap) => boolean;
66
66
  //#endregion
67
- export { LocaleDomainMap, getDomainHostname, getDomainOrigin, getLocaleFromDomain, isLocaleExclusiveOnDomain };
68
67
  //# sourceMappingURL=domainUtils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"domainUtils.d.ts","names":[],"sources":["../../../src/localization/domainUtils.ts"],"mappings":";;;;;;;KAUY,kBAAkB;;;;;;;;;;;;;;cAejB,oBAAiB;;;;;;;;;;;;;;;cAsBjB,kBAAe;;;;;;;;;;;;;;;;;cAmBf,sBAAmB,kBACd,SACP,oBACR;;;;;;;;;;;cAuBU,4BAAyB,QAC5B,eAAa,SACZ"}
1
+ {"version":3,"file":"domainUtils.d.ts","names":[],"sources":["../../../src/localization/domainUtils.ts"],"mappings":";;;;;;;YAUY,kBAAkB;;;;;;;;;;;;;;qBAejB,oBAAiB;;;;;;;;;;;;;;;qBAsBjB,kBAAe;;;;;;;;;;;;;;;;;qBAmBf,sBAAmB,kBACd,SACP,oBACR;;;;;;;;;;;qBAuBU,4BAAyB,QAC5B,eAAa,SACZ"}
@@ -1,7 +1,7 @@
1
1
  import { LocalesValues } from "@intlayer/types/module_augmentation";
2
2
  import { RoutingConfig } from "@intlayer/types/config";
3
3
  //#region src/localization/generateSitemap.d.ts
4
- type SitemapUrlEntry = {
4
+ export type SitemapUrlEntry = {
5
5
  /** The canonical path, e.g. '/dashboard' */
6
6
  path: string;
7
7
  changefreq?: string;
@@ -9,7 +9,7 @@ type SitemapUrlEntry = {
9
9
  /** ISO date string, e.g. '2024-01-15' */
10
10
  lastmod?: string;
11
11
  };
12
- type GenerateSitemapOptions = {
12
+ export type GenerateSitemapOptions = {
13
13
  /** Base site URL without trailing slash, e.g. 'https://example.com' */
14
14
  siteUrl: string;
15
15
  /**
@@ -85,7 +85,7 @@ type GenerateSitemapOptions = {
85
85
  * @param options - Configuration options.
86
86
  * @returns One or more `<url>` XML strings, joined by a newline.
87
87
  */
88
- declare const generateSitemapUrl: (path: string, options: SitemapUrlEntry & GenerateSitemapOptions) => string;
88
+ export declare const generateSitemapUrl: (path: string, options: SitemapUrlEntry & GenerateSitemapOptions) => string;
89
89
  /**
90
90
  * Generates a full XML sitemap string from an array of URL entries.
91
91
  *
@@ -114,7 +114,6 @@ declare const generateSitemapUrl: (path: string, options: SitemapUrlEntry & Gene
114
114
  * @param options - Sitemap generation options.
115
115
  * @returns A full XML sitemap string.
116
116
  */
117
- declare const generateSitemap: (entries: SitemapUrlEntry[], options: GenerateSitemapOptions) => string;
117
+ export declare const generateSitemap: (entries: SitemapUrlEntry[], options: GenerateSitemapOptions) => string;
118
118
  //#endregion
119
- export { GenerateSitemapOptions, SitemapUrlEntry, generateSitemap, generateSitemapUrl };
120
119
  //# sourceMappingURL=generateSitemap.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"generateSitemap.d.ts","names":[],"sources":["../../../src/localization/generateSitemap.ts"],"mappings":";;;KAMY;;EAEV;EACA;EACA;;EAEA;;KAGU;;EAEV;;;;;;;;;;;;;EAaA;;;;;;;;;;;;;;;;;;;;;EAqBA;EACA,UAAU;EACV,gBAAgB;EAChB,OAAO;EACP,UAAU;EACV,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAsFC,qBAAkB,cACjB,SACH,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAuFhB,kBAAe,SACjB,mBAAiB,SACjB"}
1
+ {"version":3,"file":"generateSitemap.d.ts","names":[],"sources":["../../../src/localization/generateSitemap.ts"],"mappings":";;;YAMY;;EAEV;EACA;EACA;;EAEA;;YAGU;;EAEV;;;;;;;;;;;;;EAaA;;;;;;;;;;;;;;;;;;;;;EAqBA;EACA,UAAU;EACV,gBAAgB;EAChB,OAAO;EACP,UAAU;EACV,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAsFC,qBAAkB,cACjB,SACH,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAuFhB,kBAAe,SACjB,mBAAiB,SACjB"}