@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
@@ -1,6 +1,6 @@
1
1
  import { Locale } from "@intlayer/types/allLocales";
2
2
  //#region src/localization/getBrowserLocale.d.ts
3
- declare enum LanguageDetector {
3
+ export declare enum LanguageDetector {
4
4
  Querystring = "querystring",
5
5
  Storage = "storage",
6
6
  Navigator = "navigator",
@@ -26,7 +26,6 @@ type LanguageDetectorOptions = {
26
26
  * @example
27
27
  * const locale = getBrowserLocale({ order: [LanguageDetector.Storage, LanguageDetector.Navigator] });
28
28
  */
29
- declare const getBrowserLocale: (userOptions?: LanguageDetectorOptions | undefined) => Locale;
29
+ export declare const getBrowserLocale: (userOptions?: LanguageDetectorOptions | undefined) => Locale;
30
30
  //#endregion
31
- export { LanguageDetector, getBrowserLocale };
32
31
  //# sourceMappingURL=getBrowserLocale.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getBrowserLocale.d.ts","names":[],"sources":["../../../src/localization/getBrowserLocale.tsx"],"mappings":";;aAMY;EACV;EACA;EACA;EACA;;KAIG;EACH,QAAQ;EACR;EACA,UAAU;;;;;;;;;;;;;;;;;cA4JC,mBAAgB,cACd,wCACZ"}
1
+ {"version":3,"file":"getBrowserLocale.d.ts","names":[],"sources":["../../../src/localization/getBrowserLocale.tsx"],"mappings":";;oBAMY;EACV;EACA;EACA;EACA;;KAIG;EACH,QAAQ;EACR;EACA,UAAU;;;;;;;;;;;;;;;;;qBA4JC,mBAAgB,cACd,wCACZ"}
@@ -13,7 +13,6 @@ import { RewriteRules, RoutingConfig } from "@intlayer/types/config";
13
13
  * @param rewriteRules - Raw `routing.rewrite` configuration or already-normalized
14
14
  * rules. Defaults to the project configuration's `routing.rewrite`.
15
15
  */
16
- declare const getCanonicalPath: <const Path extends string, const Locale extends LocalesValues = LocalesValues>(localizedPath: Path, locale?: Locale, rewriteRules?: RoutingConfig['rewrite'] | RewriteRules) => string;
16
+ export declare const getCanonicalPath: <const Path extends string, const Locale extends LocalesValues = LocalesValues>(localizedPath: Path, locale?: Locale, rewriteRules?: RoutingConfig['rewrite'] | RewriteRules) => string;
17
17
  //#endregion
18
- export { getCanonicalPath };
19
18
  //# sourceMappingURL=getCanonicalPath.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getCanonicalPath.d.ts","names":[],"sources":["../../../src/localization/getCanonicalPath.ts"],"mappings":";;;;;;;;;;;;;;;cAkCa,yBACL,2BACA,eAAe,gBAAgB,eAAa,eAEnC,MAAI,SACV,QAAM,eACA,2BAA2B"}
1
+ {"version":3,"file":"getCanonicalPath.d.ts","names":[],"sources":["../../../src/localization/getCanonicalPath.ts"],"mappings":";;;;;;;;;;;;;;;qBAkCa,yBACL,2BACA,eAAe,gBAAgB,eAAa,eAEnC,MAAI,SACV,QAAM,eACA,2BAA2B"}
@@ -14,7 +14,6 @@ type Dir = 'ltr' | 'rtl' | 'auto';
14
14
  * @param locale The locale to get the text direction for.
15
15
  * @returns The text direction of the given locale.
16
16
  */
17
- declare const getHTMLTextDir: (locale?: LocalesValues) => Dir;
17
+ export declare const getHTMLTextDir: (locale?: LocalesValues) => Dir;
18
18
  //#endregion
19
- export { getHTMLTextDir };
20
19
  //# sourceMappingURL=getHTMLTextDir.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getHTMLTextDir.d.ts","names":[],"sources":["../../../src/localization/getHTMLTextDir.ts"],"mappings":";;KAEK;;;;;;;;;;;;;;cA0BQ,iBAAc,SAAa,kBAAgB"}
1
+ {"version":3,"file":"getHTMLTextDir.d.ts","names":[],"sources":["../../../src/localization/getHTMLTextDir.ts"],"mappings":";;KAEK;;;;;;;;;;;;;;qBA0BQ,iBAAc,SAAa,kBAAgB"}
@@ -1,10 +1,9 @@
1
1
  import { DeclaredLocales } from "@intlayer/types/module_augmentation";
2
2
  //#region src/localization/getLocale.d.ts
3
- type RequestContext = {
3
+ export type RequestContext = {
4
4
  getHeader?: (name: string) => string | null | undefined;
5
5
  getCookie?: (name: string) => string | null | undefined;
6
6
  };
7
- declare const getLocale: (ctx?: RequestContext) => Promise<DeclaredLocales>;
7
+ export declare const getLocale: (ctx?: RequestContext) => Promise<DeclaredLocales>;
8
8
  //#endregion
9
- export { RequestContext, getLocale };
10
9
  //# sourceMappingURL=getLocale.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getLocale.d.ts","names":[],"sources":["../../../src/localization/getLocale.ts"],"mappings":";;KAOY;EACV,aAAa;EACb,aAAa;;cAGF,YAAS,MACf,mBACJ,QAAQ"}
1
+ {"version":3,"file":"getLocale.d.ts","names":[],"sources":["../../../src/localization/getLocale.ts"],"mappings":";;YAOY;EACV,aAAa;EACb,aAAa;;qBAGF,YAAS,MACf,mBACJ,QAAQ"}
@@ -13,7 +13,6 @@ import { DeclaredLocales } from "@intlayer/types/module_augmentation";
13
13
  * @param inputUrl - The complete URL string or pathname to process.
14
14
  * @returns The detected locale, default locale (if fallback/implicit), or undefined.
15
15
  */
16
- declare const getLocaleFromPath: (inputUrl?: string, options?: RoutingOptions) => DeclaredLocales | undefined;
16
+ export declare const getLocaleFromPath: (inputUrl?: string, options?: RoutingOptions) => DeclaredLocales | undefined;
17
17
  //#endregion
18
- export { getLocaleFromPath };
19
18
  //# sourceMappingURL=getLocaleFromPath.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getLocaleFromPath.d.ts","names":[],"sources":["../../../src/localization/getLocaleFromPath.ts"],"mappings":";;;;;;;;;;;;;;;cAoBa,oBAAiB,mBACZ,UACN,mBACT"}
1
+ {"version":3,"file":"getLocaleFromPath.d.ts","names":[],"sources":["../../../src/localization/getLocaleFromPath.ts"],"mappings":";;;;;;;;;;;;;;;qBAoBa,oBAAiB,mBACZ,UACN,mBACT"}
@@ -13,7 +13,6 @@ import { GetLocaleLang, LocalesValues } from "@intlayer/types/module_augmentatio
13
13
  * @param locale The locale to get the language code for.
14
14
  * @returns The language code of the given locale.
15
15
  */
16
- declare const getLocaleLang: <const L extends LocalesValues>(locale?: L) => GetLocaleLang<L & string>;
16
+ export declare const getLocaleLang: <const L extends LocalesValues>(locale?: L) => GetLocaleLang<L & string>;
17
17
  //#endregion
18
- export { getLocaleLang };
19
18
  //# sourceMappingURL=getLocaleLang.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getLocaleLang.d.ts","names":[],"sources":["../../../src/localization/getLocaleLang.ts"],"mappings":";;;;;;;;;;;;;;;cAkBa,sBAAuB,UAAU,eAAa,SAChD,MACR,cAAc"}
1
+ {"version":3,"file":"getLocaleLang.d.ts","names":[],"sources":["../../../src/localization/getLocaleLang.ts"],"mappings":";;;;;;;;;;;;;;;qBAkBa,sBAAuB,UAAU,eAAa,SAChD,MACR,cAAc"}
@@ -1,6 +1,5 @@
1
1
  import { LocalesValues } from "@intlayer/types/module_augmentation";
2
2
  //#region src/localization/getLocaleName.d.ts
3
- declare const getLocaleName: (displayLocale: LocalesValues, targetLocale?: LocalesValues) => string;
3
+ export declare const getLocaleName: (displayLocale: LocalesValues, targetLocale?: LocalesValues) => string;
4
4
  //#endregion
5
- export { getLocaleName };
6
5
  //# sourceMappingURL=getLocaleName.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getLocaleName.d.ts","names":[],"sources":["../../../src/localization/getLocaleName.ts"],"mappings":";;cAGa,gBAAa,eACT,eAAa,eACd"}
1
+ {"version":3,"file":"getLocaleName.d.ts","names":[],"sources":["../../../src/localization/getLocaleName.ts"],"mappings":";;qBAGa,gBAAa,eACT,eAAa,eACd"}
@@ -44,7 +44,6 @@ import { LocalesValues, LocalizedPathname, ResolvedDefaultLocale } from "@intlay
44
44
  * itself is never emitted.
45
45
  * @returns The localized path for the target locale.
46
46
  */
47
- declare const getLocalizedPath: <const CanonicalPath extends string, const CurrentLocale extends LocalesValues = ResolvedDefaultLocale>(canonicalPath: CanonicalPath, locale?: CurrentLocale, options?: RoutingOptions) => LocalizedPathname<CanonicalPath, CurrentLocale>;
47
+ export declare const getLocalizedPath: <const CanonicalPath extends string, const CurrentLocale extends LocalesValues = ResolvedDefaultLocale>(canonicalPath: CanonicalPath, locale?: CurrentLocale, options?: RoutingOptions) => LocalizedPathname<CanonicalPath, CurrentLocale>;
48
48
  //#endregion
49
- export { getLocalizedPath };
50
49
  //# sourceMappingURL=getLocalizedPath.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getLocalizedPath.d.ts","names":[],"sources":["../../../src/localization/getLocalizedPath.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA4Da,yBACL,oCACA,sBAAsB,gBAAgB,uBAAqB,eAElD,eAAa,SACpB,eAAa,UACZ,mBACR,kBAAkB,eAAe"}
1
+ {"version":3,"file":"getLocalizedPath.d.ts","names":[],"sources":["../../../src/localization/getLocalizedPath.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA4Da,yBACL,oCACA,sBAAsB,gBAAgB,uBAAqB,eAElD,eAAa,SACpB,eAAa,UACZ,mBACR,kBAAkB,eAAe"}
@@ -57,7 +57,6 @@ import { LocalesValues, LocalizedUrl, ResolvedDefaultLocale } from "@intlayer/ty
57
57
  * of the two URLs this function can return — the absolute one on that domain,
58
58
  * and the relative one it returns when the current page already lives there.
59
59
  */
60
- declare const getLocalizedUrl: <const T extends string, const L extends LocalesValues = ResolvedDefaultLocale>(url: T, currentLocale?: L, options?: RoutingOptions) => LocalizedUrl<T, L>;
60
+ export declare const getLocalizedUrl: <const T extends string, const L extends LocalesValues = ResolvedDefaultLocale>(url: T, currentLocale?: L, options?: RoutingOptions) => LocalizedUrl<T, L>;
61
61
  //#endregion
62
- export { getLocalizedUrl };
63
62
  //# sourceMappingURL=getLocalizedUrl.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getLocalizedUrl.d.ts","names":[],"sources":["../../../src/localization/getLocalizedUrl.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAmEa,wBACL,wBACA,UAAU,gBAAgB,uBAAqB,KAEhD,GAAC,gBACS,GAAC,UACP,mBACR,aAAa,GAAG"}
1
+ {"version":3,"file":"getLocalizedUrl.d.ts","names":[],"sources":["../../../src/localization/getLocalizedUrl.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAmEa,wBACL,wBACA,UAAU,gBAAgB,uBAAqB,KAEhD,GAAC,gBACS,GAAC,UACP,mBACR,aAAa,GAAG"}
@@ -35,7 +35,6 @@ import { StrictModeLocaleMap } from "@intlayer/types/module_augmentation";
35
35
  * @param options.mode - URL routing mode for locale handling. Defaults to configured mode.
36
36
  * @returns An object mapping each locale to its corresponding multilingual URL.
37
37
  */
38
- declare const getMultilingualUrls: (url: string, options?: RoutingOptions) => StrictModeLocaleMap<string>;
38
+ export declare const getMultilingualUrls: (url: string, options?: RoutingOptions) => StrictModeLocaleMap<string>;
39
39
  //#endregion
40
- export { getMultilingualUrls };
41
40
  //# sourceMappingURL=getMultilingualUrls.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getMultilingualUrls.d.ts","names":[],"sources":["../../../src/localization/getMultilingualUrls.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAsCa,sBAAmB,aACnB,UACF,mBACR"}
1
+ {"version":3,"file":"getMultilingualUrls.d.ts","names":[],"sources":["../../../src/localization/getMultilingualUrls.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAsCa,sBAAmB,aACnB,UACF,mBACR"}
@@ -29,7 +29,6 @@ import { DeclaredLocales, LocalesValues, PathWithoutLocale } from "@intlayer/typ
29
29
  * and `locales` are string literals known at compile time. Absolute URLs fall
30
30
  * back to `string`.
31
31
  */
32
- declare const getPathWithoutLocale: <const T extends string, const L extends LocalesValues = DeclaredLocales>(inputUrl: T, locales?: L[]) => PathWithoutLocale<T, L>;
32
+ export declare const getPathWithoutLocale: <const T extends string, const L extends LocalesValues = DeclaredLocales>(inputUrl: T, locales?: L[]) => PathWithoutLocale<T, L>;
33
33
  //#endregion
34
- export { getPathWithoutLocale };
35
34
  //# sourceMappingURL=getPathWithoutLocale.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getPathWithoutLocale.d.ts","names":[],"sources":["../../../src/localization/getPathWithoutLocale.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA0Da,6BACL,wBACA,UAAU,gBAAgB,iBAAe,UAErC,GAAC,UACF,QACR,kBAAkB,GAAG"}
1
+ {"version":3,"file":"getPathWithoutLocale.d.ts","names":[],"sources":["../../../src/localization/getPathWithoutLocale.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA0Da,6BACL,wBACA,UAAU,gBAAgB,iBAAe,UAErC,GAAC,UACF,QACR,kBAAkB,GAAG"}
@@ -4,7 +4,7 @@ import { RewriteRules, RoutingConfig } from "@intlayer/types/config";
4
4
  /**
5
5
  * Shared routing options used across all URL localization functions.
6
6
  */
7
- type RoutingOptions = {
7
+ export type RoutingOptions = {
8
8
  locales?: LocalesValues[];
9
9
  defaultLocale?: LocalesValues;
10
10
  mode?: RoutingConfig['mode'];
@@ -27,7 +27,7 @@ type RoutingOptions = {
27
27
  * Resolves routing configuration by merging provided options with configuration defaults.
28
28
  * Single source of truth for default routing config resolution across all localization functions.
29
29
  */
30
- declare const resolveRoutingConfig: (options?: RoutingOptions) => Omit<RoutingOptions, 'defaultLocale' | 'mode' | 'locales'> & {
30
+ export declare const resolveRoutingConfig: (options?: RoutingOptions) => Omit<RoutingOptions, 'defaultLocale' | 'mode' | 'locales'> & {
31
31
  defaultLocale: DeclaredLocales;
32
32
  mode: RoutingConfig['mode'];
33
33
  locales: DeclaredLocales[];
@@ -44,12 +44,12 @@ declare const resolveRoutingConfig: (options?: RoutingOptions) => Omit<RoutingOp
44
44
  * @param locales - The locales declared by the configuration.
45
45
  * @returns Whether `value` is one of the declared locales.
46
46
  */
47
- declare const isDeclaredLocale: (value: LocalesValues | undefined | null, locales?: readonly LocalesValues[]) => value is DeclaredLocales;
48
- type GetPrefixOptions = {
47
+ export declare const isDeclaredLocale: (value: LocalesValues | undefined | null, locales?: readonly LocalesValues[]) => value is DeclaredLocales;
48
+ export type GetPrefixOptions = {
49
49
  defaultLocale?: ResolvedDefaultLocale;
50
50
  mode?: RoutingConfig['mode'];
51
51
  };
52
- type GetPrefixResult = {
52
+ export type GetPrefixResult = {
53
53
  /**
54
54
  * The locale path segment appended to `/`, with a trailing slash (e.g. `'fr/'`).
55
55
  * Empty string when no prefix is needed.
@@ -71,7 +71,7 @@ type GetPrefixResult = {
71
71
  * Note: the "locale not in locales" edge case returns an empty result at runtime
72
72
  * regardless of what this type reports.
73
73
  */
74
- type GetPrefixResultNarrowed<L extends LocalesValues | undefined, Mode extends string = ResolvedRoutingMode, Default extends LocalesValues = ResolvedDefaultLocale, Domains extends DomainRuleMap = ResolvedDomains> = L extends string ? [string] extends [L] ? GetPrefixResultNarrowed<DeclaredLocales, Mode, Default, Domains> : IsDomainExclusive<L, Domains> extends true ? {
74
+ export type GetPrefixResultNarrowed<L extends LocalesValues | undefined, Mode extends string = ResolvedRoutingMode, Default extends LocalesValues = ResolvedDefaultLocale, Domains extends DomainRuleMap = ResolvedDomains> = L extends string ? [string] extends [L] ? GetPrefixResultNarrowed<DeclaredLocales, Mode, Default, Domains> : IsDomainExclusive<L, Domains> extends true ? {
75
75
  prefix: '';
76
76
  localePrefix: undefined;
77
77
  } : [string] extends [Mode] ? GetPrefixResult : Mode extends 'prefix-all' ? {
@@ -123,7 +123,6 @@ type GetPrefixResultNarrowed<L extends LocalesValues | undefined, Mode extends s
123
123
  * @param options.mode - URL routing mode for locale handling. Defaults to configured mode.
124
124
  * @returns An object containing pathPrefix, prefix, and localePrefix for the given locale.
125
125
  */
126
- declare const getPrefix: <const L extends LocalesValues | undefined>(locale: L, options?: RoutingOptions) => GetPrefixResultNarrowed<L>;
126
+ export declare const getPrefix: <const L extends LocalesValues | undefined>(locale: L, options?: RoutingOptions) => GetPrefixResultNarrowed<L>;
127
127
  //#endregion
128
- export { GetPrefixOptions, GetPrefixResult, GetPrefixResultNarrowed, RoutingOptions, getPrefix, isDeclaredLocale, resolveRoutingConfig };
129
128
  //# sourceMappingURL=getPrefix.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getPrefix.d.ts","names":[],"sources":["../../../src/localization/getPrefix.ts"],"mappings":";;;;;;KAqBY;EACV,UAAU;EACV,gBAAgB;EAChB,OAAO;EACP,UAAU,2BAA2B;EACrC,UAAU;;;;;;;;;;;;EAYV;;;;;;cAOW,uBAAoB,UACtB,mBACR,KAAK;EACN,eAAe;EACf,MAAM;EACN,SAAS;;;;;;;;;;;;;;cAsBE,mBAAgB,OACpB,kCAAgC,mBACpB,oBAClB,SAAS;KAGA;EACV,gBAAgB;EAChB,OAAO;;KAGG;;;;;EAKV;;;;EAIA,cAAc;;;;;;;;;;;;;KAcJ,wBACV,UAAU,2BACV,sBAAsB,qBACtB,gBAAgB,gBAAgB,uBAChC,gBAAgB,gBAAgB,mBAC9B,qCACkB,KAChB,wBAAwB,iBAAiB,MAAM,SAAS,WACxD,kBAAkB,GAAG;EACjB;EAAY;sBACI,QAChB,kBACA;EACI,WAAW;EAAM,cAAc;IACjC,mCACE,UAAU;EACN;EAAY;;EACZ,WAAW;EAAM,cAAc;;EACjC;EAAY;;EACtB;EAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAmCL,kBAAmB,UAAU,2BAAyB,QACzD,GAAC,UACA,mBACR,wBAAwB"}
1
+ {"version":3,"file":"getPrefix.d.ts","names":[],"sources":["../../../src/localization/getPrefix.ts"],"mappings":";;;;;;YAqBY;EACV,UAAU;EACV,gBAAgB;EAChB,OAAO;EACP,UAAU,2BAA2B;EACrC,UAAU;;;;;;;;;;;;EAYV;;;;;;qBAOW,uBAAoB,UACtB,mBACR,KAAK;EACN,eAAe;EACf,MAAM;EACN,SAAS;;;;;;;;;;;;;;qBAsBE,mBAAgB,OACpB,kCAAgC,mBACpB,oBAClB,SAAS;YAGA;EACV,gBAAgB;EAChB,OAAO;;YAGG;;;;;EAKV;;;;EAIA,cAAc;;;;;;;;;;;;;YAcJ,wBACV,UAAU,2BACV,sBAAsB,qBACtB,gBAAgB,gBAAgB,uBAChC,gBAAgB,gBAAgB,mBAC9B,qCACkB,KAChB,wBAAwB,iBAAiB,MAAM,SAAS,WACxD,kBAAkB,GAAG;EACjB;EAAY;sBACI,QAChB,kBACA;EACI,WAAW;EAAM,cAAc;IACjC,mCACE,UAAU;EACN;EAAY;;EACZ,WAAW;EAAM,cAAc;;EACjC;EAAY;;EACtB;EAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAmCL,kBAAmB,UAAU,2BAAyB,QACzD,GAAC,UACA,mBACR,wBAAwB"}
@@ -5,14 +5,13 @@ import { Locale } from "@intlayer/types/allLocales";
5
5
  * Derives the list of preferred languages based on the Accept-Language header
6
6
  * and an optional list of available languages.
7
7
  */
8
- declare const getPreferredLanguages: (acceptHeader: string | undefined, availableLanguages?: string[]) => string[];
8
+ export declare const getPreferredLanguages: (acceptHeader: string | undefined, availableLanguages?: string[]) => string[];
9
9
  /**
10
10
  * Detects the locale from the request headers.
11
11
  *
12
12
  * Headers are provided by the browser/client and can be used to determine the user's preferred language.
13
13
  * This function intersects the user's `Accept-Language` header with the application's available locales.
14
14
  */
15
- declare const localeDetector: (headers: Record<string, string | undefined>, availableLocales?: Locale[], defaultLocale?: Locale) => DeclaredLocales;
15
+ export declare const localeDetector: (headers: Record<string, string | undefined>, availableLocales?: Locale[], defaultLocale?: Locale) => DeclaredLocales;
16
16
  //#endregion
17
- export { getPreferredLanguages, localeDetector };
18
17
  //# sourceMappingURL=localeDetector.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"localeDetector.d.ts","names":[],"sources":["../../../src/localization/localeDetector.ts"],"mappings":";;;;;;;cAqNa,wBAAqB,kCACA;;;;;;;cAgCrB,iBAAc,SAChB,oCAAkC,mBACxB,UAAQ,gBACX,WACf"}
1
+ {"version":3,"file":"localeDetector.d.ts","names":[],"sources":["../../../src/localization/localeDetector.ts"],"mappings":";;;;;;;qBAqNa,wBAAqB,kCACA;;;;;;;qBAgCrB,iBAAc,SAChB,oCAAkC,mBACxB,UAAQ,gBACX,WACf"}
@@ -1,6 +1,6 @@
1
1
  import { DeclaredLocales, LocalesValues } from "@intlayer/types/module_augmentation";
2
2
  //#region src/localization/localeMapper.d.ts
3
- type LocaleData = {
3
+ export type LocaleData = {
4
4
  locale: DeclaredLocales;
5
5
  defaultLocale: DeclaredLocales;
6
6
  isDefault: boolean;
@@ -33,7 +33,7 @@ type LocaleData = {
33
33
  * @param mapper - The mapper function that returns an object
34
34
  * @returns An array of objects
35
35
  */
36
- declare const localeMap: <T>(mapper: (locale: LocaleData) => T, locales?: LocalesValues[], defaultLocale?: LocalesValues, mode?: 'prefix-no-default' | 'prefix-all' | 'no-prefix' | 'search-params') => T[];
36
+ export declare const localeMap: <T>(mapper: (locale: LocaleData) => T, locales?: LocalesValues[], defaultLocale?: LocalesValues, mode?: 'prefix-no-default' | 'prefix-all' | 'no-prefix' | 'search-params') => T[];
37
37
  /**
38
38
  * Flatten the locale map into a single array of objects
39
39
  *
@@ -60,7 +60,7 @@ declare const localeMap: <T>(mapper: (locale: LocaleData) => T, locales?: Locale
60
60
  * @param mapper - The mapper function that returns an array of objects
61
61
  * @returns An array of objects
62
62
  */
63
- declare const localeFlatMap: <T>(mapper: (locale: LocaleData) => T[], locales?: LocalesValues[], defaultLocale?: LocalesValues, mode?: 'prefix-no-default' | 'prefix-all' | 'no-prefix' | 'search-params') => T[];
63
+ export declare const localeFlatMap: <T>(mapper: (locale: LocaleData) => T[], locales?: LocalesValues[], defaultLocale?: LocalesValues, mode?: 'prefix-no-default' | 'prefix-all' | 'no-prefix' | 'search-params') => T[];
64
64
  /**
65
65
  * Creates a record object mapping locales to values transformed by the mapper function
66
66
  *
@@ -84,7 +84,6 @@ declare const localeFlatMap: <T>(mapper: (locale: LocaleData) => T[], locales?:
84
84
  * @param mode - URL routing mode for locale handling (defaults to configured value)
85
85
  * @returns Record mapping locale codes to mapped values
86
86
  */
87
- declare const localeRecord: <T>(mapper: (locale: LocaleData) => T, locales?: LocalesValues[], defaultLocale?: LocalesValues, mode?: 'prefix-no-default' | 'prefix-all' | 'no-prefix' | 'search-params') => Record<LocalesValues, T>;
87
+ export declare const localeRecord: <T>(mapper: (locale: LocaleData) => T, locales?: LocalesValues[], defaultLocale?: LocalesValues, mode?: 'prefix-no-default' | 'prefix-all' | 'no-prefix' | 'search-params') => Record<LocalesValues, T>;
88
88
  //#endregion
89
- export { LocaleData, localeFlatMap, localeMap, localeRecord };
90
89
  //# sourceMappingURL=localeMapper.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"localeMapper.d.ts","names":[],"sources":["../../../src/localization/localeMapper.ts"],"mappings":";;KAQY;EACV,QAAQ;EACR,eAAe;EACf;EACA,SAAS;EACT;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA6BW,YAAa,GAAC,SAChB,QAAQ,eAAe,GAAC,UACxB,iBAAe,gBACT,eAAa,8EAO3B;;;;;;;;;;;;;;;;;;;;;;;;;;;cAwCU,gBAAiB,GAAC,SACpB,QAAQ,eAAe,KAAG,UAC1B,iBAAe,gBACT,eAAa,8EAO3B;;;;;;;;;;;;;;;;;;;;;;;;cAqCU,eAAgB,GAAC,SACnB,QAAQ,eAAe,GAAC,UACxB,iBAAe,gBACT,eAAa,8EAO3B,OAAO,eAAe"}
1
+ {"version":3,"file":"localeMapper.d.ts","names":[],"sources":["../../../src/localization/localeMapper.ts"],"mappings":";;YAQY;EACV,QAAQ;EACR,eAAe;EACf;EACA,SAAS;EACT;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA6BW,YAAa,GAAC,SAChB,QAAQ,eAAe,GAAC,UACxB,iBAAe,gBACT,eAAa,8EAO3B;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAwCU,gBAAiB,GAAC,SACpB,QAAQ,eAAe,KAAG,UAC1B,iBAAe,gBACT,eAAa,8EAO3B;;;;;;;;;;;;;;;;;;;;;;;;qBAqCU,eAAgB,GAAC,SACnB,QAAQ,eAAe,GAAC,UACxB,iBAAe,gBACT,eAAa,8EAO3B,OAAO,eAAe"}
@@ -4,7 +4,6 @@ import { DeclaredLocales, LocalesValues } from "@intlayer/types/module_augmentat
4
4
  * Resolves the most specific locale from a user-provided list,
5
5
  * or falls back to the default locale if no match is found.
6
6
  */
7
- declare const localeResolver: (selectedLocale: LocalesValues | LocalesValues[], locales?: LocalesValues[], defaultLocale?: LocalesValues) => DeclaredLocales;
7
+ export declare const localeResolver: (selectedLocale: LocalesValues | LocalesValues[], locales?: LocalesValues[], defaultLocale?: LocalesValues) => DeclaredLocales;
8
8
  //#endregion
9
- export { localeResolver };
10
9
  //# sourceMappingURL=localeResolver.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"localeResolver.d.ts","names":[],"sources":["../../../src/localization/localeResolver.ts"],"mappings":";;;;;;cAUa,iBAAc,gBACT,gBAAgB,iBAAe,UACtC,iBAAe,gBACT,kBACd"}
1
+ {"version":3,"file":"localeResolver.d.ts","names":[],"sources":["../../../src/localization/localeResolver.ts"],"mappings":";;;;;;qBAUa,iBAAc,gBACT,gBAAgB,iBAAe,UACtC,iBAAe,gBACT,kBACd"}
@@ -13,7 +13,7 @@
13
13
  * - `'disabled'` — the option was explicitly set to `false`. The proxy is not
14
14
  * registered at all (Vite) or becomes a pass-through (Next.js).
15
15
  */
16
- type ProxyMode = 'auto' | 'forced' | 'disabled';
16
+ export type ProxyMode = 'auto' | 'forced' | 'disabled';
17
17
  /**
18
18
  * Resolves the effective {@link ProxyMode} from the `routing.enableProxy`
19
19
  * configuration value.
@@ -34,7 +34,7 @@ type ProxyMode = 'auto' | 'forced' | 'disabled';
34
34
  * resolveProxyMode(false); // 'disabled'
35
35
  * ```
36
36
  */
37
- declare const resolveProxyMode: (enableProxy?: boolean) => ProxyMode;
37
+ export declare const resolveProxyMode: (enableProxy?: boolean) => ProxyMode;
38
38
  /**
39
39
  * Indicates whether the proxy may use the locale held in storage (cookie or
40
40
  * header) as a source when deciding which locale a request resolves to.
@@ -59,7 +59,7 @@ declare const resolveProxyMode: (enableProxy?: boolean) => ProxyMode;
59
59
  * isProxyStorageLocaleEnabled('forced', true); // true — explicitly opted in
60
60
  * ```
61
61
  */
62
- declare const isProxyStorageLocaleEnabled: (proxyMode: ProxyMode, isDevServer: boolean) => boolean;
62
+ export declare const isProxyStorageLocaleEnabled: (proxyMode: ProxyMode, isDevServer: boolean) => boolean;
63
63
  /**
64
64
  * Builds the line announcing that a server has mounted the locale-routing
65
65
  * proxy.
@@ -86,7 +86,6 @@ declare const isProxyStorageLocaleEnabled: (proxyMode: ProxyMode, isDevServer: b
86
86
  * // Intlayer proxy enabled
87
87
  * ```
88
88
  */
89
- declare const formatProxyEnabledMessage: (isStorageLocaleSuppressed: boolean) => string;
89
+ export declare const formatProxyEnabledMessage: (isStorageLocaleSuppressed: boolean) => string;
90
90
  //#endregion
91
- export { ProxyMode, formatProxyEnabledMessage, isProxyStorageLocaleEnabled, resolveProxyMode };
92
91
  //# sourceMappingURL=proxyMode.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"proxyMode.d.ts","names":[],"sources":["../../../src/localization/proxyMode.ts"],"mappings":";;;;;;;;;;;;;;;KAiBY;;;;;;;;;;;;;;;;;;;;;cAsBC,mBAAgB,0BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;cAkC5C,8BAA2B,WAC3B,WAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;cA8BT,4BAAyB"}
1
+ {"version":3,"file":"proxyMode.d.ts","names":[],"sources":["../../../src/localization/proxyMode.ts"],"mappings":";;;;;;;;;;;;;;;YAiBY;;;;;;;;;;;;;;;;;;;;;qBAsBC,mBAAgB,0BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;qBAkC5C,8BAA2B,WAC3B,WAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA8BT,4BAAyB"}
@@ -15,7 +15,7 @@ import { LocalesValues } from "@intlayer/types/module_augmentation";
15
15
  * @param options - Routing overrides, defaulting to the built configuration.
16
16
  * @returns The resolved locale, falling back to the default locale off-browser.
17
17
  */
18
- declare const resolveBrowserLocale: (options?: RoutingOptions) => LocalesValues;
18
+ export declare const resolveBrowserLocale: (options?: RoutingOptions) => LocalesValues;
19
19
  /**
20
20
  * {@link resolveBrowserLocale}, memoized for the current URL.
21
21
  *
@@ -29,7 +29,6 @@ declare const resolveBrowserLocale: (options?: RoutingOptions) => LocalesValues;
29
29
  * chunks with that locale, instead of preloading the old one and silently
30
30
  * falling back to an asynchronous read.
31
31
  */
32
- declare const getPreloadLocale: () => LocalesValues;
32
+ export declare const getPreloadLocale: () => LocalesValues;
33
33
  //#endregion
34
- export { getPreloadLocale, resolveBrowserLocale };
35
34
  //# sourceMappingURL=resolveBrowserLocale.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"resolveBrowserLocale.d.ts","names":[],"sources":["../../../src/localization/resolveBrowserLocale.ts"],"mappings":";;;;;;;;;;;;;;;;;cAoBa,uBAAoB,UACrB,mBACT;;;;;;;;;;;;;;cAqDU,wBAAuB"}
1
+ {"version":3,"file":"resolveBrowserLocale.d.ts","names":[],"sources":["../../../src/localization/resolveBrowserLocale.ts"],"mappings":";;;;;;;;;;;;;;;;;qBAoBa,uBAAoB,UACrB,mBACT;;;;;;;;;;;;;;qBAqDU,wBAAuB"}
@@ -6,15 +6,14 @@ import { RewriteObject, RewriteRules, RoutingConfig } from "@intlayer/types/conf
6
6
  * Idempotent: already-normalized rules are handed back untouched, so a caller
7
7
  * holding resolved rules can pass them on without re-normalizing.
8
8
  */
9
- declare const getRewriteRules: <const Context extends keyof RewriteObject = 'url'>(rewrite: RoutingConfig['rewrite'] | RewriteRules, context?: Context) => RewriteRules | undefined;
9
+ export declare const getRewriteRules: <const Context extends keyof RewriteObject = 'url'>(rewrite: RoutingConfig['rewrite'] | RewriteRules, context?: Context) => RewriteRules | undefined;
10
10
  /**
11
11
  * Replaces route parameters in a path with provided values.
12
12
  */
13
- declare const fillPath: (pattern: string, params: string[]) => string;
13
+ export declare const fillPath: (pattern: string, params: string[]) => string;
14
14
  /**
15
15
  * Extract values from a URL based on a pattern.
16
16
  */
17
- declare const extractParams: (url: string, pattern: string) => string[] | null;
17
+ export declare const extractParams: (url: string, pattern: string) => string[] | null;
18
18
  //#endregion
19
- export { extractParams, fillPath, getRewriteRules };
20
19
  //# sourceMappingURL=rewriteMatch.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"rewriteMatch.d.ts","names":[],"sources":["../../../src/localization/rewriteMatch.ts"],"mappings":";;;;;;;;cAYa,wBACL,sBAAsB,uBAAqB,SAExC,2BAA2B,cAAY,UACvC,YACR;;;;cA+DU,WAAQ,iBAAmB;;;;cAa3B,gBAAa,aACb"}
1
+ {"version":3,"file":"rewriteMatch.d.ts","names":[],"sources":["../../../src/localization/rewriteMatch.ts"],"mappings":";;;;;;;;qBAYa,wBACL,sBAAsB,uBAAqB,SAExC,2BAA2B,cAAY,UACvC,YACR;;;;qBA+DU,WAAQ,iBAAmB;;;;qBAa3B,gBAAa,aACb"}
@@ -8,7 +8,7 @@ import { RewriteRules, RoutingConfig } from "@intlayer/types/config";
8
8
  * input that was passed in, so a literal input keeps its literal type. Only a
9
9
  * rewritten path is computed at runtime and therefore widens to `string`.
10
10
  */
11
- type LocalizedPathResult<CanonicalPath extends string = string> = {
11
+ export type LocalizedPathResult<CanonicalPath extends string = string> = {
12
12
  path: CanonicalPath;
13
13
  isRewritten: false;
14
14
  } | {
@@ -31,7 +31,7 @@ type WithLeadingSlash<Path extends string> = Path extends `/${string}` ? Path :
31
31
  * type B = InternalPath<'/', 'fr'>; // '/fr'
32
32
  * type C = InternalPath<'/fr/about', 'fr'>; // '/fr/about' (already prefixed)
33
33
  */
34
- type InternalPath<Path extends string, Locale extends string> = string extends Path ? string : WithLeadingSlash<Path> extends (infer Prefixed extends string) ? Prefixed extends `/${Locale}` | `/${Locale}/${string}` ? Prefixed : Prefixed extends '/' ? `/${Locale}` : `/${Locale}${Prefixed}` : never;
34
+ export type InternalPath<Path extends string, Locale extends string> = string extends Path ? string : WithLeadingSlash<Path> extends (infer Prefixed extends string) ? Prefixed extends `/${Locale}` | `/${Locale}/${string}` ? Prefixed : Prefixed extends '/' ? `/${Locale}` : `/${Locale}${Prefixed}` : never;
35
35
  /**
36
36
  * Given a canonical path (e.g., "/products/123"), finds the localized URL pattern
37
37
  * (e.g., "/produits/123") and reports whether a rule actually matched.
@@ -46,16 +46,15 @@ type InternalPath<Path extends string, Locale extends string> = string extends P
46
46
  * @param rewriteRules - Normalized rules, as returned by {@link getRewriteRules}.
47
47
  * @returns The localized path, discriminated on whether a rewrite rule matched.
48
48
  */
49
- declare const resolveLocalizedPath: <const CanonicalPath extends string, const Locale extends LocalesValues = ResolvedDefaultLocale>(canonicalPath: CanonicalPath, locale?: Locale, rewriteRules?: RewriteRules) => LocalizedPathResult<CanonicalPath>;
49
+ export declare const resolveLocalizedPath: <const CanonicalPath extends string, const Locale extends LocalesValues = ResolvedDefaultLocale>(canonicalPath: CanonicalPath, locale?: Locale, rewriteRules?: RewriteRules) => LocalizedPathResult<CanonicalPath>;
50
50
  /**
51
51
  * Returns the internal path for a given canonical path and locale.
52
52
  * Ensures the locale prefix is present exactly once.
53
53
  */
54
- declare const getInternalPath: <const Path extends string, const Locale extends LocalesValues>(canonicalPath: Path, locale: Locale) => InternalPath<Path, Locale>;
54
+ export declare const getInternalPath: <const Path extends string, const Locale extends LocalesValues>(canonicalPath: Path, locale: Locale) => InternalPath<Path, Locale>;
55
55
  /**
56
56
  * Given a current pathname and locale, returns the pretty localized path if a rewrite rule exists and the path is not already localized.
57
57
  */
58
- declare const getRewritePath: <const Path extends string, const Locale extends LocalesValues = ResolvedDefaultLocale>(pathname: Path, locale: Locale, rewrite?: RoutingConfig['rewrite']) => string | undefined;
58
+ export declare const getRewritePath: <const Path extends string, const Locale extends LocalesValues = ResolvedDefaultLocale>(pathname: Path, locale: Locale, rewrite?: RoutingConfig['rewrite']) => string | undefined;
59
59
  //#endregion
60
- export { InternalPath, LocalizedPathResult, getInternalPath, getRewritePath, resolveLocalizedPath };
61
60
  //# sourceMappingURL=rewriteUtils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"rewriteUtils.d.ts","names":[],"sources":["../../../src/localization/rewriteUtils.ts"],"mappings":";;;;;;;;;;KAgBY,oBAAoB;EAC1B,MAAM;EAAe;;EACrB;EAAc;;;KAGf,iBAAiB,uBAAuB,4BACzC,WACI;;;;;;;;;;;;;;;KAgBI,aACV,qBACA,wCACiB,gBAEf,iBAAiB,qBAAoB,2BACnC,qBAAqB,eAAe,qBAClC,WACA,2BACM,eACA,SAAS;;;;;;;;;;;;;;;cAiBV,6BACL,oCACA,eAAe,gBAAgB,uBAAqB,eAE3C,eAAa,SACnB,QAAM,eACA,iBACd,oBAAoB;;;;;cAkCV,wBACL,2BACA,eAAe,eAAa,eAEnB,MAAI,QACX,WACP,aAAa,MAAM;;;;cAoBT,uBACL,2BACA,eAAe,gBAAgB,uBAAqB,UAEhD,MAAI,QACN,QAAM,UACJ"}
1
+ {"version":3,"file":"rewriteUtils.d.ts","names":[],"sources":["../../../src/localization/rewriteUtils.ts"],"mappings":";;;;;;;;;;YAgBY,oBAAoB;EAC1B,MAAM;EAAe;;EACrB;EAAc;;;KAGf,iBAAiB,uBAAuB,4BACzC,WACI;;;;;;;;;;;;;;;YAgBI,aACV,qBACA,wCACiB,gBAEf,iBAAiB,qBAAoB,2BACnC,qBAAqB,eAAe,qBAClC,WACA,2BACM,eACA,SAAS;;;;;;;;;;;;;;;qBAiBV,6BACL,oCACA,eAAe,gBAAgB,uBAAqB,eAE3C,eAAa,SACnB,QAAM,eACA,iBACd,oBAAoB;;;;;qBAkCV,wBACL,2BACA,eAAe,eAAa,eAEnB,MAAI,QACX,WACP,aAAa,MAAM;;;;qBAoBT,uBACL,2BACA,eAAe,gBAAgB,uBAAqB,UAEhD,MAAI,QACN,QAAM,UACJ"}
@@ -1,7 +1,7 @@
1
1
  import { RoutingOptions } from "./getPrefix.js";
2
2
  import { LocalesValues } from "@intlayer/types/module_augmentation";
3
3
  //#region src/localization/validatePrefix.d.ts
4
- type ValidatePrefixResult = {
4
+ export type ValidatePrefixResult = {
5
5
  isValid: boolean;
6
6
  localePrefix: string | undefined;
7
7
  };
@@ -27,7 +27,6 @@ type ValidatePrefixResult = {
27
27
  * mode: 'prefix-all',
28
28
  * });
29
29
  */
30
- declare const validatePrefix: (locale: LocalesValues | undefined | null, options?: RoutingOptions) => ValidatePrefixResult;
30
+ export declare const validatePrefix: (locale: LocalesValues | undefined | null, options?: RoutingOptions) => ValidatePrefixResult;
31
31
  //#endregion
32
- export { ValidatePrefixResult, validatePrefix };
33
32
  //# sourceMappingURL=validatePrefix.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"validatePrefix.d.ts","names":[],"sources":["../../../src/localization/validatePrefix.ts"],"mappings":";;;KAyBY;EACV;EACA;;;;;;;;;;;;;;;;;;;;;;;;cAyBW,iBAAc,QACjB,kCAAgC,UAC9B,mBACT"}
1
+ {"version":3,"file":"validatePrefix.d.ts","names":[],"sources":["../../../src/localization/validatePrefix.ts"],"mappings":";;;YAyBY;EACV;EACA;;;;;;;;;;;;;;;;;;;;;;;;qBAyBW,iBAAc,QACjB,kCAAgC,UAC9B,mBACT"}
@@ -5,11 +5,11 @@ type FootnoteDef = {
5
5
  identifier: string;
6
6
  };
7
7
  /** Link/image reference definitions (`[id]: target "title"`) collected while parsing. */
8
- type MarkdownReferences = Record<string, {
8
+ export type MarkdownReferences = Record<string, {
9
9
  target: string;
10
10
  title?: string;
11
11
  }>;
12
- type ParsedMarkdown = {
12
+ export type ParsedMarkdown = {
13
13
  ast: any[];
14
14
  footnotes: FootnoteDef[];
15
15
  /**
@@ -20,11 +20,10 @@ type ParsedMarkdown = {
20
20
  references: MarkdownReferences;
21
21
  inline: boolean;
22
22
  };
23
- declare const parseMarkdown: (markdown: string, ctx: MarkdownContext<any>, options?: MarkdownOptions) => ParsedMarkdown;
24
- declare const renderMarkdownAst: (parsed: ParsedMarkdown, ctx: MarkdownContext<any>, options?: MarkdownOptions) => unknown;
25
- declare const compile: (markdown: string, ctx: MarkdownContext<any>, options?: MarkdownOptions) => unknown;
26
- declare const createCompiler: (ctx: MarkdownContext<any>) => (markdown: string, options?: MarkdownOptions) => unknown;
27
- declare const compileWithOptions: (markdown: string, runtime: MarkdownRuntime, options?: CompileOptions<any>) => unknown;
23
+ export declare const parseMarkdown: (markdown: string, ctx: MarkdownContext<any>, options?: MarkdownOptions) => ParsedMarkdown;
24
+ export declare const renderMarkdownAst: (parsed: ParsedMarkdown, ctx: MarkdownContext<any>, options?: MarkdownOptions) => unknown;
25
+ export declare const compile: (markdown: string, ctx: MarkdownContext<any>, options?: MarkdownOptions) => unknown;
26
+ export declare const createCompiler: (ctx: MarkdownContext<any>) => (markdown: string, options?: MarkdownOptions) => unknown;
27
+ export declare const compileWithOptions: (markdown: string, runtime: MarkdownRuntime, options?: CompileOptions<any>) => unknown;
28
28
  //#endregion
29
- export { MarkdownReferences, ParsedMarkdown, compile, compileWithOptions, createCompiler, parseMarkdown, renderMarkdownAst };
30
29
  //# sourceMappingURL=compiler.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"compiler.d.ts","names":[],"sources":["../../../src/markdown/compiler.ts"],"mappings":";;KA+GK;EAAgB;EAAkB;;;KAu6B3B,qBAAqB;EAE7B;EAAgB;;KAGR;EACV;EACA,WAAW;;;;;;EAMX,YAAY;EACZ;;cAqPW,gBAAa,kBACR,KACX,sBAAoB,UAChB,oBACR;cAcU,oBAAiB,QACpB,gBAAc,KACjB,sBAAoB,UAChB;cAcE,UAAO,kBACF,KACX,sBAAoB,UAChB;cA8BE,iBAAc,KACnB,0BAAoB,kBACT,UAAY;cAGlB,qBAAkB,kBACb,SACP,iBAAe,UACf"}
1
+ {"version":3,"file":"compiler.d.ts","names":[],"sources":["../../../src/markdown/compiler.ts"],"mappings":";;KA+GK;EAAgB;EAAkB;;;YAu6B3B,qBAAqB;EAE7B;EAAgB;;YAGR;EACV;EACA,WAAW;;;;;;EAMX,YAAY;EACZ;;qBAqPW,gBAAa,kBACR,KACX,sBAAoB,UAChB,oBACR;qBAcU,oBAAiB,QACpB,gBAAc,KACjB,sBAAoB,UAChB;qBAcE,UAAO,kBACF,KACX,sBAAoB,UAChB;qBA8BE,iBAAc,KACnB,0BAAoB,kBACT,UAAY;qBAGlB,qBAAkB,kBACb,SACP,iBAAe,UACf"}