@openclaw/matrix 2026.5.20 → 2026.5.24-beta.1

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 (4520) hide show
  1. package/dist/api.js +1 -1
  2. package/dist/{approval-handler.runtime-Dd07_8Bl.js → approval-handler.runtime-Bb6fxC96.js} +1 -1
  3. package/dist/{channel-D_CwbxZT.js → channel-nkcpZsMB.js} +2 -2
  4. package/dist/channel-plugin-api.js +1 -1
  5. package/dist/{monitor-BbxdWm4v.js → monitor-C-it5ue9.js} +23 -1
  6. package/dist/test-api.js +1 -1
  7. package/node_modules/@babel/runtime/LICENSE +22 -0
  8. package/node_modules/@babel/runtime/README.md +19 -0
  9. package/node_modules/@babel/runtime/helpers/AwaitValue.js +4 -0
  10. package/node_modules/@babel/runtime/helpers/OverloadYield.js +4 -0
  11. package/node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js +9 -0
  12. package/node_modules/@babel/runtime/helpers/applyDecs.js +236 -0
  13. package/node_modules/@babel/runtime/helpers/applyDecs2203.js +184 -0
  14. package/node_modules/@babel/runtime/helpers/applyDecs2203R.js +191 -0
  15. package/node_modules/@babel/runtime/helpers/applyDecs2301.js +222 -0
  16. package/node_modules/@babel/runtime/helpers/applyDecs2305.js +133 -0
  17. package/node_modules/@babel/runtime/helpers/applyDecs2311.js +124 -0
  18. package/node_modules/@babel/runtime/helpers/arrayLikeToArray.js +6 -0
  19. package/node_modules/@babel/runtime/helpers/arrayWithHoles.js +4 -0
  20. package/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js +5 -0
  21. package/node_modules/@babel/runtime/helpers/assertClassBrand.js +5 -0
  22. package/node_modules/@babel/runtime/helpers/assertThisInitialized.js +5 -0
  23. package/node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js +24 -0
  24. package/node_modules/@babel/runtime/helpers/asyncIterator.js +45 -0
  25. package/node_modules/@babel/runtime/helpers/asyncToGenerator.js +26 -0
  26. package/node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js +5 -0
  27. package/node_modules/@babel/runtime/helpers/callSuper.js +7 -0
  28. package/node_modules/@babel/runtime/helpers/checkInRHS.js +6 -0
  29. package/node_modules/@babel/runtime/helpers/checkPrivateRedeclaration.js +4 -0
  30. package/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js +10 -0
  31. package/node_modules/@babel/runtime/helpers/classApplyDescriptorGet.js +4 -0
  32. package/node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js +7 -0
  33. package/node_modules/@babel/runtime/helpers/classCallCheck.js +4 -0
  34. package/node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js +5 -0
  35. package/node_modules/@babel/runtime/helpers/classCheckPrivateStaticFieldDescriptor.js +4 -0
  36. package/node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js +5 -0
  37. package/node_modules/@babel/runtime/helpers/classNameTDZError.js +4 -0
  38. package/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js +7 -0
  39. package/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js +7 -0
  40. package/node_modules/@babel/runtime/helpers/classPrivateFieldGet2.js +5 -0
  41. package/node_modules/@babel/runtime/helpers/classPrivateFieldInitSpec.js +5 -0
  42. package/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js +5 -0
  43. package/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js +5 -0
  44. package/node_modules/@babel/runtime/helpers/classPrivateFieldSet.js +7 -0
  45. package/node_modules/@babel/runtime/helpers/classPrivateFieldSet2.js +5 -0
  46. package/node_modules/@babel/runtime/helpers/classPrivateGetter.js +5 -0
  47. package/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js +5 -0
  48. package/node_modules/@babel/runtime/helpers/classPrivateMethodInitSpec.js +5 -0
  49. package/node_modules/@babel/runtime/helpers/classPrivateMethodSet.js +4 -0
  50. package/node_modules/@babel/runtime/helpers/classPrivateSetter.js +5 -0
  51. package/node_modules/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js +7 -0
  52. package/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js +7 -0
  53. package/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js +7 -0
  54. package/node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js +5 -0
  55. package/node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js +4 -0
  56. package/node_modules/@babel/runtime/helpers/construct.js +10 -0
  57. package/node_modules/@babel/runtime/helpers/createClass.js +13 -0
  58. package/node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js +50 -0
  59. package/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js +19 -0
  60. package/node_modules/@babel/runtime/helpers/createSuper.js +16 -0
  61. package/node_modules/@babel/runtime/helpers/decorate.js +250 -0
  62. package/node_modules/@babel/runtime/helpers/defaults.js +9 -0
  63. package/node_modules/@babel/runtime/helpers/defineAccessor.js +8 -0
  64. package/node_modules/@babel/runtime/helpers/defineEnumerableProperties.js +12 -0
  65. package/node_modules/@babel/runtime/helpers/defineProperty.js +10 -0
  66. package/node_modules/@babel/runtime/helpers/dispose.js +28 -0
  67. package/node_modules/@babel/runtime/helpers/esm/AwaitValue.js +4 -0
  68. package/node_modules/@babel/runtime/helpers/esm/OverloadYield.js +4 -0
  69. package/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js +9 -0
  70. package/node_modules/@babel/runtime/helpers/esm/applyDecs.js +236 -0
  71. package/node_modules/@babel/runtime/helpers/esm/applyDecs2203.js +184 -0
  72. package/node_modules/@babel/runtime/helpers/esm/applyDecs2203R.js +191 -0
  73. package/node_modules/@babel/runtime/helpers/esm/applyDecs2301.js +222 -0
  74. package/node_modules/@babel/runtime/helpers/esm/applyDecs2305.js +133 -0
  75. package/node_modules/@babel/runtime/helpers/esm/applyDecs2311.js +124 -0
  76. package/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +6 -0
  77. package/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +4 -0
  78. package/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +5 -0
  79. package/node_modules/@babel/runtime/helpers/esm/assertClassBrand.js +5 -0
  80. package/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +5 -0
  81. package/node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js +24 -0
  82. package/node_modules/@babel/runtime/helpers/esm/asyncIterator.js +45 -0
  83. package/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js +26 -0
  84. package/node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js +5 -0
  85. package/node_modules/@babel/runtime/helpers/esm/callSuper.js +7 -0
  86. package/node_modules/@babel/runtime/helpers/esm/checkInRHS.js +6 -0
  87. package/node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js +4 -0
  88. package/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js +10 -0
  89. package/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js +4 -0
  90. package/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js +7 -0
  91. package/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +4 -0
  92. package/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js +5 -0
  93. package/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js +4 -0
  94. package/node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js +5 -0
  95. package/node_modules/@babel/runtime/helpers/esm/classNameTDZError.js +4 -0
  96. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js +7 -0
  97. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js +7 -0
  98. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet2.js +5 -0
  99. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js +5 -0
  100. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js +5 -0
  101. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js +5 -0
  102. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js +7 -0
  103. package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet2.js +5 -0
  104. package/node_modules/@babel/runtime/helpers/esm/classPrivateGetter.js +5 -0
  105. package/node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js +5 -0
  106. package/node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js +5 -0
  107. package/node_modules/@babel/runtime/helpers/esm/classPrivateMethodSet.js +4 -0
  108. package/node_modules/@babel/runtime/helpers/esm/classPrivateSetter.js +5 -0
  109. package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldDestructureSet.js +7 -0
  110. package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js +7 -0
  111. package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js +7 -0
  112. package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js +5 -0
  113. package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js +4 -0
  114. package/node_modules/@babel/runtime/helpers/esm/construct.js +10 -0
  115. package/node_modules/@babel/runtime/helpers/esm/createClass.js +13 -0
  116. package/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js +50 -0
  117. package/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js +19 -0
  118. package/node_modules/@babel/runtime/helpers/esm/createSuper.js +16 -0
  119. package/node_modules/@babel/runtime/helpers/esm/decorate.js +250 -0
  120. package/node_modules/@babel/runtime/helpers/esm/defaults.js +9 -0
  121. package/node_modules/@babel/runtime/helpers/esm/defineAccessor.js +8 -0
  122. package/node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js +12 -0
  123. package/node_modules/@babel/runtime/helpers/esm/defineProperty.js +10 -0
  124. package/node_modules/@babel/runtime/helpers/esm/dispose.js +28 -0
  125. package/node_modules/@babel/runtime/helpers/esm/extends.js +10 -0
  126. package/node_modules/@babel/runtime/helpers/esm/get.js +11 -0
  127. package/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +6 -0
  128. package/node_modules/@babel/runtime/helpers/esm/identity.js +4 -0
  129. package/node_modules/@babel/runtime/helpers/esm/importDeferProxy.js +27 -0
  130. package/node_modules/@babel/runtime/helpers/esm/inherits.js +14 -0
  131. package/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +5 -0
  132. package/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js +9 -0
  133. package/node_modules/@babel/runtime/helpers/esm/initializerWarningHelper.js +4 -0
  134. package/node_modules/@babel/runtime/helpers/esm/instanceof.js +4 -0
  135. package/node_modules/@babel/runtime/helpers/esm/interopRequireDefault.js +6 -0
  136. package/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js +22 -0
  137. package/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js +8 -0
  138. package/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +9 -0
  139. package/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +4 -0
  140. package/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +28 -0
  141. package/node_modules/@babel/runtime/helpers/esm/jsx.js +22 -0
  142. package/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js +9 -0
  143. package/node_modules/@babel/runtime/helpers/esm/newArrowCheck.js +4 -0
  144. package/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +4 -0
  145. package/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +4 -0
  146. package/node_modules/@babel/runtime/helpers/esm/nullishReceiverError.js +4 -0
  147. package/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js +4 -0
  148. package/node_modules/@babel/runtime/helpers/esm/objectSpread.js +14 -0
  149. package/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +23 -0
  150. package/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +13 -0
  151. package/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +10 -0
  152. package/node_modules/@babel/runtime/helpers/esm/package.json +3 -0
  153. package/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +8 -0
  154. package/node_modules/@babel/runtime/helpers/esm/readOnlyError.js +4 -0
  155. package/node_modules/@babel/runtime/helpers/esm/regenerator.js +89 -0
  156. package/node_modules/@babel/runtime/helpers/esm/regeneratorAsync.js +8 -0
  157. package/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncGen.js +6 -0
  158. package/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncIterator.js +33 -0
  159. package/node_modules/@babel/runtime/helpers/esm/regeneratorDefine.js +22 -0
  160. package/node_modules/@babel/runtime/helpers/esm/regeneratorKeys.js +10 -0
  161. package/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js +77 -0
  162. package/node_modules/@babel/runtime/helpers/esm/regeneratorValues.js +19 -0
  163. package/node_modules/@babel/runtime/helpers/esm/set.js +22 -0
  164. package/node_modules/@babel/runtime/helpers/esm/setFunctionName.js +12 -0
  165. package/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +6 -0
  166. package/node_modules/@babel/runtime/helpers/esm/skipFirstGeneratorNext.js +7 -0
  167. package/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +8 -0
  168. package/node_modules/@babel/runtime/helpers/esm/superPropBase.js +6 -0
  169. package/node_modules/@babel/runtime/helpers/esm/superPropGet.js +9 -0
  170. package/node_modules/@babel/runtime/helpers/esm/superPropSet.js +6 -0
  171. package/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +8 -0
  172. package/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js +4 -0
  173. package/node_modules/@babel/runtime/helpers/esm/tdz.js +4 -0
  174. package/node_modules/@babel/runtime/helpers/esm/temporalRef.js +6 -0
  175. package/node_modules/@babel/runtime/helpers/esm/temporalUndefined.js +2 -0
  176. package/node_modules/@babel/runtime/helpers/esm/toArray.js +8 -0
  177. package/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +8 -0
  178. package/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +12 -0
  179. package/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +7 -0
  180. package/node_modules/@babel/runtime/helpers/esm/toSetter.js +10 -0
  181. package/node_modules/@babel/runtime/helpers/esm/tsRewriteRelativeImportExtensions.js +6 -0
  182. package/node_modules/@babel/runtime/helpers/esm/typeof.js +10 -0
  183. package/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +9 -0
  184. package/node_modules/@babel/runtime/helpers/esm/using.js +12 -0
  185. package/node_modules/@babel/runtime/helpers/esm/usingCtx.js +59 -0
  186. package/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js +56 -0
  187. package/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js +27 -0
  188. package/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js +52 -0
  189. package/node_modules/@babel/runtime/helpers/esm/writeOnlyError.js +4 -0
  190. package/node_modules/@babel/runtime/helpers/extends.js +10 -0
  191. package/node_modules/@babel/runtime/helpers/get.js +11 -0
  192. package/node_modules/@babel/runtime/helpers/getPrototypeOf.js +6 -0
  193. package/node_modules/@babel/runtime/helpers/identity.js +4 -0
  194. package/node_modules/@babel/runtime/helpers/importDeferProxy.js +27 -0
  195. package/node_modules/@babel/runtime/helpers/inherits.js +14 -0
  196. package/node_modules/@babel/runtime/helpers/inheritsLoose.js +5 -0
  197. package/node_modules/@babel/runtime/helpers/initializerDefineProperty.js +9 -0
  198. package/node_modules/@babel/runtime/helpers/initializerWarningHelper.js +4 -0
  199. package/node_modules/@babel/runtime/helpers/instanceof.js +4 -0
  200. package/node_modules/@babel/runtime/helpers/interopRequireDefault.js +6 -0
  201. package/node_modules/@babel/runtime/helpers/interopRequireWildcard.js +22 -0
  202. package/node_modules/@babel/runtime/helpers/isNativeFunction.js +8 -0
  203. package/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js +9 -0
  204. package/node_modules/@babel/runtime/helpers/iterableToArray.js +4 -0
  205. package/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js +28 -0
  206. package/node_modules/@babel/runtime/helpers/jsx.js +22 -0
  207. package/node_modules/@babel/runtime/helpers/maybeArrayLike.js +9 -0
  208. package/node_modules/@babel/runtime/helpers/newArrowCheck.js +4 -0
  209. package/node_modules/@babel/runtime/helpers/nonIterableRest.js +4 -0
  210. package/node_modules/@babel/runtime/helpers/nonIterableSpread.js +4 -0
  211. package/node_modules/@babel/runtime/helpers/nullishReceiverError.js +4 -0
  212. package/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js +4 -0
  213. package/node_modules/@babel/runtime/helpers/objectSpread.js +14 -0
  214. package/node_modules/@babel/runtime/helpers/objectSpread2.js +23 -0
  215. package/node_modules/@babel/runtime/helpers/objectWithoutProperties.js +13 -0
  216. package/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +10 -0
  217. package/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js +8 -0
  218. package/node_modules/@babel/runtime/helpers/readOnlyError.js +4 -0
  219. package/node_modules/@babel/runtime/helpers/regenerator.js +89 -0
  220. package/node_modules/@babel/runtime/helpers/regeneratorAsync.js +8 -0
  221. package/node_modules/@babel/runtime/helpers/regeneratorAsyncGen.js +6 -0
  222. package/node_modules/@babel/runtime/helpers/regeneratorAsyncIterator.js +33 -0
  223. package/node_modules/@babel/runtime/helpers/regeneratorDefine.js +22 -0
  224. package/node_modules/@babel/runtime/helpers/regeneratorKeys.js +10 -0
  225. package/node_modules/@babel/runtime/helpers/regeneratorRuntime.js +77 -0
  226. package/node_modules/@babel/runtime/helpers/regeneratorValues.js +19 -0
  227. package/node_modules/@babel/runtime/helpers/set.js +22 -0
  228. package/node_modules/@babel/runtime/helpers/setFunctionName.js +12 -0
  229. package/node_modules/@babel/runtime/helpers/setPrototypeOf.js +6 -0
  230. package/node_modules/@babel/runtime/helpers/skipFirstGeneratorNext.js +7 -0
  231. package/node_modules/@babel/runtime/helpers/slicedToArray.js +8 -0
  232. package/node_modules/@babel/runtime/helpers/superPropBase.js +6 -0
  233. package/node_modules/@babel/runtime/helpers/superPropGet.js +9 -0
  234. package/node_modules/@babel/runtime/helpers/superPropSet.js +6 -0
  235. package/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js +8 -0
  236. package/node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js +4 -0
  237. package/node_modules/@babel/runtime/helpers/tdz.js +4 -0
  238. package/node_modules/@babel/runtime/helpers/temporalRef.js +6 -0
  239. package/node_modules/@babel/runtime/helpers/temporalUndefined.js +2 -0
  240. package/node_modules/@babel/runtime/helpers/toArray.js +8 -0
  241. package/node_modules/@babel/runtime/helpers/toConsumableArray.js +8 -0
  242. package/node_modules/@babel/runtime/helpers/toPrimitive.js +12 -0
  243. package/node_modules/@babel/runtime/helpers/toPropertyKey.js +7 -0
  244. package/node_modules/@babel/runtime/helpers/toSetter.js +10 -0
  245. package/node_modules/@babel/runtime/helpers/tsRewriteRelativeImportExtensions.js +6 -0
  246. package/node_modules/@babel/runtime/helpers/typeof.js +10 -0
  247. package/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js +9 -0
  248. package/node_modules/@babel/runtime/helpers/using.js +12 -0
  249. package/node_modules/@babel/runtime/helpers/usingCtx.js +59 -0
  250. package/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js +56 -0
  251. package/node_modules/@babel/runtime/helpers/wrapNativeSuper.js +27 -0
  252. package/node_modules/@babel/runtime/helpers/wrapRegExp.js +52 -0
  253. package/node_modules/@babel/runtime/helpers/writeOnlyError.js +4 -0
  254. package/node_modules/@babel/runtime/package.json +1107 -0
  255. package/node_modules/@babel/runtime/regenerator/index.js +15 -0
  256. package/node_modules/@borewit/text-codec/LICENSE.txt +9 -0
  257. package/node_modules/@borewit/text-codec/README.md +87 -0
  258. package/node_modules/@borewit/text-codec/lib/index.d.ts +6 -0
  259. package/node_modules/@borewit/text-codec/lib/index.js +380 -0
  260. package/node_modules/@borewit/text-codec/package.json +70 -0
  261. package/node_modules/@matrix-org/matrix-sdk-crypto-nodejs/.node-version +1 -0
  262. package/node_modules/@matrix-org/matrix-sdk-crypto-nodejs/CHANGELOG.md +104 -0
  263. package/node_modules/@matrix-org/matrix-sdk-crypto-nodejs/LICENSE +177 -0
  264. package/node_modules/@matrix-org/matrix-sdk-crypto-nodejs/README.md +225 -0
  265. package/node_modules/@matrix-org/matrix-sdk-crypto-nodejs/RELEASING.md +15 -0
  266. package/node_modules/@matrix-org/matrix-sdk-crypto-nodejs/download-lib.js +128 -0
  267. package/node_modules/@matrix-org/matrix-sdk-crypto-nodejs/index.d.ts +989 -0
  268. package/node_modules/@matrix-org/matrix-sdk-crypto-nodejs/index.js +357 -0
  269. package/node_modules/@matrix-org/matrix-sdk-crypto-nodejs/package.json +43 -0
  270. package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/LICENSE +177 -0
  271. package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/README.md +134 -0
  272. package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/index-wasm-esm.mjs +77 -0
  273. package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/index.cjs +81 -0
  274. package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/index.d.ts +49 -0
  275. package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/index.mjs +83 -0
  276. package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/node.cjs +128 -0
  277. package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/node.mjs +125 -0
  278. package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/package.json +88 -0
  279. package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/pkg/matrix_sdk_crypto_wasm.d.ts +5072 -0
  280. package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/pkg/matrix_sdk_crypto_wasm_bg.cjs +12674 -0
  281. package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/pkg/matrix_sdk_crypto_wasm_bg.js +12051 -0
  282. package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/pkg/matrix_sdk_crypto_wasm_bg.wasm +0 -0
  283. package/node_modules/@matrix-org/matrix-sdk-crypto-wasm/pkg/matrix_sdk_crypto_wasm_bg.wasm.d.ts +697 -0
  284. package/node_modules/@tokenizer/inflate/LICENSE +15 -0
  285. package/node_modules/@tokenizer/inflate/README.md +114 -0
  286. package/node_modules/@tokenizer/inflate/lib/GzipHandler.d.ts +6 -0
  287. package/node_modules/@tokenizer/inflate/lib/GzipHandler.js +19 -0
  288. package/node_modules/@tokenizer/inflate/lib/ZipHandler.d.ts +26 -0
  289. package/node_modules/@tokenizer/inflate/lib/ZipHandler.js +233 -0
  290. package/node_modules/@tokenizer/inflate/lib/ZipToken.d.ts +94 -0
  291. package/node_modules/@tokenizer/inflate/lib/ZipToken.js +117 -0
  292. package/node_modules/@tokenizer/inflate/lib/index.d.ts +3 -0
  293. package/node_modules/@tokenizer/inflate/lib/index.js +2 -0
  294. package/node_modules/@tokenizer/inflate/package.json +76 -0
  295. package/node_modules/@tokenizer/token/README.md +19 -0
  296. package/node_modules/@tokenizer/token/index.d.ts +30 -0
  297. package/node_modules/@tokenizer/token/package.json +33 -0
  298. package/node_modules/@types/events/LICENSE +21 -0
  299. package/node_modules/@types/events/README.md +41 -0
  300. package/node_modules/@types/events/index.d.ts +22 -0
  301. package/node_modules/@types/events/package.json +30 -0
  302. package/node_modules/agent-base/LICENSE +22 -0
  303. package/node_modules/agent-base/README.md +69 -0
  304. package/node_modules/agent-base/dist/helpers.d.ts +15 -0
  305. package/node_modules/agent-base/dist/helpers.d.ts.map +1 -0
  306. package/node_modules/agent-base/dist/helpers.js +66 -0
  307. package/node_modules/agent-base/dist/helpers.js.map +1 -0
  308. package/node_modules/agent-base/dist/index.d.ts +41 -0
  309. package/node_modules/agent-base/dist/index.d.ts.map +1 -0
  310. package/node_modules/agent-base/dist/index.js +178 -0
  311. package/node_modules/agent-base/dist/index.js.map +1 -0
  312. package/node_modules/agent-base/package.json +46 -0
  313. package/node_modules/another-json/.jshint +11 -0
  314. package/node_modules/another-json/.npmignore +2 -0
  315. package/node_modules/another-json/.travis.yml +3 -0
  316. package/node_modules/another-json/LICENSE +177 -0
  317. package/node_modules/another-json/README.md +17 -0
  318. package/node_modules/another-json/another-json.js +93 -0
  319. package/node_modules/another-json/package.json +28 -0
  320. package/node_modules/another-json/spec/another-json-spec.js +100 -0
  321. package/node_modules/argparse/CHANGELOG.md +216 -0
  322. package/node_modules/argparse/LICENSE +254 -0
  323. package/node_modules/argparse/README.md +84 -0
  324. package/node_modules/argparse/argparse.js +3707 -0
  325. package/node_modules/argparse/lib/sub.js +67 -0
  326. package/node_modules/argparse/lib/textwrap.js +440 -0
  327. package/node_modules/argparse/package.json +31 -0
  328. package/node_modules/base-x/LICENSE.md +22 -0
  329. package/node_modules/base-x/README.md +74 -0
  330. package/node_modules/base-x/package.json +58 -0
  331. package/node_modules/base-x/src/cjs/index.cjs +126 -0
  332. package/node_modules/base-x/src/cjs/index.d.ts +9 -0
  333. package/node_modules/base-x/src/esm/index.js +124 -0
  334. package/node_modules/bs58/LICENSE +21 -0
  335. package/node_modules/bs58/README.md +91 -0
  336. package/node_modules/bs58/package.json +54 -0
  337. package/node_modules/bs58/src/cjs/index.cjs +8 -0
  338. package/node_modules/bs58/src/cjs/index.d.ts +3 -0
  339. package/node_modules/bs58/src/esm/index.js +3 -0
  340. package/node_modules/content-type/HISTORY.md +29 -0
  341. package/node_modules/content-type/LICENSE +22 -0
  342. package/node_modules/content-type/README.md +94 -0
  343. package/node_modules/content-type/index.js +225 -0
  344. package/node_modules/content-type/package.json +42 -0
  345. package/node_modules/debug/LICENSE +20 -0
  346. package/node_modules/debug/README.md +481 -0
  347. package/node_modules/debug/package.json +64 -0
  348. package/node_modules/debug/src/browser.js +272 -0
  349. package/node_modules/debug/src/common.js +292 -0
  350. package/node_modules/debug/src/index.js +10 -0
  351. package/node_modules/debug/src/node.js +263 -0
  352. package/node_modules/entities/LICENSE +11 -0
  353. package/node_modules/entities/lib/decode.d.ts +211 -0
  354. package/node_modules/entities/lib/decode.d.ts.map +1 -0
  355. package/node_modules/entities/lib/decode.js +536 -0
  356. package/node_modules/entities/lib/decode.js.map +1 -0
  357. package/node_modules/entities/lib/decode_codepoint.d.ts +19 -0
  358. package/node_modules/entities/lib/decode_codepoint.d.ts.map +1 -0
  359. package/node_modules/entities/lib/decode_codepoint.js +76 -0
  360. package/node_modules/entities/lib/decode_codepoint.js.map +1 -0
  361. package/node_modules/entities/lib/encode.d.ts +22 -0
  362. package/node_modules/entities/lib/encode.d.ts.map +1 -0
  363. package/node_modules/entities/lib/encode.js +77 -0
  364. package/node_modules/entities/lib/encode.js.map +1 -0
  365. package/node_modules/entities/lib/escape.d.ts +43 -0
  366. package/node_modules/entities/lib/escape.d.ts.map +1 -0
  367. package/node_modules/entities/lib/escape.js +122 -0
  368. package/node_modules/entities/lib/escape.js.map +1 -0
  369. package/node_modules/entities/lib/esm/decode.d.ts +211 -0
  370. package/node_modules/entities/lib/esm/decode.d.ts.map +1 -0
  371. package/node_modules/entities/lib/esm/decode.js +496 -0
  372. package/node_modules/entities/lib/esm/decode.js.map +1 -0
  373. package/node_modules/entities/lib/esm/decode_codepoint.d.ts +19 -0
  374. package/node_modules/entities/lib/esm/decode_codepoint.d.ts.map +1 -0
  375. package/node_modules/entities/lib/esm/decode_codepoint.js +71 -0
  376. package/node_modules/entities/lib/esm/decode_codepoint.js.map +1 -0
  377. package/node_modules/entities/lib/esm/encode.d.ts +22 -0
  378. package/node_modules/entities/lib/esm/encode.d.ts.map +1 -0
  379. package/node_modules/entities/lib/esm/encode.js +69 -0
  380. package/node_modules/entities/lib/esm/encode.js.map +1 -0
  381. package/node_modules/entities/lib/esm/escape.d.ts +43 -0
  382. package/node_modules/entities/lib/esm/escape.d.ts.map +1 -0
  383. package/node_modules/entities/lib/esm/escape.js +116 -0
  384. package/node_modules/entities/lib/esm/escape.js.map +1 -0
  385. package/node_modules/entities/lib/esm/generated/decode-data-html.d.ts +3 -0
  386. package/node_modules/entities/lib/esm/generated/decode-data-html.d.ts.map +1 -0
  387. package/node_modules/entities/lib/esm/generated/decode-data-html.js +7 -0
  388. package/node_modules/entities/lib/esm/generated/decode-data-html.js.map +1 -0
  389. package/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts +3 -0
  390. package/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts.map +1 -0
  391. package/node_modules/entities/lib/esm/generated/decode-data-xml.js +7 -0
  392. package/node_modules/entities/lib/esm/generated/decode-data-xml.js.map +1 -0
  393. package/node_modules/entities/lib/esm/generated/encode-html.d.ts +8 -0
  394. package/node_modules/entities/lib/esm/generated/encode-html.d.ts.map +1 -0
  395. package/node_modules/entities/lib/esm/generated/encode-html.js +10 -0
  396. package/node_modules/entities/lib/esm/generated/encode-html.js.map +1 -0
  397. package/node_modules/entities/lib/esm/index.d.ts +96 -0
  398. package/node_modules/entities/lib/esm/index.d.ts.map +1 -0
  399. package/node_modules/entities/lib/esm/index.js +99 -0
  400. package/node_modules/entities/lib/esm/index.js.map +1 -0
  401. package/node_modules/entities/lib/esm/package.json +1 -0
  402. package/node_modules/entities/lib/generated/decode-data-html.d.ts +3 -0
  403. package/node_modules/entities/lib/generated/decode-data-html.d.ts.map +1 -0
  404. package/node_modules/entities/lib/generated/decode-data-html.js +9 -0
  405. package/node_modules/entities/lib/generated/decode-data-html.js.map +1 -0
  406. package/node_modules/entities/lib/generated/decode-data-xml.d.ts +3 -0
  407. package/node_modules/entities/lib/generated/decode-data-xml.d.ts.map +1 -0
  408. package/node_modules/entities/lib/generated/decode-data-xml.js +9 -0
  409. package/node_modules/entities/lib/generated/decode-data-xml.js.map +1 -0
  410. package/node_modules/entities/lib/generated/encode-html.d.ts +8 -0
  411. package/node_modules/entities/lib/generated/encode-html.d.ts.map +1 -0
  412. package/node_modules/entities/lib/generated/encode-html.js +12 -0
  413. package/node_modules/entities/lib/generated/encode-html.js.map +1 -0
  414. package/node_modules/entities/lib/index.d.ts +96 -0
  415. package/node_modules/entities/lib/index.d.ts.map +1 -0
  416. package/node_modules/entities/lib/index.js +126 -0
  417. package/node_modules/entities/lib/index.js.map +1 -0
  418. package/node_modules/entities/package.json +90 -0
  419. package/node_modules/entities/readme.md +122 -0
  420. package/node_modules/events/.airtap.yml +15 -0
  421. package/node_modules/events/.github/FUNDING.yml +12 -0
  422. package/node_modules/events/.travis.yml +18 -0
  423. package/node_modules/events/History.md +118 -0
  424. package/node_modules/events/LICENSE +22 -0
  425. package/node_modules/events/Readme.md +50 -0
  426. package/node_modules/events/events.js +497 -0
  427. package/node_modules/events/package.json +37 -0
  428. package/node_modules/events/security.md +10 -0
  429. package/node_modules/events/tests/add-listeners.js +111 -0
  430. package/node_modules/events/tests/check-listener-leaks.js +101 -0
  431. package/node_modules/events/tests/common.js +104 -0
  432. package/node_modules/events/tests/errors.js +13 -0
  433. package/node_modules/events/tests/events-list.js +28 -0
  434. package/node_modules/events/tests/events-once.js +234 -0
  435. package/node_modules/events/tests/index.js +64 -0
  436. package/node_modules/events/tests/legacy-compat.js +16 -0
  437. package/node_modules/events/tests/listener-count.js +37 -0
  438. package/node_modules/events/tests/listeners-side-effects.js +56 -0
  439. package/node_modules/events/tests/listeners.js +168 -0
  440. package/node_modules/events/tests/max-listeners.js +47 -0
  441. package/node_modules/events/tests/method-names.js +35 -0
  442. package/node_modules/events/tests/modify-in-emit.js +90 -0
  443. package/node_modules/events/tests/num-args.js +60 -0
  444. package/node_modules/events/tests/once.js +83 -0
  445. package/node_modules/events/tests/prepend.js +31 -0
  446. package/node_modules/events/tests/remove-all-listeners.js +133 -0
  447. package/node_modules/events/tests/remove-listeners.js +212 -0
  448. package/node_modules/events/tests/set-max-listeners-side-effects.js +31 -0
  449. package/node_modules/events/tests/special-event-names.js +45 -0
  450. package/node_modules/events/tests/subclass.js +66 -0
  451. package/node_modules/events/tests/symbols.js +25 -0
  452. package/node_modules/fake-indexeddb/LICENSE +209 -0
  453. package/node_modules/fake-indexeddb/README.md +245 -0
  454. package/node_modules/fake-indexeddb/auto/index.js +52 -0
  455. package/node_modules/fake-indexeddb/auto/index.mjs +52 -0
  456. package/node_modules/fake-indexeddb/auto/package.json +3 -0
  457. package/node_modules/fake-indexeddb/auto.d.ts +1 -0
  458. package/node_modules/fake-indexeddb/build/cjs/FDBCursor.js +480 -0
  459. package/node_modules/fake-indexeddb/build/cjs/FDBCursorWithValue.js +19 -0
  460. package/node_modules/fake-indexeddb/build/cjs/FDBDatabase.js +179 -0
  461. package/node_modules/fake-indexeddb/build/cjs/FDBFactory.js +414 -0
  462. package/node_modules/fake-indexeddb/build/cjs/FDBIndex.js +217 -0
  463. package/node_modules/fake-indexeddb/build/cjs/FDBKeyRange.js +78 -0
  464. package/node_modules/fake-indexeddb/build/cjs/FDBObjectStore.js +409 -0
  465. package/node_modules/fake-indexeddb/build/cjs/FDBOpenDBRequest.js +17 -0
  466. package/node_modules/fake-indexeddb/build/cjs/FDBRecord.js +36 -0
  467. package/node_modules/fake-indexeddb/build/cjs/FDBRequest.js +41 -0
  468. package/node_modules/fake-indexeddb/build/cjs/FDBTransaction.js +272 -0
  469. package/node_modules/fake-indexeddb/build/cjs/FDBVersionChangeEvent.js +20 -0
  470. package/node_modules/fake-indexeddb/build/cjs/fakeIndexedDB.js +11 -0
  471. package/node_modules/fake-indexeddb/build/cjs/forceCloseDatabase.js +29 -0
  472. package/node_modules/fake-indexeddb/build/cjs/index.js +106 -0
  473. package/node_modules/fake-indexeddb/build/cjs/lib/Database.js +51 -0
  474. package/node_modules/fake-indexeddb/build/cjs/lib/FakeDOMStringList.js +48 -0
  475. package/node_modules/fake-indexeddb/build/cjs/lib/FakeEvent.js +45 -0
  476. package/node_modules/fake-indexeddb/build/cjs/lib/FakeEventTarget.js +127 -0
  477. package/node_modules/fake-indexeddb/build/cjs/lib/Index.js +180 -0
  478. package/node_modules/fake-indexeddb/build/cjs/lib/KeyGenerator.js +29 -0
  479. package/node_modules/fake-indexeddb/build/cjs/lib/ObjectStore.js +246 -0
  480. package/node_modules/fake-indexeddb/build/cjs/lib/RecordStore.js +112 -0
  481. package/node_modules/fake-indexeddb/build/cjs/lib/binarySearchTree.js +308 -0
  482. package/node_modules/fake-indexeddb/build/cjs/lib/canInjectKey.js +30 -0
  483. package/node_modules/fake-indexeddb/build/cjs/lib/cloneValueForInsertion.js +30 -0
  484. package/node_modules/fake-indexeddb/build/cjs/lib/closeConnection.js +36 -0
  485. package/node_modules/fake-indexeddb/build/cjs/lib/cmp.js +85 -0
  486. package/node_modules/fake-indexeddb/build/cjs/lib/enforceRange.js +20 -0
  487. package/node_modules/fake-indexeddb/build/cjs/lib/errors.js +100 -0
  488. package/node_modules/fake-indexeddb/build/cjs/lib/extractGetAllOptions.js +40 -0
  489. package/node_modules/fake-indexeddb/build/cjs/lib/extractKey.js +61 -0
  490. package/node_modules/fake-indexeddb/build/cjs/lib/getKeyPath.js +16 -0
  491. package/node_modules/fake-indexeddb/build/cjs/lib/intersection.js +18 -0
  492. package/node_modules/fake-indexeddb/build/cjs/lib/isPotentiallyValidKeyRange.js +26 -0
  493. package/node_modules/fake-indexeddb/build/cjs/lib/isSharedArrayBuffer.js +10 -0
  494. package/node_modules/fake-indexeddb/build/cjs/lib/scheduling.js +46 -0
  495. package/node_modules/fake-indexeddb/build/cjs/lib/types.js +1 -0
  496. package/node_modules/fake-indexeddb/build/cjs/lib/validateKeyPath.js +54 -0
  497. package/node_modules/fake-indexeddb/build/cjs/lib/validateRequiredArguments.js +13 -0
  498. package/node_modules/fake-indexeddb/build/cjs/lib/valueToKey.js +22 -0
  499. package/node_modules/fake-indexeddb/build/cjs/lib/valueToKeyRange.js +26 -0
  500. package/node_modules/fake-indexeddb/build/cjs/lib/valueToKeyWithoutThrowing.js +102 -0
  501. package/node_modules/fake-indexeddb/build/cjs/package.json +1 -0
  502. package/node_modules/fake-indexeddb/build/esm/FDBCursor.js +472 -0
  503. package/node_modules/fake-indexeddb/build/esm/FDBCursorWithValue.js +11 -0
  504. package/node_modules/fake-indexeddb/build/esm/FDBDatabase.js +171 -0
  505. package/node_modules/fake-indexeddb/build/esm/FDBFactory.js +406 -0
  506. package/node_modules/fake-indexeddb/build/esm/FDBIndex.js +209 -0
  507. package/node_modules/fake-indexeddb/build/esm/FDBKeyRange.js +70 -0
  508. package/node_modules/fake-indexeddb/build/esm/FDBObjectStore.js +401 -0
  509. package/node_modules/fake-indexeddb/build/esm/FDBOpenDBRequest.js +9 -0
  510. package/node_modules/fake-indexeddb/build/esm/FDBRecord.js +29 -0
  511. package/node_modules/fake-indexeddb/build/esm/FDBRequest.js +33 -0
  512. package/node_modules/fake-indexeddb/build/esm/FDBTransaction.js +264 -0
  513. package/node_modules/fake-indexeddb/build/esm/FDBVersionChangeEvent.js +12 -0
  514. package/node_modules/fake-indexeddb/build/esm/fakeIndexedDB.js +3 -0
  515. package/node_modules/fake-indexeddb/build/esm/forceCloseDatabase.js +21 -0
  516. package/node_modules/fake-indexeddb/build/esm/index.js +16 -0
  517. package/node_modules/fake-indexeddb/build/esm/lib/Database.js +44 -0
  518. package/node_modules/fake-indexeddb/build/esm/lib/FakeDOMStringList.js +41 -0
  519. package/node_modules/fake-indexeddb/build/esm/lib/FakeEvent.js +38 -0
  520. package/node_modules/fake-indexeddb/build/esm/lib/FakeEventTarget.js +120 -0
  521. package/node_modules/fake-indexeddb/build/esm/lib/Index.js +172 -0
  522. package/node_modules/fake-indexeddb/build/esm/lib/KeyGenerator.js +22 -0
  523. package/node_modules/fake-indexeddb/build/esm/lib/ObjectStore.js +238 -0
  524. package/node_modules/fake-indexeddb/build/esm/lib/RecordStore.js +104 -0
  525. package/node_modules/fake-indexeddb/build/esm/lib/binarySearchTree.js +299 -0
  526. package/node_modules/fake-indexeddb/build/esm/lib/canInjectKey.js +23 -0
  527. package/node_modules/fake-indexeddb/build/esm/lib/cloneValueForInsertion.js +24 -0
  528. package/node_modules/fake-indexeddb/build/esm/lib/closeConnection.js +28 -0
  529. package/node_modules/fake-indexeddb/build/esm/lib/cmp.js +77 -0
  530. package/node_modules/fake-indexeddb/build/esm/lib/enforceRange.js +13 -0
  531. package/node_modules/fake-indexeddb/build/esm/lib/errors.js +83 -0
  532. package/node_modules/fake-indexeddb/build/esm/lib/extractGetAllOptions.js +32 -0
  533. package/node_modules/fake-indexeddb/build/esm/lib/extractKey.js +53 -0
  534. package/node_modules/fake-indexeddb/build/esm/lib/getKeyPath.js +10 -0
  535. package/node_modules/fake-indexeddb/build/esm/lib/intersection.js +12 -0
  536. package/node_modules/fake-indexeddb/build/esm/lib/isPotentiallyValidKeyRange.js +18 -0
  537. package/node_modules/fake-indexeddb/build/esm/lib/isSharedArrayBuffer.js +3 -0
  538. package/node_modules/fake-indexeddb/build/esm/lib/scheduling.js +39 -0
  539. package/node_modules/fake-indexeddb/build/esm/lib/types.js +1 -0
  540. package/node_modules/fake-indexeddb/build/esm/lib/validateKeyPath.js +47 -0
  541. package/node_modules/fake-indexeddb/build/esm/lib/validateRequiredArguments.js +7 -0
  542. package/node_modules/fake-indexeddb/build/esm/lib/valueToKey.js +14 -0
  543. package/node_modules/fake-indexeddb/build/esm/lib/valueToKeyRange.js +19 -0
  544. package/node_modules/fake-indexeddb/build/esm/lib/valueToKeyWithoutThrowing.js +95 -0
  545. package/node_modules/fake-indexeddb/lib/FDBCursor.d.ts +2 -0
  546. package/node_modules/fake-indexeddb/lib/FDBCursor.js +1 -0
  547. package/node_modules/fake-indexeddb/lib/FDBCursorWithValue.d.ts +2 -0
  548. package/node_modules/fake-indexeddb/lib/FDBCursorWithValue.js +1 -0
  549. package/node_modules/fake-indexeddb/lib/FDBDatabase.d.ts +2 -0
  550. package/node_modules/fake-indexeddb/lib/FDBDatabase.js +1 -0
  551. package/node_modules/fake-indexeddb/lib/FDBFactory.d.ts +2 -0
  552. package/node_modules/fake-indexeddb/lib/FDBFactory.js +1 -0
  553. package/node_modules/fake-indexeddb/lib/FDBIndex.d.ts +2 -0
  554. package/node_modules/fake-indexeddb/lib/FDBIndex.js +1 -0
  555. package/node_modules/fake-indexeddb/lib/FDBKeyRange.d.ts +2 -0
  556. package/node_modules/fake-indexeddb/lib/FDBKeyRange.js +1 -0
  557. package/node_modules/fake-indexeddb/lib/FDBObjectStore.d.ts +2 -0
  558. package/node_modules/fake-indexeddb/lib/FDBObjectStore.js +1 -0
  559. package/node_modules/fake-indexeddb/lib/FDBOpenDBRequest.d.ts +2 -0
  560. package/node_modules/fake-indexeddb/lib/FDBOpenDBRequest.js +1 -0
  561. package/node_modules/fake-indexeddb/lib/FDBRequest.d.ts +2 -0
  562. package/node_modules/fake-indexeddb/lib/FDBRequest.js +1 -0
  563. package/node_modules/fake-indexeddb/lib/FDBTransaction.d.ts +2 -0
  564. package/node_modules/fake-indexeddb/lib/FDBTransaction.js +1 -0
  565. package/node_modules/fake-indexeddb/lib/FDBVersionChangeEvent.d.ts +2 -0
  566. package/node_modules/fake-indexeddb/lib/FDBVersionChangeEvent.js +1 -0
  567. package/node_modules/fake-indexeddb/lib/README.md +5 -0
  568. package/node_modules/fake-indexeddb/lib/fakeIndexedDB.d.ts +2 -0
  569. package/node_modules/fake-indexeddb/lib/package.json +3 -0
  570. package/node_modules/fake-indexeddb/package.json +151 -0
  571. package/node_modules/fake-indexeddb/types.d.ts +33 -0
  572. package/node_modules/file-type/license +9 -0
  573. package/node_modules/file-type/package.json +274 -0
  574. package/node_modules/file-type/readme.md +597 -0
  575. package/node_modules/file-type/source/detectors/asf.js +127 -0
  576. package/node_modules/file-type/source/detectors/ebml.js +120 -0
  577. package/node_modules/file-type/source/detectors/png.js +123 -0
  578. package/node_modules/file-type/source/detectors/zip.js +643 -0
  579. package/node_modules/file-type/source/index.d.ts +280 -0
  580. package/node_modules/file-type/source/index.js +1917 -0
  581. package/node_modules/file-type/source/index.test-d.ts +53 -0
  582. package/node_modules/file-type/source/parser.js +65 -0
  583. package/node_modules/file-type/source/supported.js +368 -0
  584. package/node_modules/file-type/source/tokens.js +60 -0
  585. package/node_modules/https-proxy-agent/LICENSE +22 -0
  586. package/node_modules/https-proxy-agent/README.md +70 -0
  587. package/node_modules/https-proxy-agent/dist/index.d.ts +47 -0
  588. package/node_modules/https-proxy-agent/dist/index.d.ts.map +1 -0
  589. package/node_modules/https-proxy-agent/dist/index.js +180 -0
  590. package/node_modules/https-proxy-agent/dist/index.js.map +1 -0
  591. package/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts +15 -0
  592. package/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts.map +1 -0
  593. package/node_modules/https-proxy-agent/dist/parse-proxy-response.js +101 -0
  594. package/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map +1 -0
  595. package/node_modules/https-proxy-agent/package.json +50 -0
  596. package/node_modules/ieee754/LICENSE +11 -0
  597. package/node_modules/ieee754/README.md +51 -0
  598. package/node_modules/ieee754/index.d.ts +10 -0
  599. package/node_modules/ieee754/index.js +85 -0
  600. package/node_modules/ieee754/package.json +52 -0
  601. package/node_modules/is-network-error/index.d.ts +26 -0
  602. package/node_modules/is-network-error/index.js +47 -0
  603. package/node_modules/is-network-error/license +9 -0
  604. package/node_modules/is-network-error/package.json +43 -0
  605. package/node_modules/is-network-error/readme.md +44 -0
  606. package/node_modules/jwt-decode/LICENSE +21 -0
  607. package/node_modules/jwt-decode/README.md +134 -0
  608. package/node_modules/jwt-decode/build/cjs/index.d.ts +23 -0
  609. package/node_modules/jwt-decode/build/cjs/index.js +62 -0
  610. package/node_modules/jwt-decode/build/cjs/package.json +1 -0
  611. package/node_modules/jwt-decode/build/esm/index.d.ts +23 -0
  612. package/node_modules/jwt-decode/build/esm/index.js +57 -0
  613. package/node_modules/jwt-decode/package.json +81 -0
  614. package/node_modules/linkify-it/LICENSE +22 -0
  615. package/node_modules/linkify-it/README.md +196 -0
  616. package/node_modules/linkify-it/build/index.cjs.js +832 -0
  617. package/node_modules/linkify-it/index.mjs +642 -0
  618. package/node_modules/linkify-it/lib/re.mjs +189 -0
  619. package/node_modules/linkify-it/package.json +58 -0
  620. package/node_modules/loglevel/.editorconfig +27 -0
  621. package/node_modules/loglevel/CONTRIBUTING.md +98 -0
  622. package/node_modules/loglevel/Gruntfile.js +165 -0
  623. package/node_modules/loglevel/LICENSE-MIT +22 -0
  624. package/node_modules/loglevel/README.md +408 -0
  625. package/node_modules/loglevel/_config.yml +1 -0
  626. package/node_modules/loglevel/bower.json +11 -0
  627. package/node_modules/loglevel/demo/index.html +139 -0
  628. package/node_modules/loglevel/demo/script.js +86 -0
  629. package/node_modules/loglevel/demo/styles.css +107 -0
  630. package/node_modules/loglevel/dist/loglevel.js +352 -0
  631. package/node_modules/loglevel/dist/loglevel.min.js +3 -0
  632. package/node_modules/loglevel/index.d.ts +203 -0
  633. package/node_modules/loglevel/lib/loglevel.js +357 -0
  634. package/node_modules/loglevel/package.json +63 -0
  635. package/node_modules/markdown-it/LICENSE +22 -0
  636. package/node_modules/markdown-it/README.md +324 -0
  637. package/node_modules/markdown-it/bin/markdown-it.mjs +107 -0
  638. package/node_modules/markdown-it/dist/index.cjs.js +5547 -0
  639. package/node_modules/markdown-it/dist/markdown-it.js +6969 -0
  640. package/node_modules/markdown-it/dist/markdown-it.min.js +2 -0
  641. package/node_modules/markdown-it/index.mjs +1 -0
  642. package/node_modules/markdown-it/lib/common/html_blocks.mjs +67 -0
  643. package/node_modules/markdown-it/lib/common/html_re.mjs +25 -0
  644. package/node_modules/markdown-it/lib/common/utils.mjs +304 -0
  645. package/node_modules/markdown-it/lib/helpers/index.mjs +11 -0
  646. package/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs +77 -0
  647. package/node_modules/markdown-it/lib/helpers/parse_link_label.mjs +49 -0
  648. package/node_modules/markdown-it/lib/helpers/parse_link_title.mjs +66 -0
  649. package/node_modules/markdown-it/lib/index.mjs +565 -0
  650. package/node_modules/markdown-it/lib/parser_block.mjs +134 -0
  651. package/node_modules/markdown-it/lib/parser_core.mjs +62 -0
  652. package/node_modules/markdown-it/lib/parser_inline.mjs +197 -0
  653. package/node_modules/markdown-it/lib/presets/commonmark.mjs +88 -0
  654. package/node_modules/markdown-it/lib/presets/default.mjs +47 -0
  655. package/node_modules/markdown-it/lib/presets/zero.mjs +70 -0
  656. package/node_modules/markdown-it/lib/renderer.mjs +322 -0
  657. package/node_modules/markdown-it/lib/ruler.mjs +340 -0
  658. package/node_modules/markdown-it/lib/rules_block/blockquote.mjs +209 -0
  659. package/node_modules/markdown-it/lib/rules_block/code.mjs +30 -0
  660. package/node_modules/markdown-it/lib/rules_block/fence.mjs +94 -0
  661. package/node_modules/markdown-it/lib/rules_block/heading.mjs +51 -0
  662. package/node_modules/markdown-it/lib/rules_block/hr.mjs +40 -0
  663. package/node_modules/markdown-it/lib/rules_block/html_block.mjs +69 -0
  664. package/node_modules/markdown-it/lib/rules_block/lheading.mjs +82 -0
  665. package/node_modules/markdown-it/lib/rules_block/list.mjs +331 -0
  666. package/node_modules/markdown-it/lib/rules_block/paragraph.mjs +46 -0
  667. package/node_modules/markdown-it/lib/rules_block/reference.mjs +212 -0
  668. package/node_modules/markdown-it/lib/rules_block/state_block.mjs +220 -0
  669. package/node_modules/markdown-it/lib/rules_block/table.mjs +228 -0
  670. package/node_modules/markdown-it/lib/rules_core/block.mjs +13 -0
  671. package/node_modules/markdown-it/lib/rules_core/inline.mjs +11 -0
  672. package/node_modules/markdown-it/lib/rules_core/linkify.mjs +134 -0
  673. package/node_modules/markdown-it/lib/rules_core/normalize.mjs +17 -0
  674. package/node_modules/markdown-it/lib/rules_core/replacements.mjs +101 -0
  675. package/node_modules/markdown-it/lib/rules_core/smartquotes.mjs +193 -0
  676. package/node_modules/markdown-it/lib/rules_core/state_core.mjs +17 -0
  677. package/node_modules/markdown-it/lib/rules_core/text_join.mjs +43 -0
  678. package/node_modules/markdown-it/lib/rules_inline/autolink.mjs +72 -0
  679. package/node_modules/markdown-it/lib/rules_inline/backticks.mjs +60 -0
  680. package/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs +124 -0
  681. package/node_modules/markdown-it/lib/rules_inline/emphasis.mjs +123 -0
  682. package/node_modules/markdown-it/lib/rules_inline/entity.mjs +51 -0
  683. package/node_modules/markdown-it/lib/rules_inline/escape.mjs +69 -0
  684. package/node_modules/markdown-it/lib/rules_inline/fragments_join.mjs +38 -0
  685. package/node_modules/markdown-it/lib/rules_inline/html_inline.mjs +50 -0
  686. package/node_modules/markdown-it/lib/rules_inline/image.mjs +138 -0
  687. package/node_modules/markdown-it/lib/rules_inline/link.mjs +139 -0
  688. package/node_modules/markdown-it/lib/rules_inline/linkify.mjs +63 -0
  689. package/node_modules/markdown-it/lib/rules_inline/newline.mjs +42 -0
  690. package/node_modules/markdown-it/lib/rules_inline/state_inline.mjs +123 -0
  691. package/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs +127 -0
  692. package/node_modules/markdown-it/lib/rules_inline/text.mjs +86 -0
  693. package/node_modules/markdown-it/lib/token.mjs +191 -0
  694. package/node_modules/markdown-it/package.json +92 -0
  695. package/node_modules/matrix-events-sdk/LICENSE +201 -0
  696. package/node_modules/matrix-events-sdk/README.md +78 -0
  697. package/node_modules/matrix-events-sdk/lib/ExtensibleEvents.d.ts +74 -0
  698. package/node_modules/matrix-events-sdk/lib/ExtensibleEvents.js +189 -0
  699. package/node_modules/matrix-events-sdk/lib/IPartialEvent.d.ts +7 -0
  700. package/node_modules/matrix-events-sdk/lib/IPartialEvent.js +5 -0
  701. package/node_modules/matrix-events-sdk/lib/InvalidEventError.d.ts +6 -0
  702. package/node_modules/matrix-events-sdk/lib/InvalidEventError.js +69 -0
  703. package/node_modules/matrix-events-sdk/lib/NamespacedMap.d.ts +55 -0
  704. package/node_modules/matrix-events-sdk/lib/NamespacedMap.js +149 -0
  705. package/node_modules/matrix-events-sdk/lib/NamespacedValue.d.ts +24 -0
  706. package/node_modules/matrix-events-sdk/lib/NamespacedValue.js +166 -0
  707. package/node_modules/matrix-events-sdk/lib/events/EmoteEvent.d.ts +21 -0
  708. package/node_modules/matrix-events-sdk/lib/events/EmoteEvent.js +99 -0
  709. package/node_modules/matrix-events-sdk/lib/events/ExtensibleEvent.d.ts +38 -0
  710. package/node_modules/matrix-events-sdk/lib/events/ExtensibleEvent.js +60 -0
  711. package/node_modules/matrix-events-sdk/lib/events/MessageEvent.d.ts +58 -0
  712. package/node_modules/matrix-events-sdk/lib/events/MessageEvent.js +214 -0
  713. package/node_modules/matrix-events-sdk/lib/events/NoticeEvent.d.ts +21 -0
  714. package/node_modules/matrix-events-sdk/lib/events/NoticeEvent.js +99 -0
  715. package/node_modules/matrix-events-sdk/lib/events/PollEndEvent.d.ts +33 -0
  716. package/node_modules/matrix-events-sdk/lib/events/PollEndEvent.js +138 -0
  717. package/node_modules/matrix-events-sdk/lib/events/PollResponseEvent.d.ts +49 -0
  718. package/node_modules/matrix-events-sdk/lib/events/PollResponseEvent.js +198 -0
  719. package/node_modules/matrix-events-sdk/lib/events/PollStartEvent.d.ts +71 -0
  720. package/node_modules/matrix-events-sdk/lib/events/PollStartEvent.js +287 -0
  721. package/node_modules/matrix-events-sdk/lib/events/message_types.d.ts +81 -0
  722. package/node_modules/matrix-events-sdk/lib/events/message_types.js +74 -0
  723. package/node_modules/matrix-events-sdk/lib/events/poll_types.d.ts +89 -0
  724. package/node_modules/matrix-events-sdk/lib/events/poll_types.js +70 -0
  725. package/node_modules/matrix-events-sdk/lib/events/relationship_types.d.ts +19 -0
  726. package/node_modules/matrix-events-sdk/lib/events/relationship_types.js +34 -0
  727. package/node_modules/matrix-events-sdk/lib/index.d.ts +21 -0
  728. package/node_modules/matrix-events-sdk/lib/index.js +278 -0
  729. package/node_modules/matrix-events-sdk/lib/interpreters/legacy/MRoomMessage.d.ts +12 -0
  730. package/node_modules/matrix-events-sdk/lib/interpreters/legacy/MRoomMessage.js +62 -0
  731. package/node_modules/matrix-events-sdk/lib/interpreters/modern/MMessage.d.ts +5 -0
  732. package/node_modules/matrix-events-sdk/lib/interpreters/modern/MMessage.js +40 -0
  733. package/node_modules/matrix-events-sdk/lib/interpreters/modern/MPoll.d.ts +10 -0
  734. package/node_modules/matrix-events-sdk/lib/interpreters/modern/MPoll.js +41 -0
  735. package/node_modules/matrix-events-sdk/lib/types.d.ts +34 -0
  736. package/node_modules/matrix-events-sdk/lib/types.js +49 -0
  737. package/node_modules/matrix-events-sdk/lib/utility/MessageMatchers.d.ts +20 -0
  738. package/node_modules/matrix-events-sdk/lib/utility/MessageMatchers.js +59 -0
  739. package/node_modules/matrix-events-sdk/lib/utility/events.d.ts +13 -0
  740. package/node_modules/matrix-events-sdk/lib/utility/events.js +51 -0
  741. package/node_modules/matrix-events-sdk/package.json +48 -0
  742. package/node_modules/matrix-js-sdk/CHANGELOG.md +6509 -0
  743. package/node_modules/matrix-js-sdk/LICENSE +177 -0
  744. package/node_modules/matrix-js-sdk/README.md +478 -0
  745. package/node_modules/matrix-js-sdk/lib/@types/AESEncryptedSecretStoragePayload.d.ts +14 -0
  746. package/node_modules/matrix-js-sdk/lib/@types/AESEncryptedSecretStoragePayload.d.ts.map +1 -0
  747. package/node_modules/matrix-js-sdk/lib/@types/AESEncryptedSecretStoragePayload.js +1 -0
  748. package/node_modules/matrix-js-sdk/lib/@types/AESEncryptedSecretStoragePayload.js.map +1 -0
  749. package/node_modules/matrix-js-sdk/lib/@types/IIdentityServerProvider.d.ts +9 -0
  750. package/node_modules/matrix-js-sdk/lib/@types/IIdentityServerProvider.d.ts.map +1 -0
  751. package/node_modules/matrix-js-sdk/lib/@types/IIdentityServerProvider.js +1 -0
  752. package/node_modules/matrix-js-sdk/lib/@types/IIdentityServerProvider.js.map +1 -0
  753. package/node_modules/matrix-js-sdk/lib/@types/PushRules.d.ts +140 -0
  754. package/node_modules/matrix-js-sdk/lib/@types/PushRules.d.ts.map +1 -0
  755. package/node_modules/matrix-js-sdk/lib/@types/PushRules.js +94 -0
  756. package/node_modules/matrix-js-sdk/lib/@types/PushRules.js.map +1 -0
  757. package/node_modules/matrix-js-sdk/lib/@types/another-json.d.js +0 -0
  758. package/node_modules/matrix-js-sdk/lib/@types/another-json.d.js.map +1 -0
  759. package/node_modules/matrix-js-sdk/lib/@types/auth.d.ts +213 -0
  760. package/node_modules/matrix-js-sdk/lib/@types/auth.d.ts.map +1 -0
  761. package/node_modules/matrix-js-sdk/lib/@types/auth.js +107 -0
  762. package/node_modules/matrix-js-sdk/lib/@types/auth.js.map +1 -0
  763. package/node_modules/matrix-js-sdk/lib/@types/beacon.d.ts +106 -0
  764. package/node_modules/matrix-js-sdk/lib/@types/beacon.d.ts.map +1 -0
  765. package/node_modules/matrix-js-sdk/lib/@types/beacon.js +119 -0
  766. package/node_modules/matrix-js-sdk/lib/@types/beacon.js.map +1 -0
  767. package/node_modules/matrix-js-sdk/lib/@types/common.d.ts +10 -0
  768. package/node_modules/matrix-js-sdk/lib/@types/common.d.ts.map +1 -0
  769. package/node_modules/matrix-js-sdk/lib/@types/common.js +1 -0
  770. package/node_modules/matrix-js-sdk/lib/@types/common.js.map +1 -0
  771. package/node_modules/matrix-js-sdk/lib/@types/crypto.d.ts +46 -0
  772. package/node_modules/matrix-js-sdk/lib/@types/crypto.d.ts.map +1 -0
  773. package/node_modules/matrix-js-sdk/lib/@types/crypto.js +1 -0
  774. package/node_modules/matrix-js-sdk/lib/@types/crypto.js.map +1 -0
  775. package/node_modules/matrix-js-sdk/lib/@types/event.d.ts +365 -0
  776. package/node_modules/matrix-js-sdk/lib/@types/event.d.ts.map +1 -0
  777. package/node_modules/matrix-js-sdk/lib/@types/event.js +280 -0
  778. package/node_modules/matrix-js-sdk/lib/@types/event.js.map +1 -0
  779. package/node_modules/matrix-js-sdk/lib/@types/events.d.ts +92 -0
  780. package/node_modules/matrix-js-sdk/lib/@types/events.d.ts.map +1 -0
  781. package/node_modules/matrix-js-sdk/lib/@types/events.js +1 -0
  782. package/node_modules/matrix-js-sdk/lib/@types/events.js.map +1 -0
  783. package/node_modules/matrix-js-sdk/lib/@types/extensible_events.d.ts +98 -0
  784. package/node_modules/matrix-js-sdk/lib/@types/extensible_events.d.ts.map +1 -0
  785. package/node_modules/matrix-js-sdk/lib/@types/extensible_events.js +116 -0
  786. package/node_modules/matrix-js-sdk/lib/@types/extensible_events.js.map +1 -0
  787. package/node_modules/matrix-js-sdk/lib/@types/global.d.js +18 -0
  788. package/node_modules/matrix-js-sdk/lib/@types/global.d.js.map +1 -0
  789. package/node_modules/matrix-js-sdk/lib/@types/json.d.ts +7 -0
  790. package/node_modules/matrix-js-sdk/lib/@types/json.d.ts.map +1 -0
  791. package/node_modules/matrix-js-sdk/lib/@types/json.js +1 -0
  792. package/node_modules/matrix-js-sdk/lib/@types/json.js.map +1 -0
  793. package/node_modules/matrix-js-sdk/lib/@types/local_notifications.d.ts +4 -0
  794. package/node_modules/matrix-js-sdk/lib/@types/local_notifications.d.ts.map +1 -0
  795. package/node_modules/matrix-js-sdk/lib/@types/local_notifications.js +1 -0
  796. package/node_modules/matrix-js-sdk/lib/@types/local_notifications.js.map +1 -0
  797. package/node_modules/matrix-js-sdk/lib/@types/location.d.ts +60 -0
  798. package/node_modules/matrix-js-sdk/lib/@types/location.d.ts.map +1 -0
  799. package/node_modules/matrix-js-sdk/lib/@types/location.js +66 -0
  800. package/node_modules/matrix-js-sdk/lib/@types/location.js.map +1 -0
  801. package/node_modules/matrix-js-sdk/lib/@types/matrix-sdk-crypto-wasm.d.js +1 -0
  802. package/node_modules/matrix-js-sdk/lib/@types/matrix-sdk-crypto-wasm.d.js.map +1 -0
  803. package/node_modules/matrix-js-sdk/lib/@types/media.d.ts +220 -0
  804. package/node_modules/matrix-js-sdk/lib/@types/media.d.ts.map +1 -0
  805. package/node_modules/matrix-js-sdk/lib/@types/media.js +1 -0
  806. package/node_modules/matrix-js-sdk/lib/@types/media.js.map +1 -0
  807. package/node_modules/matrix-js-sdk/lib/@types/membership.d.ts +41 -0
  808. package/node_modules/matrix-js-sdk/lib/@types/membership.d.ts.map +1 -0
  809. package/node_modules/matrix-js-sdk/lib/@types/membership.js +58 -0
  810. package/node_modules/matrix-js-sdk/lib/@types/membership.js.map +1 -0
  811. package/node_modules/matrix-js-sdk/lib/@types/partials.d.ts +72 -0
  812. package/node_modules/matrix-js-sdk/lib/@types/partials.d.ts.map +1 -0
  813. package/node_modules/matrix-js-sdk/lib/@types/partials.js +71 -0
  814. package/node_modules/matrix-js-sdk/lib/@types/partials.js.map +1 -0
  815. package/node_modules/matrix-js-sdk/lib/@types/polls.d.ts +89 -0
  816. package/node_modules/matrix-js-sdk/lib/@types/polls.d.ts.map +1 -0
  817. package/node_modules/matrix-js-sdk/lib/@types/polls.js +86 -0
  818. package/node_modules/matrix-js-sdk/lib/@types/polls.js.map +1 -0
  819. package/node_modules/matrix-js-sdk/lib/@types/read_receipts.d.ts +36 -0
  820. package/node_modules/matrix-js-sdk/lib/@types/read_receipts.d.ts.map +1 -0
  821. package/node_modules/matrix-js-sdk/lib/@types/read_receipts.js +27 -0
  822. package/node_modules/matrix-js-sdk/lib/@types/read_receipts.js.map +1 -0
  823. package/node_modules/matrix-js-sdk/lib/@types/registration.d.ts +85 -0
  824. package/node_modules/matrix-js-sdk/lib/@types/registration.d.ts.map +1 -0
  825. package/node_modules/matrix-js-sdk/lib/@types/registration.js +1 -0
  826. package/node_modules/matrix-js-sdk/lib/@types/registration.js.map +1 -0
  827. package/node_modules/matrix-js-sdk/lib/@types/requests.d.ts +266 -0
  828. package/node_modules/matrix-js-sdk/lib/@types/requests.d.ts.map +1 -0
  829. package/node_modules/matrix-js-sdk/lib/@types/requests.js +42 -0
  830. package/node_modules/matrix-js-sdk/lib/@types/requests.js.map +1 -0
  831. package/node_modules/matrix-js-sdk/lib/@types/search.d.ts +90 -0
  832. package/node_modules/matrix-js-sdk/lib/@types/search.d.ts.map +1 -0
  833. package/node_modules/matrix-js-sdk/lib/@types/search.js +30 -0
  834. package/node_modules/matrix-js-sdk/lib/@types/search.js.map +1 -0
  835. package/node_modules/matrix-js-sdk/lib/@types/signed.d.ts +9 -0
  836. package/node_modules/matrix-js-sdk/lib/@types/signed.d.ts.map +1 -0
  837. package/node_modules/matrix-js-sdk/lib/@types/signed.js +1 -0
  838. package/node_modules/matrix-js-sdk/lib/@types/signed.js.map +1 -0
  839. package/node_modules/matrix-js-sdk/lib/@types/spaces.d.ts +16 -0
  840. package/node_modules/matrix-js-sdk/lib/@types/spaces.d.ts.map +1 -0
  841. package/node_modules/matrix-js-sdk/lib/@types/spaces.js +1 -0
  842. package/node_modules/matrix-js-sdk/lib/@types/spaces.js.map +1 -0
  843. package/node_modules/matrix-js-sdk/lib/@types/state_events.d.ts +121 -0
  844. package/node_modules/matrix-js-sdk/lib/@types/state_events.d.ts.map +1 -0
  845. package/node_modules/matrix-js-sdk/lib/@types/state_events.js +1 -0
  846. package/node_modules/matrix-js-sdk/lib/@types/state_events.js.map +1 -0
  847. package/node_modules/matrix-js-sdk/lib/@types/synapse.d.ts +19 -0
  848. package/node_modules/matrix-js-sdk/lib/@types/synapse.d.ts.map +1 -0
  849. package/node_modules/matrix-js-sdk/lib/@types/synapse.js +1 -0
  850. package/node_modules/matrix-js-sdk/lib/@types/synapse.js.map +1 -0
  851. package/node_modules/matrix-js-sdk/lib/@types/sync.d.ts +8 -0
  852. package/node_modules/matrix-js-sdk/lib/@types/sync.d.ts.map +1 -0
  853. package/node_modules/matrix-js-sdk/lib/@types/sync.js +25 -0
  854. package/node_modules/matrix-js-sdk/lib/@types/sync.js.map +1 -0
  855. package/node_modules/matrix-js-sdk/lib/@types/threepids.d.ts +12 -0
  856. package/node_modules/matrix-js-sdk/lib/@types/threepids.d.ts.map +1 -0
  857. package/node_modules/matrix-js-sdk/lib/@types/threepids.js +24 -0
  858. package/node_modules/matrix-js-sdk/lib/@types/threepids.js.map +1 -0
  859. package/node_modules/matrix-js-sdk/lib/@types/topic.d.ts +55 -0
  860. package/node_modules/matrix-js-sdk/lib/@types/topic.d.ts.map +1 -0
  861. package/node_modules/matrix-js-sdk/lib/@types/topic.js +62 -0
  862. package/node_modules/matrix-js-sdk/lib/@types/topic.js.map +1 -0
  863. package/node_modules/matrix-js-sdk/lib/@types/uia.d.ts +8 -0
  864. package/node_modules/matrix-js-sdk/lib/@types/uia.d.ts.map +1 -0
  865. package/node_modules/matrix-js-sdk/lib/@types/uia.js +1 -0
  866. package/node_modules/matrix-js-sdk/lib/@types/uia.js.map +1 -0
  867. package/node_modules/matrix-js-sdk/lib/NamespacedValue.d.ts +32 -0
  868. package/node_modules/matrix-js-sdk/lib/NamespacedValue.d.ts.map +1 -0
  869. package/node_modules/matrix-js-sdk/lib/NamespacedValue.js +113 -0
  870. package/node_modules/matrix-js-sdk/lib/NamespacedValue.js.map +1 -0
  871. package/node_modules/matrix-js-sdk/lib/ReEmitter.d.ts +15 -0
  872. package/node_modules/matrix-js-sdk/lib/ReEmitter.d.ts.map +1 -0
  873. package/node_modules/matrix-js-sdk/lib/ReEmitter.js +87 -0
  874. package/node_modules/matrix-js-sdk/lib/ReEmitter.js.map +1 -0
  875. package/node_modules/matrix-js-sdk/lib/ToDeviceMessageQueue.d.ts +30 -0
  876. package/node_modules/matrix-js-sdk/lib/ToDeviceMessageQueue.d.ts.map +1 -0
  877. package/node_modules/matrix-js-sdk/lib/ToDeviceMessageQueue.js +135 -0
  878. package/node_modules/matrix-js-sdk/lib/ToDeviceMessageQueue.js.map +1 -0
  879. package/node_modules/matrix-js-sdk/lib/autodiscovery.d.ts +136 -0
  880. package/node_modules/matrix-js-sdk/lib/autodiscovery.d.ts.map +1 -0
  881. package/node_modules/matrix-js-sdk/lib/autodiscovery.js +463 -0
  882. package/node_modules/matrix-js-sdk/lib/autodiscovery.js.map +1 -0
  883. package/node_modules/matrix-js-sdk/lib/base64.d.ts +25 -0
  884. package/node_modules/matrix-js-sdk/lib/base64.d.ts.map +1 -0
  885. package/node_modules/matrix-js-sdk/lib/base64.js +95 -0
  886. package/node_modules/matrix-js-sdk/lib/base64.js.map +1 -0
  887. package/node_modules/matrix-js-sdk/lib/browser-index.d.ts +8 -0
  888. package/node_modules/matrix-js-sdk/lib/browser-index.d.ts.map +1 -0
  889. package/node_modules/matrix-js-sdk/lib/browser-index.js +35 -0
  890. package/node_modules/matrix-js-sdk/lib/browser-index.js.map +1 -0
  891. package/node_modules/matrix-js-sdk/lib/client.d.ts +3508 -0
  892. package/node_modules/matrix-js-sdk/lib/client.d.ts.map +1 -0
  893. package/node_modules/matrix-js-sdk/lib/client.js +7451 -0
  894. package/node_modules/matrix-js-sdk/lib/client.js.map +1 -0
  895. package/node_modules/matrix-js-sdk/lib/common-crypto/CryptoBackend.d.ts +239 -0
  896. package/node_modules/matrix-js-sdk/lib/common-crypto/CryptoBackend.d.ts.map +1 -0
  897. package/node_modules/matrix-js-sdk/lib/common-crypto/CryptoBackend.js +67 -0
  898. package/node_modules/matrix-js-sdk/lib/common-crypto/CryptoBackend.js.map +1 -0
  899. package/node_modules/matrix-js-sdk/lib/common-crypto/key-passphrase.d.ts +14 -0
  900. package/node_modules/matrix-js-sdk/lib/common-crypto/key-passphrase.d.ts.map +1 -0
  901. package/node_modules/matrix-js-sdk/lib/common-crypto/key-passphrase.js +33 -0
  902. package/node_modules/matrix-js-sdk/lib/common-crypto/key-passphrase.js.map +1 -0
  903. package/node_modules/matrix-js-sdk/lib/content-helpers.d.ts +90 -0
  904. package/node_modules/matrix-js-sdk/lib/content-helpers.d.ts.map +1 -0
  905. package/node_modules/matrix-js-sdk/lib/content-helpers.js +260 -0
  906. package/node_modules/matrix-js-sdk/lib/content-helpers.js.map +1 -0
  907. package/node_modules/matrix-js-sdk/lib/content-repo.d.ts +25 -0
  908. package/node_modules/matrix-js-sdk/lib/content-repo.d.ts.map +1 -0
  909. package/node_modules/matrix-js-sdk/lib/content-repo.js +115 -0
  910. package/node_modules/matrix-js-sdk/lib/content-repo.js.map +1 -0
  911. package/node_modules/matrix-js-sdk/lib/crypto/store/base.d.ts +301 -0
  912. package/node_modules/matrix-js-sdk/lib/crypto/store/base.d.ts.map +1 -0
  913. package/node_modules/matrix-js-sdk/lib/crypto/store/base.js +145 -0
  914. package/node_modules/matrix-js-sdk/lib/crypto/store/base.js.map +1 -0
  915. package/node_modules/matrix-js-sdk/lib/crypto/store/indexeddb-crypto-store-backend.d.ts +94 -0
  916. package/node_modules/matrix-js-sdk/lib/crypto/store/indexeddb-crypto-store-backend.d.ts.map +1 -0
  917. package/node_modules/matrix-js-sdk/lib/crypto/store/indexeddb-crypto-store-backend.js +602 -0
  918. package/node_modules/matrix-js-sdk/lib/crypto/store/indexeddb-crypto-store-backend.js.map +1 -0
  919. package/node_modules/matrix-js-sdk/lib/crypto/store/indexeddb-crypto-store.d.ts +251 -0
  920. package/node_modules/matrix-js-sdk/lib/crypto/store/indexeddb-crypto-store.d.ts.map +1 -0
  921. package/node_modules/matrix-js-sdk/lib/crypto/store/indexeddb-crypto-store.js +475 -0
  922. package/node_modules/matrix-js-sdk/lib/crypto/store/indexeddb-crypto-store.js.map +1 -0
  923. package/node_modules/matrix-js-sdk/lib/crypto/store/localStorage-crypto-store.d.ts +102 -0
  924. package/node_modules/matrix-js-sdk/lib/crypto/store/localStorage-crypto-store.d.ts.map +1 -0
  925. package/node_modules/matrix-js-sdk/lib/crypto/store/localStorage-crypto-store.js +376 -0
  926. package/node_modules/matrix-js-sdk/lib/crypto/store/localStorage-crypto-store.js.map +1 -0
  927. package/node_modules/matrix-js-sdk/lib/crypto/store/memory-crypto-store.d.ts +117 -0
  928. package/node_modules/matrix-js-sdk/lib/crypto/store/memory-crypto-store.d.ts.map +1 -0
  929. package/node_modules/matrix-js-sdk/lib/crypto/store/memory-crypto-store.js +313 -0
  930. package/node_modules/matrix-js-sdk/lib/crypto/store/memory-crypto-store.js.map +1 -0
  931. package/node_modules/matrix-js-sdk/lib/crypto-api/CryptoEvent.d.ts +120 -0
  932. package/node_modules/matrix-js-sdk/lib/crypto-api/CryptoEvent.d.ts.map +1 -0
  933. package/node_modules/matrix-js-sdk/lib/crypto-api/CryptoEvent.js +137 -0
  934. package/node_modules/matrix-js-sdk/lib/crypto-api/CryptoEvent.js.map +1 -0
  935. package/node_modules/matrix-js-sdk/lib/crypto-api/CryptoEventHandlerMap.d.ts +26 -0
  936. package/node_modules/matrix-js-sdk/lib/crypto-api/CryptoEventHandlerMap.d.ts.map +1 -0
  937. package/node_modules/matrix-js-sdk/lib/crypto-api/CryptoEventHandlerMap.js +1 -0
  938. package/node_modules/matrix-js-sdk/lib/crypto-api/CryptoEventHandlerMap.js.map +1 -0
  939. package/node_modules/matrix-js-sdk/lib/crypto-api/index.d.ts +1181 -0
  940. package/node_modules/matrix-js-sdk/lib/crypto-api/index.d.ts.map +1 -0
  941. package/node_modules/matrix-js-sdk/lib/crypto-api/index.js +435 -0
  942. package/node_modules/matrix-js-sdk/lib/crypto-api/index.js.map +1 -0
  943. package/node_modules/matrix-js-sdk/lib/crypto-api/key-passphrase.d.ts +11 -0
  944. package/node_modules/matrix-js-sdk/lib/crypto-api/key-passphrase.d.ts.map +1 -0
  945. package/node_modules/matrix-js-sdk/lib/crypto-api/key-passphrase.js +51 -0
  946. package/node_modules/matrix-js-sdk/lib/crypto-api/key-passphrase.js.map +1 -0
  947. package/node_modules/matrix-js-sdk/lib/crypto-api/keybackup.d.ts +87 -0
  948. package/node_modules/matrix-js-sdk/lib/crypto-api/keybackup.d.ts.map +1 -0
  949. package/node_modules/matrix-js-sdk/lib/crypto-api/keybackup.js +1 -0
  950. package/node_modules/matrix-js-sdk/lib/crypto-api/keybackup.js.map +1 -0
  951. package/node_modules/matrix-js-sdk/lib/crypto-api/recovery-key.d.ts +11 -0
  952. package/node_modules/matrix-js-sdk/lib/crypto-api/recovery-key.d.ts.map +1 -0
  953. package/node_modules/matrix-js-sdk/lib/crypto-api/recovery-key.js +65 -0
  954. package/node_modules/matrix-js-sdk/lib/crypto-api/recovery-key.js.map +1 -0
  955. package/node_modules/matrix-js-sdk/lib/crypto-api/verification.d.ts +315 -0
  956. package/node_modules/matrix-js-sdk/lib/crypto-api/verification.d.ts.map +1 -0
  957. package/node_modules/matrix-js-sdk/lib/crypto-api/verification.js +130 -0
  958. package/node_modules/matrix-js-sdk/lib/crypto-api/verification.js.map +1 -0
  959. package/node_modules/matrix-js-sdk/lib/digest.d.ts +10 -0
  960. package/node_modules/matrix-js-sdk/lib/digest.d.ts.map +1 -0
  961. package/node_modules/matrix-js-sdk/lib/digest.js +40 -0
  962. package/node_modules/matrix-js-sdk/lib/digest.js.map +1 -0
  963. package/node_modules/matrix-js-sdk/lib/embedded.d.ts +182 -0
  964. package/node_modules/matrix-js-sdk/lib/embedded.d.ts.map +1 -0
  965. package/node_modules/matrix-js-sdk/lib/embedded.js +730 -0
  966. package/node_modules/matrix-js-sdk/lib/embedded.js.map +1 -0
  967. package/node_modules/matrix-js-sdk/lib/errors.d.ts +38 -0
  968. package/node_modules/matrix-js-sdk/lib/errors.d.ts.map +1 -0
  969. package/node_modules/matrix-js-sdk/lib/errors.js +73 -0
  970. package/node_modules/matrix-js-sdk/lib/errors.js.map +1 -0
  971. package/node_modules/matrix-js-sdk/lib/event-mapper.d.ts +9 -0
  972. package/node_modules/matrix-js-sdk/lib/event-mapper.d.ts.map +1 -0
  973. package/node_modules/matrix-js-sdk/lib/event-mapper.js +74 -0
  974. package/node_modules/matrix-js-sdk/lib/event-mapper.js.map +1 -0
  975. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/ExtensibleEvent.d.ts +38 -0
  976. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/ExtensibleEvent.d.ts.map +1 -0
  977. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/ExtensibleEvent.js +57 -0
  978. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/ExtensibleEvent.js.map +1 -0
  979. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/InvalidEventError.d.ts +7 -0
  980. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/InvalidEventError.d.ts.map +1 -0
  981. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/InvalidEventError.js +25 -0
  982. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/InvalidEventError.js.map +1 -0
  983. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/MessageEvent.d.ts +44 -0
  984. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/MessageEvent.d.ts.map +1 -0
  985. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/MessageEvent.js +134 -0
  986. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/MessageEvent.js.map +1 -0
  987. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/PollEndEvent.d.ts +33 -0
  988. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/PollEndEvent.d.ts.map +1 -0
  989. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/PollEndEvent.js +88 -0
  990. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/PollEndEvent.js.map +1 -0
  991. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/PollResponseEvent.d.ts +49 -0
  992. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/PollResponseEvent.d.ts.map +1 -0
  993. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/PollResponseEvent.js +134 -0
  994. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/PollResponseEvent.js.map +1 -0
  995. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/PollStartEvent.d.ts +71 -0
  996. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/PollStartEvent.d.ts.map +1 -0
  997. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/PollStartEvent.js +185 -0
  998. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/PollStartEvent.js.map +1 -0
  999. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/utilities.d.ts +14 -0
  1000. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/utilities.d.ts.map +1 -0
  1001. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/utilities.js +34 -0
  1002. package/node_modules/matrix-js-sdk/lib/extensible_events_v1/utilities.js.map +1 -0
  1003. package/node_modules/matrix-js-sdk/lib/feature.d.ts +20 -0
  1004. package/node_modules/matrix-js-sdk/lib/feature.d.ts.map +1 -0
  1005. package/node_modules/matrix-js-sdk/lib/feature.js +93 -0
  1006. package/node_modules/matrix-js-sdk/lib/feature.js.map +1 -0
  1007. package/node_modules/matrix-js-sdk/lib/filter-component.d.ts +64 -0
  1008. package/node_modules/matrix-js-sdk/lib/filter-component.d.ts.map +1 -0
  1009. package/node_modules/matrix-js-sdk/lib/filter-component.js +173 -0
  1010. package/node_modules/matrix-js-sdk/lib/filter-component.js.map +1 -0
  1011. package/node_modules/matrix-js-sdk/lib/filter.d.ts +112 -0
  1012. package/node_modules/matrix-js-sdk/lib/filter.d.ts.map +1 -0
  1013. package/node_modules/matrix-js-sdk/lib/filter.js +226 -0
  1014. package/node_modules/matrix-js-sdk/lib/filter.js.map +1 -0
  1015. package/node_modules/matrix-js-sdk/lib/http-api/errors.d.ts +117 -0
  1016. package/node_modules/matrix-js-sdk/lib/http-api/errors.d.ts.map +1 -0
  1017. package/node_modules/matrix-js-sdk/lib/http-api/errors.js +249 -0
  1018. package/node_modules/matrix-js-sdk/lib/http-api/errors.js.map +1 -0
  1019. package/node_modules/matrix-js-sdk/lib/http-api/fetch.d.ts +80 -0
  1020. package/node_modules/matrix-js-sdk/lib/http-api/fetch.d.ts.map +1 -0
  1021. package/node_modules/matrix-js-sdk/lib/http-api/fetch.js +330 -0
  1022. package/node_modules/matrix-js-sdk/lib/http-api/fetch.js.map +1 -0
  1023. package/node_modules/matrix-js-sdk/lib/http-api/index.d.ts +33 -0
  1024. package/node_modules/matrix-js-sdk/lib/http-api/index.d.ts.map +1 -0
  1025. package/node_modules/matrix-js-sdk/lib/http-api/index.js +178 -0
  1026. package/node_modules/matrix-js-sdk/lib/http-api/index.js.map +1 -0
  1027. package/node_modules/matrix-js-sdk/lib/http-api/interface.d.ts +186 -0
  1028. package/node_modules/matrix-js-sdk/lib/http-api/interface.d.ts.map +1 -0
  1029. package/node_modules/matrix-js-sdk/lib/http-api/interface.js +39 -0
  1030. package/node_modules/matrix-js-sdk/lib/http-api/interface.js.map +1 -0
  1031. package/node_modules/matrix-js-sdk/lib/http-api/method.d.ts +10 -0
  1032. package/node_modules/matrix-js-sdk/lib/http-api/method.d.ts.map +1 -0
  1033. package/node_modules/matrix-js-sdk/lib/http-api/method.js +27 -0
  1034. package/node_modules/matrix-js-sdk/lib/http-api/method.js.map +1 -0
  1035. package/node_modules/matrix-js-sdk/lib/http-api/prefix.d.ts +31 -0
  1036. package/node_modules/matrix-js-sdk/lib/http-api/prefix.d.ts.map +1 -0
  1037. package/node_modules/matrix-js-sdk/lib/http-api/prefix.js +50 -0
  1038. package/node_modules/matrix-js-sdk/lib/http-api/prefix.js.map +1 -0
  1039. package/node_modules/matrix-js-sdk/lib/http-api/refresh.d.ts +53 -0
  1040. package/node_modules/matrix-js-sdk/lib/http-api/refresh.d.ts.map +1 -0
  1041. package/node_modules/matrix-js-sdk/lib/http-api/refresh.js +172 -0
  1042. package/node_modules/matrix-js-sdk/lib/http-api/refresh.js.map +1 -0
  1043. package/node_modules/matrix-js-sdk/lib/http-api/utils.d.ts +37 -0
  1044. package/node_modules/matrix-js-sdk/lib/http-api/utils.d.ts.map +1 -0
  1045. package/node_modules/matrix-js-sdk/lib/http-api/utils.js +182 -0
  1046. package/node_modules/matrix-js-sdk/lib/http-api/utils.js.map +1 -0
  1047. package/node_modules/matrix-js-sdk/lib/index.d.ts +4 -0
  1048. package/node_modules/matrix-js-sdk/lib/index.d.ts.map +1 -0
  1049. package/node_modules/matrix-js-sdk/lib/index.js +24 -0
  1050. package/node_modules/matrix-js-sdk/lib/index.js.map +1 -0
  1051. package/node_modules/matrix-js-sdk/lib/indexeddb-helpers.d.ts +10 -0
  1052. package/node_modules/matrix-js-sdk/lib/indexeddb-helpers.d.ts.map +1 -0
  1053. package/node_modules/matrix-js-sdk/lib/indexeddb-helpers.js +51 -0
  1054. package/node_modules/matrix-js-sdk/lib/indexeddb-helpers.js.map +1 -0
  1055. package/node_modules/matrix-js-sdk/lib/indexeddb-worker.d.ts +7 -0
  1056. package/node_modules/matrix-js-sdk/lib/indexeddb-worker.d.ts.map +1 -0
  1057. package/node_modules/matrix-js-sdk/lib/indexeddb-worker.js +25 -0
  1058. package/node_modules/matrix-js-sdk/lib/indexeddb-worker.js.map +1 -0
  1059. package/node_modules/matrix-js-sdk/lib/interactive-auth.d.ts +341 -0
  1060. package/node_modules/matrix-js-sdk/lib/interactive-auth.d.ts.map +1 -0
  1061. package/node_modules/matrix-js-sdk/lib/interactive-auth.js +553 -0
  1062. package/node_modules/matrix-js-sdk/lib/interactive-auth.js.map +1 -0
  1063. package/node_modules/matrix-js-sdk/lib/logger.d.ts +124 -0
  1064. package/node_modules/matrix-js-sdk/lib/logger.d.ts.map +1 -0
  1065. package/node_modules/matrix-js-sdk/lib/logger.js +228 -0
  1066. package/node_modules/matrix-js-sdk/lib/logger.js.map +1 -0
  1067. package/node_modules/matrix-js-sdk/lib/matrix.d.ts +117 -0
  1068. package/node_modules/matrix-js-sdk/lib/matrix.d.ts.map +1 -0
  1069. package/node_modules/matrix-js-sdk/lib/matrix.js +144 -0
  1070. package/node_modules/matrix-js-sdk/lib/matrix.js.map +1 -0
  1071. package/node_modules/matrix-js-sdk/lib/matrixrtc/CallMembership.d.ts +154 -0
  1072. package/node_modules/matrix-js-sdk/lib/matrixrtc/CallMembership.d.ts.map +1 -0
  1073. package/node_modules/matrix-js-sdk/lib/matrixrtc/CallMembership.js +455 -0
  1074. package/node_modules/matrix-js-sdk/lib/matrixrtc/CallMembership.js.map +1 -0
  1075. package/node_modules/matrix-js-sdk/lib/matrixrtc/EncryptionManager.d.ts +44 -0
  1076. package/node_modules/matrix-js-sdk/lib/matrixrtc/EncryptionManager.d.ts.map +1 -0
  1077. package/node_modules/matrix-js-sdk/lib/matrixrtc/EncryptionManager.js +13 -0
  1078. package/node_modules/matrix-js-sdk/lib/matrixrtc/EncryptionManager.js.map +1 -0
  1079. package/node_modules/matrix-js-sdk/lib/matrixrtc/IKeyTransport.d.ts +37 -0
  1080. package/node_modules/matrix-js-sdk/lib/matrixrtc/IKeyTransport.d.ts.map +1 -0
  1081. package/node_modules/matrix-js-sdk/lib/matrixrtc/IKeyTransport.js +27 -0
  1082. package/node_modules/matrix-js-sdk/lib/matrixrtc/IKeyTransport.js.map +1 -0
  1083. package/node_modules/matrix-js-sdk/lib/matrixrtc/IMembershipManager.d.ts +94 -0
  1084. package/node_modules/matrix-js-sdk/lib/matrixrtc/IMembershipManager.d.ts.map +1 -0
  1085. package/node_modules/matrix-js-sdk/lib/matrixrtc/IMembershipManager.js +40 -0
  1086. package/node_modules/matrix-js-sdk/lib/matrixrtc/IMembershipManager.js.map +1 -0
  1087. package/node_modules/matrix-js-sdk/lib/matrixrtc/LivekitTransport.d.ts +23 -0
  1088. package/node_modules/matrix-js-sdk/lib/matrixrtc/LivekitTransport.d.ts.map +1 -0
  1089. package/node_modules/matrix-js-sdk/lib/matrixrtc/LivekitTransport.js +29 -0
  1090. package/node_modules/matrix-js-sdk/lib/matrixrtc/LivekitTransport.js.map +1 -0
  1091. package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSession.d.ts +343 -0
  1092. package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSession.d.ts.map +1 -0
  1093. package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSession.js +619 -0
  1094. package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSession.js.map +1 -0
  1095. package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSessionManager.d.ts +46 -0
  1096. package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSessionManager.d.ts.map +1 -0
  1097. package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSessionManager.js +148 -0
  1098. package/node_modules/matrix-js-sdk/lib/matrixrtc/MatrixRTCSessionManager.js.map +1 -0
  1099. package/node_modules/matrix-js-sdk/lib/matrixrtc/MembershipManager.d.ts +210 -0
  1100. package/node_modules/matrix-js-sdk/lib/matrixrtc/MembershipManager.d.ts.map +1 -0
  1101. package/node_modules/matrix-js-sdk/lib/matrixrtc/MembershipManager.js +970 -0
  1102. package/node_modules/matrix-js-sdk/lib/matrixrtc/MembershipManager.js.map +1 -0
  1103. package/node_modules/matrix-js-sdk/lib/matrixrtc/MembershipManagerActionScheduler.d.ts +59 -0
  1104. package/node_modules/matrix-js-sdk/lib/matrixrtc/MembershipManagerActionScheduler.d.ts.map +1 -0
  1105. package/node_modules/matrix-js-sdk/lib/matrixrtc/MembershipManagerActionScheduler.js +124 -0
  1106. package/node_modules/matrix-js-sdk/lib/matrixrtc/MembershipManagerActionScheduler.js.map +1 -0
  1107. package/node_modules/matrix-js-sdk/lib/matrixrtc/RTCEncryptionManager.d.ts +110 -0
  1108. package/node_modules/matrix-js-sdk/lib/matrixrtc/RTCEncryptionManager.d.ts.map +1 -0
  1109. package/node_modules/matrix-js-sdk/lib/matrixrtc/RTCEncryptionManager.js +373 -0
  1110. package/node_modules/matrix-js-sdk/lib/matrixrtc/RTCEncryptionManager.js.map +1 -0
  1111. package/node_modules/matrix-js-sdk/lib/matrixrtc/ToDeviceKeyTransport.d.ts +30 -0
  1112. package/node_modules/matrix-js-sdk/lib/matrixrtc/ToDeviceKeyTransport.d.ts.map +1 -0
  1113. package/node_modules/matrix-js-sdk/lib/matrixrtc/ToDeviceKeyTransport.js +164 -0
  1114. package/node_modules/matrix-js-sdk/lib/matrixrtc/ToDeviceKeyTransport.js.map +1 -0
  1115. package/node_modules/matrix-js-sdk/lib/matrixrtc/index.d.ts +9 -0
  1116. package/node_modules/matrix-js-sdk/lib/matrixrtc/index.d.ts.map +1 -0
  1117. package/node_modules/matrix-js-sdk/lib/matrixrtc/index.js +23 -0
  1118. package/node_modules/matrix-js-sdk/lib/matrixrtc/index.js.map +1 -0
  1119. package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/common.d.ts +8 -0
  1120. package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/common.d.ts.map +1 -0
  1121. package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/common.js +26 -0
  1122. package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/common.js.map +1 -0
  1123. package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/index.d.ts +4 -0
  1124. package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/index.d.ts.map +1 -0
  1125. package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/index.js +20 -0
  1126. package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/index.js.map +1 -0
  1127. package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/rtc.d.ts +33 -0
  1128. package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/rtc.d.ts.map +1 -0
  1129. package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/rtc.js +138 -0
  1130. package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/rtc.js.map +1 -0
  1131. package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/session.d.ts +77 -0
  1132. package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/session.d.ts.map +1 -0
  1133. package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/session.js +62 -0
  1134. package/node_modules/matrix-js-sdk/lib/matrixrtc/membershipData/session.js.map +1 -0
  1135. package/node_modules/matrix-js-sdk/lib/matrixrtc/types.d.ts +169 -0
  1136. package/node_modules/matrix-js-sdk/lib/matrixrtc/types.d.ts.map +1 -0
  1137. package/node_modules/matrix-js-sdk/lib/matrixrtc/types.js +117 -0
  1138. package/node_modules/matrix-js-sdk/lib/matrixrtc/types.js.map +1 -0
  1139. package/node_modules/matrix-js-sdk/lib/matrixrtc/utils.d.ts +27 -0
  1140. package/node_modules/matrix-js-sdk/lib/matrixrtc/utils.d.ts.map +1 -0
  1141. package/node_modules/matrix-js-sdk/lib/matrixrtc/utils.js +78 -0
  1142. package/node_modules/matrix-js-sdk/lib/matrixrtc/utils.js.map +1 -0
  1143. package/node_modules/matrix-js-sdk/lib/models/MSC3089Branch.d.ts +98 -0
  1144. package/node_modules/matrix-js-sdk/lib/models/MSC3089Branch.d.ts.map +1 -0
  1145. package/node_modules/matrix-js-sdk/lib/models/MSC3089Branch.js +240 -0
  1146. package/node_modules/matrix-js-sdk/lib/models/MSC3089Branch.js.map +1 -0
  1147. package/node_modules/matrix-js-sdk/lib/models/MSC3089TreeSpace.d.ts +166 -0
  1148. package/node_modules/matrix-js-sdk/lib/models/MSC3089TreeSpace.d.ts.map +1 -0
  1149. package/node_modules/matrix-js-sdk/lib/models/MSC3089TreeSpace.js +519 -0
  1150. package/node_modules/matrix-js-sdk/lib/models/MSC3089TreeSpace.js.map +1 -0
  1151. package/node_modules/matrix-js-sdk/lib/models/ToDeviceMessage.d.ts +17 -0
  1152. package/node_modules/matrix-js-sdk/lib/models/ToDeviceMessage.d.ts.map +1 -0
  1153. package/node_modules/matrix-js-sdk/lib/models/ToDeviceMessage.js +1 -0
  1154. package/node_modules/matrix-js-sdk/lib/models/ToDeviceMessage.js.map +1 -0
  1155. package/node_modules/matrix-js-sdk/lib/models/beacon.d.ts +52 -0
  1156. package/node_modules/matrix-js-sdk/lib/models/beacon.d.ts.map +1 -0
  1157. package/node_modules/matrix-js-sdk/lib/models/beacon.js +168 -0
  1158. package/node_modules/matrix-js-sdk/lib/models/beacon.js.map +1 -0
  1159. package/node_modules/matrix-js-sdk/lib/models/compare-event-ordering.d.ts +24 -0
  1160. package/node_modules/matrix-js-sdk/lib/models/compare-event-ordering.d.ts.map +1 -0
  1161. package/node_modules/matrix-js-sdk/lib/models/compare-event-ordering.js +120 -0
  1162. package/node_modules/matrix-js-sdk/lib/models/compare-event-ordering.js.map +1 -0
  1163. package/node_modules/matrix-js-sdk/lib/models/device.d.ts +45 -0
  1164. package/node_modules/matrix-js-sdk/lib/models/device.d.ts.map +1 -0
  1165. package/node_modules/matrix-js-sdk/lib/models/device.js +70 -0
  1166. package/node_modules/matrix-js-sdk/lib/models/device.js.map +1 -0
  1167. package/node_modules/matrix-js-sdk/lib/models/event-context.d.ts +62 -0
  1168. package/node_modules/matrix-js-sdk/lib/models/event-context.d.ts.map +1 -0
  1169. package/node_modules/matrix-js-sdk/lib/models/event-context.js +112 -0
  1170. package/node_modules/matrix-js-sdk/lib/models/event-context.js.map +1 -0
  1171. package/node_modules/matrix-js-sdk/lib/models/event-status.d.ts +19 -0
  1172. package/node_modules/matrix-js-sdk/lib/models/event-status.d.ts.map +1 -0
  1173. package/node_modules/matrix-js-sdk/lib/models/event-status.js +36 -0
  1174. package/node_modules/matrix-js-sdk/lib/models/event-status.js.map +1 -0
  1175. package/node_modules/matrix-js-sdk/lib/models/event-timeline-set.d.ts +308 -0
  1176. package/node_modules/matrix-js-sdk/lib/models/event-timeline-set.d.ts.map +1 -0
  1177. package/node_modules/matrix-js-sdk/lib/models/event-timeline-set.js +795 -0
  1178. package/node_modules/matrix-js-sdk/lib/models/event-timeline-set.js.map +1 -0
  1179. package/node_modules/matrix-js-sdk/lib/models/event-timeline.d.ts +224 -0
  1180. package/node_modules/matrix-js-sdk/lib/models/event-timeline.d.ts.map +1 -0
  1181. package/node_modules/matrix-js-sdk/lib/models/event-timeline.js +427 -0
  1182. package/node_modules/matrix-js-sdk/lib/models/event-timeline.js.map +1 -0
  1183. package/node_modules/matrix-js-sdk/lib/models/event.d.ts +844 -0
  1184. package/node_modules/matrix-js-sdk/lib/models/event.d.ts.map +1 -0
  1185. package/node_modules/matrix-js-sdk/lib/models/event.js +1583 -0
  1186. package/node_modules/matrix-js-sdk/lib/models/event.js.map +1 -0
  1187. package/node_modules/matrix-js-sdk/lib/models/invites-ignorer-types.d.ts +27 -0
  1188. package/node_modules/matrix-js-sdk/lib/models/invites-ignorer-types.d.ts.map +1 -0
  1189. package/node_modules/matrix-js-sdk/lib/models/invites-ignorer-types.js +56 -0
  1190. package/node_modules/matrix-js-sdk/lib/models/invites-ignorer-types.js.map +1 -0
  1191. package/node_modules/matrix-js-sdk/lib/models/invites-ignorer.d.ts +112 -0
  1192. package/node_modules/matrix-js-sdk/lib/models/invites-ignorer.d.ts.map +1 -0
  1193. package/node_modules/matrix-js-sdk/lib/models/invites-ignorer.js +353 -0
  1194. package/node_modules/matrix-js-sdk/lib/models/invites-ignorer.js.map +1 -0
  1195. package/node_modules/matrix-js-sdk/lib/models/poll.d.ts +67 -0
  1196. package/node_modules/matrix-js-sdk/lib/models/poll.d.ts.map +1 -0
  1197. package/node_modules/matrix-js-sdk/lib/models/poll.js +235 -0
  1198. package/node_modules/matrix-js-sdk/lib/models/poll.js.map +1 -0
  1199. package/node_modules/matrix-js-sdk/lib/models/profile-keys.d.ts +17 -0
  1200. package/node_modules/matrix-js-sdk/lib/models/profile-keys.d.ts.map +1 -0
  1201. package/node_modules/matrix-js-sdk/lib/models/profile-keys.js +34 -0
  1202. package/node_modules/matrix-js-sdk/lib/models/profile-keys.js.map +1 -0
  1203. package/node_modules/matrix-js-sdk/lib/models/read-receipt.d.ts +115 -0
  1204. package/node_modules/matrix-js-sdk/lib/models/read-receipt.d.ts.map +1 -0
  1205. package/node_modules/matrix-js-sdk/lib/models/read-receipt.js +370 -0
  1206. package/node_modules/matrix-js-sdk/lib/models/read-receipt.js.map +1 -0
  1207. package/node_modules/matrix-js-sdk/lib/models/related-relations.d.ts +11 -0
  1208. package/node_modules/matrix-js-sdk/lib/models/related-relations.d.ts.map +1 -0
  1209. package/node_modules/matrix-js-sdk/lib/models/related-relations.js +31 -0
  1210. package/node_modules/matrix-js-sdk/lib/models/related-relations.js.map +1 -0
  1211. package/node_modules/matrix-js-sdk/lib/models/relations-container.d.ts +44 -0
  1212. package/node_modules/matrix-js-sdk/lib/models/relations-container.d.ts.map +1 -0
  1213. package/node_modules/matrix-js-sdk/lib/models/relations-container.js +130 -0
  1214. package/node_modules/matrix-js-sdk/lib/models/relations-container.js.map +1 -0
  1215. package/node_modules/matrix-js-sdk/lib/models/relations.d.ts +123 -0
  1216. package/node_modules/matrix-js-sdk/lib/models/relations.d.ts.map +1 -0
  1217. package/node_modules/matrix-js-sdk/lib/models/relations.js +375 -0
  1218. package/node_modules/matrix-js-sdk/lib/models/relations.js.map +1 -0
  1219. package/node_modules/matrix-js-sdk/lib/models/room-member.d.ts +221 -0
  1220. package/node_modules/matrix-js-sdk/lib/models/room-member.d.ts.map +1 -0
  1221. package/node_modules/matrix-js-sdk/lib/models/room-member.js +354 -0
  1222. package/node_modules/matrix-js-sdk/lib/models/room-member.js.map +1 -0
  1223. package/node_modules/matrix-js-sdk/lib/models/room-receipts.d.ts +39 -0
  1224. package/node_modules/matrix-js-sdk/lib/models/room-receipts.d.ts.map +1 -0
  1225. package/node_modules/matrix-js-sdk/lib/models/room-receipts.js +395 -0
  1226. package/node_modules/matrix-js-sdk/lib/models/room-receipts.js.map +1 -0
  1227. package/node_modules/matrix-js-sdk/lib/models/room-state.d.ts +463 -0
  1228. package/node_modules/matrix-js-sdk/lib/models/room-state.d.ts.map +1 -0
  1229. package/node_modules/matrix-js-sdk/lib/models/room-state.js +1066 -0
  1230. package/node_modules/matrix-js-sdk/lib/models/room-state.js.map +1 -0
  1231. package/node_modules/matrix-js-sdk/lib/models/room-sticky-events.d.ts +110 -0
  1232. package/node_modules/matrix-js-sdk/lib/models/room-sticky-events.d.ts.map +1 -0
  1233. package/node_modules/matrix-js-sdk/lib/models/room-sticky-events.js +368 -0
  1234. package/node_modules/matrix-js-sdk/lib/models/room-sticky-events.js.map +1 -0
  1235. package/node_modules/matrix-js-sdk/lib/models/room-summary.d.ts +59 -0
  1236. package/node_modules/matrix-js-sdk/lib/models/room-summary.d.ts.map +1 -0
  1237. package/node_modules/matrix-js-sdk/lib/models/room-summary.js +39 -0
  1238. package/node_modules/matrix-js-sdk/lib/models/room-summary.js.map +1 -0
  1239. package/node_modules/matrix-js-sdk/lib/models/room.d.ts +1285 -0
  1240. package/node_modules/matrix-js-sdk/lib/models/room.d.ts.map +1 -0
  1241. package/node_modules/matrix-js-sdk/lib/models/room.js +3525 -0
  1242. package/node_modules/matrix-js-sdk/lib/models/room.js.map +1 -0
  1243. package/node_modules/matrix-js-sdk/lib/models/search-result.d.ts +20 -0
  1244. package/node_modules/matrix-js-sdk/lib/models/search-result.d.ts.map +1 -0
  1245. package/node_modules/matrix-js-sdk/lib/models/search-result.js +52 -0
  1246. package/node_modules/matrix-js-sdk/lib/models/search-result.js.map +1 -0
  1247. package/node_modules/matrix-js-sdk/lib/models/thread.d.ts +245 -0
  1248. package/node_modules/matrix-js-sdk/lib/models/thread.d.ts.map +1 -0
  1249. package/node_modules/matrix-js-sdk/lib/models/thread.js +821 -0
  1250. package/node_modules/matrix-js-sdk/lib/models/thread.js.map +1 -0
  1251. package/node_modules/matrix-js-sdk/lib/models/typed-event-emitter.d.ts +157 -0
  1252. package/node_modules/matrix-js-sdk/lib/models/typed-event-emitter.d.ts.map +1 -0
  1253. package/node_modules/matrix-js-sdk/lib/models/typed-event-emitter.js +227 -0
  1254. package/node_modules/matrix-js-sdk/lib/models/typed-event-emitter.js.map +1 -0
  1255. package/node_modules/matrix-js-sdk/lib/models/user.d.ts +200 -0
  1256. package/node_modules/matrix-js-sdk/lib/models/user.d.ts.map +1 -0
  1257. package/node_modules/matrix-js-sdk/lib/models/user.js +204 -0
  1258. package/node_modules/matrix-js-sdk/lib/models/user.js.map +1 -0
  1259. package/node_modules/matrix-js-sdk/lib/oidc/authorize.d.ts +157 -0
  1260. package/node_modules/matrix-js-sdk/lib/oidc/authorize.d.ts.map +1 -0
  1261. package/node_modules/matrix-js-sdk/lib/oidc/authorize.js +398 -0
  1262. package/node_modules/matrix-js-sdk/lib/oidc/authorize.js.map +1 -0
  1263. package/node_modules/matrix-js-sdk/lib/oidc/discovery.d.ts +22 -0
  1264. package/node_modules/matrix-js-sdk/lib/oidc/discovery.d.ts.map +1 -0
  1265. package/node_modules/matrix-js-sdk/lib/oidc/discovery.js +78 -0
  1266. package/node_modules/matrix-js-sdk/lib/oidc/discovery.js.map +1 -0
  1267. package/node_modules/matrix-js-sdk/lib/oidc/error.d.ts +18 -0
  1268. package/node_modules/matrix-js-sdk/lib/oidc/error.d.ts.map +1 -0
  1269. package/node_modules/matrix-js-sdk/lib/oidc/error.js +35 -0
  1270. package/node_modules/matrix-js-sdk/lib/oidc/error.js.map +1 -0
  1271. package/node_modules/matrix-js-sdk/lib/oidc/index.d.ts +16 -0
  1272. package/node_modules/matrix-js-sdk/lib/oidc/index.d.ts.map +1 -0
  1273. package/node_modules/matrix-js-sdk/lib/oidc/index.js +29 -0
  1274. package/node_modules/matrix-js-sdk/lib/oidc/index.js.map +1 -0
  1275. package/node_modules/matrix-js-sdk/lib/oidc/register.d.ts +70 -0
  1276. package/node_modules/matrix-js-sdk/lib/oidc/register.d.ts.map +1 -0
  1277. package/node_modules/matrix-js-sdk/lib/oidc/register.js +140 -0
  1278. package/node_modules/matrix-js-sdk/lib/oidc/register.js.map +1 -0
  1279. package/node_modules/matrix-js-sdk/lib/oidc/tokenRefresher.d.ts +91 -0
  1280. package/node_modules/matrix-js-sdk/lib/oidc/tokenRefresher.d.ts.map +1 -0
  1281. package/node_modules/matrix-js-sdk/lib/oidc/tokenRefresher.js +184 -0
  1282. package/node_modules/matrix-js-sdk/lib/oidc/tokenRefresher.js.map +1 -0
  1283. package/node_modules/matrix-js-sdk/lib/oidc/validate.d.ts +78 -0
  1284. package/node_modules/matrix-js-sdk/lib/oidc/validate.d.ts.map +1 -0
  1285. package/node_modules/matrix-js-sdk/lib/oidc/validate.js +181 -0
  1286. package/node_modules/matrix-js-sdk/lib/oidc/validate.js.map +1 -0
  1287. package/node_modules/matrix-js-sdk/lib/pushprocessor.d.ts +140 -0
  1288. package/node_modules/matrix-js-sdk/lib/pushprocessor.d.ts.map +1 -0
  1289. package/node_modules/matrix-js-sdk/lib/pushprocessor.js +705 -0
  1290. package/node_modules/matrix-js-sdk/lib/pushprocessor.js.map +1 -0
  1291. package/node_modules/matrix-js-sdk/lib/randomstring.d.ts +32 -0
  1292. package/node_modules/matrix-js-sdk/lib/randomstring.d.ts.map +1 -0
  1293. package/node_modules/matrix-js-sdk/lib/randomstring.js +97 -0
  1294. package/node_modules/matrix-js-sdk/lib/randomstring.js.map +1 -0
  1295. package/node_modules/matrix-js-sdk/lib/realtime-callbacks.d.ts +18 -0
  1296. package/node_modules/matrix-js-sdk/lib/realtime-callbacks.d.ts.map +1 -0
  1297. package/node_modules/matrix-js-sdk/lib/realtime-callbacks.js +177 -0
  1298. package/node_modules/matrix-js-sdk/lib/realtime-callbacks.js.map +1 -0
  1299. package/node_modules/matrix-js-sdk/lib/receipt-accumulator.d.ts +51 -0
  1300. package/node_modules/matrix-js-sdk/lib/receipt-accumulator.d.ts.map +1 -0
  1301. package/node_modules/matrix-js-sdk/lib/receipt-accumulator.js +173 -0
  1302. package/node_modules/matrix-js-sdk/lib/receipt-accumulator.js.map +1 -0
  1303. package/node_modules/matrix-js-sdk/lib/rendezvous/MSC4108SignInWithQR.d.ts +129 -0
  1304. package/node_modules/matrix-js-sdk/lib/rendezvous/MSC4108SignInWithQR.d.ts.map +1 -0
  1305. package/node_modules/matrix-js-sdk/lib/rendezvous/MSC4108SignInWithQR.js +466 -0
  1306. package/node_modules/matrix-js-sdk/lib/rendezvous/MSC4108SignInWithQR.js.map +1 -0
  1307. package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousChannel.d.ts +27 -0
  1308. package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousChannel.d.ts.map +1 -0
  1309. package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousChannel.js +1 -0
  1310. package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousChannel.js.map +1 -0
  1311. package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousCode.d.ts +9 -0
  1312. package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousCode.d.ts.map +1 -0
  1313. package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousCode.js +1 -0
  1314. package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousCode.js.map +1 -0
  1315. package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousError.d.ts +6 -0
  1316. package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousError.d.ts.map +1 -0
  1317. package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousError.js +23 -0
  1318. package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousError.js.map +1 -0
  1319. package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousFailureReason.d.ts +31 -0
  1320. package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousFailureReason.d.ts.map +1 -0
  1321. package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousFailureReason.js +47 -0
  1322. package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousFailureReason.js.map +1 -0
  1323. package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousIntent.d.ts +5 -0
  1324. package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousIntent.d.ts.map +1 -0
  1325. package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousIntent.js +22 -0
  1326. package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousIntent.js.map +1 -0
  1327. package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousTransport.d.ts +36 -0
  1328. package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousTransport.d.ts.map +1 -0
  1329. package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousTransport.js +1 -0
  1330. package/node_modules/matrix-js-sdk/lib/rendezvous/RendezvousTransport.js.map +1 -0
  1331. package/node_modules/matrix-js-sdk/lib/rendezvous/channels/MSC4108SecureChannel.d.ts +58 -0
  1332. package/node_modules/matrix-js-sdk/lib/rendezvous/channels/MSC4108SecureChannel.d.ts.map +1 -0
  1333. package/node_modules/matrix-js-sdk/lib/rendezvous/channels/MSC4108SecureChannel.js +243 -0
  1334. package/node_modules/matrix-js-sdk/lib/rendezvous/channels/MSC4108SecureChannel.js.map +1 -0
  1335. package/node_modules/matrix-js-sdk/lib/rendezvous/channels/index.d.ts +2 -0
  1336. package/node_modules/matrix-js-sdk/lib/rendezvous/channels/index.d.ts.map +1 -0
  1337. package/node_modules/matrix-js-sdk/lib/rendezvous/channels/index.js +18 -0
  1338. package/node_modules/matrix-js-sdk/lib/rendezvous/channels/index.js.map +1 -0
  1339. package/node_modules/matrix-js-sdk/lib/rendezvous/index.d.ts +46 -0
  1340. package/node_modules/matrix-js-sdk/lib/rendezvous/index.d.ts.map +1 -0
  1341. package/node_modules/matrix-js-sdk/lib/rendezvous/index.js +138 -0
  1342. package/node_modules/matrix-js-sdk/lib/rendezvous/index.js.map +1 -0
  1343. package/node_modules/matrix-js-sdk/lib/rendezvous/transports/MSC4108RendezvousSession.d.ts +61 -0
  1344. package/node_modules/matrix-js-sdk/lib/rendezvous/transports/MSC4108RendezvousSession.d.ts.map +1 -0
  1345. package/node_modules/matrix-js-sdk/lib/rendezvous/transports/MSC4108RendezvousSession.js +245 -0
  1346. package/node_modules/matrix-js-sdk/lib/rendezvous/transports/MSC4108RendezvousSession.js.map +1 -0
  1347. package/node_modules/matrix-js-sdk/lib/rendezvous/transports/index.d.ts +2 -0
  1348. package/node_modules/matrix-js-sdk/lib/rendezvous/transports/index.d.ts.map +1 -0
  1349. package/node_modules/matrix-js-sdk/lib/rendezvous/transports/index.js +18 -0
  1350. package/node_modules/matrix-js-sdk/lib/rendezvous/transports/index.js.map +1 -0
  1351. package/node_modules/matrix-js-sdk/lib/room-hierarchy.d.ts +35 -0
  1352. package/node_modules/matrix-js-sdk/lib/room-hierarchy.d.ts.map +1 -0
  1353. package/node_modules/matrix-js-sdk/lib/room-hierarchy.js +131 -0
  1354. package/node_modules/matrix-js-sdk/lib/room-hierarchy.js.map +1 -0
  1355. package/node_modules/matrix-js-sdk/lib/rust-crypto/CrossSigningIdentity.d.ts +35 -0
  1356. package/node_modules/matrix-js-sdk/lib/rust-crypto/CrossSigningIdentity.d.ts.map +1 -0
  1357. package/node_modules/matrix-js-sdk/lib/rust-crypto/CrossSigningIdentity.js +163 -0
  1358. package/node_modules/matrix-js-sdk/lib/rust-crypto/CrossSigningIdentity.js.map +1 -0
  1359. package/node_modules/matrix-js-sdk/lib/rust-crypto/DehydratedDeviceManager.d.ts +118 -0
  1360. package/node_modules/matrix-js-sdk/lib/rust-crypto/DehydratedDeviceManager.d.ts.map +1 -0
  1361. package/node_modules/matrix-js-sdk/lib/rust-crypto/DehydratedDeviceManager.js +360 -0
  1362. package/node_modules/matrix-js-sdk/lib/rust-crypto/DehydratedDeviceManager.js.map +1 -0
  1363. package/node_modules/matrix-js-sdk/lib/rust-crypto/KeyClaimManager.d.ts +33 -0
  1364. package/node_modules/matrix-js-sdk/lib/rust-crypto/KeyClaimManager.d.ts.map +1 -0
  1365. package/node_modules/matrix-js-sdk/lib/rust-crypto/KeyClaimManager.js +81 -0
  1366. package/node_modules/matrix-js-sdk/lib/rust-crypto/KeyClaimManager.js.map +1 -0
  1367. package/node_modules/matrix-js-sdk/lib/rust-crypto/OutgoingRequestProcessor.d.ts +36 -0
  1368. package/node_modules/matrix-js-sdk/lib/rust-crypto/OutgoingRequestProcessor.d.ts.map +1 -0
  1369. package/node_modules/matrix-js-sdk/lib/rust-crypto/OutgoingRequestProcessor.js +201 -0
  1370. package/node_modules/matrix-js-sdk/lib/rust-crypto/OutgoingRequestProcessor.js.map +1 -0
  1371. package/node_modules/matrix-js-sdk/lib/rust-crypto/OutgoingRequestsManager.d.ts +47 -0
  1372. package/node_modules/matrix-js-sdk/lib/rust-crypto/OutgoingRequestsManager.d.ts.map +1 -0
  1373. package/node_modules/matrix-js-sdk/lib/rust-crypto/OutgoingRequestsManager.js +175 -0
  1374. package/node_modules/matrix-js-sdk/lib/rust-crypto/OutgoingRequestsManager.js.map +1 -0
  1375. package/node_modules/matrix-js-sdk/lib/rust-crypto/PerSessionKeyBackupDownloader.d.ts +120 -0
  1376. package/node_modules/matrix-js-sdk/lib/rust-crypto/PerSessionKeyBackupDownloader.d.ts.map +1 -0
  1377. package/node_modules/matrix-js-sdk/lib/rust-crypto/PerSessionKeyBackupDownloader.js +467 -0
  1378. package/node_modules/matrix-js-sdk/lib/rust-crypto/PerSessionKeyBackupDownloader.js.map +1 -0
  1379. package/node_modules/matrix-js-sdk/lib/rust-crypto/RoomEncryptor.d.ts +100 -0
  1380. package/node_modules/matrix-js-sdk/lib/rust-crypto/RoomEncryptor.d.ts.map +1 -0
  1381. package/node_modules/matrix-js-sdk/lib/rust-crypto/RoomEncryptor.js +308 -0
  1382. package/node_modules/matrix-js-sdk/lib/rust-crypto/RoomEncryptor.js.map +1 -0
  1383. package/node_modules/matrix-js-sdk/lib/rust-crypto/backup.d.ts +282 -0
  1384. package/node_modules/matrix-js-sdk/lib/rust-crypto/backup.d.ts.map +1 -0
  1385. package/node_modules/matrix-js-sdk/lib/rust-crypto/backup.js +924 -0
  1386. package/node_modules/matrix-js-sdk/lib/rust-crypto/backup.js.map +1 -0
  1387. package/node_modules/matrix-js-sdk/lib/rust-crypto/constants.d.ts +3 -0
  1388. package/node_modules/matrix-js-sdk/lib/rust-crypto/constants.d.ts.map +1 -0
  1389. package/node_modules/matrix-js-sdk/lib/rust-crypto/constants.js +19 -0
  1390. package/node_modules/matrix-js-sdk/lib/rust-crypto/constants.js.map +1 -0
  1391. package/node_modules/matrix-js-sdk/lib/rust-crypto/device-converter.d.ts +28 -0
  1392. package/node_modules/matrix-js-sdk/lib/rust-crypto/device-converter.d.ts.map +1 -0
  1393. package/node_modules/matrix-js-sdk/lib/rust-crypto/device-converter.js +132 -0
  1394. package/node_modules/matrix-js-sdk/lib/rust-crypto/device-converter.js.map +1 -0
  1395. package/node_modules/matrix-js-sdk/lib/rust-crypto/index.d.ts +65 -0
  1396. package/node_modules/matrix-js-sdk/lib/rust-crypto/index.d.ts.map +1 -0
  1397. package/node_modules/matrix-js-sdk/lib/rust-crypto/index.js +159 -0
  1398. package/node_modules/matrix-js-sdk/lib/rust-crypto/index.js.map +1 -0
  1399. package/node_modules/matrix-js-sdk/lib/rust-crypto/libolm_migration.d.ts +81 -0
  1400. package/node_modules/matrix-js-sdk/lib/rust-crypto/libolm_migration.d.ts.map +1 -0
  1401. package/node_modules/matrix-js-sdk/lib/rust-crypto/libolm_migration.js +454 -0
  1402. package/node_modules/matrix-js-sdk/lib/rust-crypto/libolm_migration.js.map +1 -0
  1403. package/node_modules/matrix-js-sdk/lib/rust-crypto/rust-crypto.d.ts +605 -0
  1404. package/node_modules/matrix-js-sdk/lib/rust-crypto/rust-crypto.d.ts.map +1 -0
  1405. package/node_modules/matrix-js-sdk/lib/rust-crypto/rust-crypto.js +2392 -0
  1406. package/node_modules/matrix-js-sdk/lib/rust-crypto/rust-crypto.js.map +1 -0
  1407. package/node_modules/matrix-js-sdk/lib/rust-crypto/secret-storage.d.ts +22 -0
  1408. package/node_modules/matrix-js-sdk/lib/rust-crypto/secret-storage.d.ts.map +1 -0
  1409. package/node_modules/matrix-js-sdk/lib/rust-crypto/secret-storage.js +63 -0
  1410. package/node_modules/matrix-js-sdk/lib/rust-crypto/secret-storage.js.map +1 -0
  1411. package/node_modules/matrix-js-sdk/lib/rust-crypto/verification.d.ts +321 -0
  1412. package/node_modules/matrix-js-sdk/lib/rust-crypto/verification.d.ts.map +1 -0
  1413. package/node_modules/matrix-js-sdk/lib/rust-crypto/verification.js +817 -0
  1414. package/node_modules/matrix-js-sdk/lib/rust-crypto/verification.js.map +1 -0
  1415. package/node_modules/matrix-js-sdk/lib/scheduler.d.ts +132 -0
  1416. package/node_modules/matrix-js-sdk/lib/scheduler.d.ts.map +1 -0
  1417. package/node_modules/matrix-js-sdk/lib/scheduler.js +259 -0
  1418. package/node_modules/matrix-js-sdk/lib/scheduler.js.map +1 -0
  1419. package/node_modules/matrix-js-sdk/lib/secret-storage.d.ts +383 -0
  1420. package/node_modules/matrix-js-sdk/lib/secret-storage.d.ts.map +1 -0
  1421. package/node_modules/matrix-js-sdk/lib/secret-storage.js +493 -0
  1422. package/node_modules/matrix-js-sdk/lib/secret-storage.js.map +1 -0
  1423. package/node_modules/matrix-js-sdk/lib/serverCapabilities.d.ts +78 -0
  1424. package/node_modules/matrix-js-sdk/lib/serverCapabilities.d.ts.map +1 -0
  1425. package/node_modules/matrix-js-sdk/lib/serverCapabilities.js +101 -0
  1426. package/node_modules/matrix-js-sdk/lib/serverCapabilities.js.map +1 -0
  1427. package/node_modules/matrix-js-sdk/lib/service-types.d.ts +5 -0
  1428. package/node_modules/matrix-js-sdk/lib/service-types.d.ts.map +1 -0
  1429. package/node_modules/matrix-js-sdk/lib/service-types.js +23 -0
  1430. package/node_modules/matrix-js-sdk/lib/service-types.js.map +1 -0
  1431. package/node_modules/matrix-js-sdk/lib/sliding-sync-sdk.d.ts +107 -0
  1432. package/node_modules/matrix-js-sdk/lib/sliding-sync-sdk.d.ts.map +1 -0
  1433. package/node_modules/matrix-js-sdk/lib/sliding-sync-sdk.js +887 -0
  1434. package/node_modules/matrix-js-sdk/lib/sliding-sync-sdk.js.map +1 -0
  1435. package/node_modules/matrix-js-sdk/lib/sliding-sync.d.ts +306 -0
  1436. package/node_modules/matrix-js-sdk/lib/sliding-sync.d.ts.map +1 -0
  1437. package/node_modules/matrix-js-sdk/lib/sliding-sync.js +580 -0
  1438. package/node_modules/matrix-js-sdk/lib/sliding-sync.js.map +1 -0
  1439. package/node_modules/matrix-js-sdk/lib/store/index.d.ts +217 -0
  1440. package/node_modules/matrix-js-sdk/lib/store/index.d.ts.map +1 -0
  1441. package/node_modules/matrix-js-sdk/lib/store/index.js +1 -0
  1442. package/node_modules/matrix-js-sdk/lib/store/index.js.map +1 -0
  1443. package/node_modules/matrix-js-sdk/lib/store/indexeddb-backend.d.ts +28 -0
  1444. package/node_modules/matrix-js-sdk/lib/store/indexeddb-backend.d.ts.map +1 -0
  1445. package/node_modules/matrix-js-sdk/lib/store/indexeddb-backend.js +1 -0
  1446. package/node_modules/matrix-js-sdk/lib/store/indexeddb-backend.js.map +1 -0
  1447. package/node_modules/matrix-js-sdk/lib/store/indexeddb-local-backend.d.ts +132 -0
  1448. package/node_modules/matrix-js-sdk/lib/store/indexeddb-local-backend.d.ts.map +1 -0
  1449. package/node_modules/matrix-js-sdk/lib/store/indexeddb-local-backend.js +648 -0
  1450. package/node_modules/matrix-js-sdk/lib/store/indexeddb-local-backend.js.map +1 -0
  1451. package/node_modules/matrix-js-sdk/lib/store/indexeddb-remote-backend.d.ts +83 -0
  1452. package/node_modules/matrix-js-sdk/lib/store/indexeddb-remote-backend.d.ts.map +1 -0
  1453. package/node_modules/matrix-js-sdk/lib/store/indexeddb-remote-backend.js +226 -0
  1454. package/node_modules/matrix-js-sdk/lib/store/indexeddb-remote-backend.js.map +1 -0
  1455. package/node_modules/matrix-js-sdk/lib/store/indexeddb-store-worker.d.ts +35 -0
  1456. package/node_modules/matrix-js-sdk/lib/store/indexeddb-store-worker.d.ts.map +1 -0
  1457. package/node_modules/matrix-js-sdk/lib/store/indexeddb-store-worker.js +154 -0
  1458. package/node_modules/matrix-js-sdk/lib/store/indexeddb-store-worker.js.map +1 -0
  1459. package/node_modules/matrix-js-sdk/lib/store/indexeddb.d.ts +146 -0
  1460. package/node_modules/matrix-js-sdk/lib/store/indexeddb.d.ts.map +1 -0
  1461. package/node_modules/matrix-js-sdk/lib/store/indexeddb.js +367 -0
  1462. package/node_modules/matrix-js-sdk/lib/store/indexeddb.js.map +1 -0
  1463. package/node_modules/matrix-js-sdk/lib/store/local-storage-events-emitter.d.ts +30 -0
  1464. package/node_modules/matrix-js-sdk/lib/store/local-storage-events-emitter.d.ts.map +1 -0
  1465. package/node_modules/matrix-js-sdk/lib/store/local-storage-events-emitter.js +37 -0
  1466. package/node_modules/matrix-js-sdk/lib/store/local-storage-events-emitter.js.map +1 -0
  1467. package/node_modules/matrix-js-sdk/lib/store/memory.d.ts +213 -0
  1468. package/node_modules/matrix-js-sdk/lib/store/memory.d.ts.map +1 -0
  1469. package/node_modules/matrix-js-sdk/lib/store/memory.js +447 -0
  1470. package/node_modules/matrix-js-sdk/lib/store/memory.js.map +1 -0
  1471. package/node_modules/matrix-js-sdk/lib/store/stub.d.ts +164 -0
  1472. package/node_modules/matrix-js-sdk/lib/store/stub.d.ts.map +1 -0
  1473. package/node_modules/matrix-js-sdk/lib/store/stub.js +283 -0
  1474. package/node_modules/matrix-js-sdk/lib/store/stub.js.map +1 -0
  1475. package/node_modules/matrix-js-sdk/lib/sync-accumulator.d.ts +222 -0
  1476. package/node_modules/matrix-js-sdk/lib/sync-accumulator.d.ts.map +1 -0
  1477. package/node_modules/matrix-js-sdk/lib/sync-accumulator.js +590 -0
  1478. package/node_modules/matrix-js-sdk/lib/sync-accumulator.js.map +1 -0
  1479. package/node_modules/matrix-js-sdk/lib/sync.d.ts +281 -0
  1480. package/node_modules/matrix-js-sdk/lib/sync.d.ts.map +1 -0
  1481. package/node_modules/matrix-js-sdk/lib/sync.js +1799 -0
  1482. package/node_modules/matrix-js-sdk/lib/sync.js.map +1 -0
  1483. package/node_modules/matrix-js-sdk/lib/testing.d.ts +98 -0
  1484. package/node_modules/matrix-js-sdk/lib/testing.d.ts.map +1 -0
  1485. package/node_modules/matrix-js-sdk/lib/testing.js +205 -0
  1486. package/node_modules/matrix-js-sdk/lib/testing.js.map +1 -0
  1487. package/node_modules/matrix-js-sdk/lib/thread-utils.d.ts +10 -0
  1488. package/node_modules/matrix-js-sdk/lib/thread-utils.d.ts.map +1 -0
  1489. package/node_modules/matrix-js-sdk/lib/thread-utils.js +31 -0
  1490. package/node_modules/matrix-js-sdk/lib/thread-utils.js.map +1 -0
  1491. package/node_modules/matrix-js-sdk/lib/timeline-window.d.ts +168 -0
  1492. package/node_modules/matrix-js-sdk/lib/timeline-window.d.ts.map +1 -0
  1493. package/node_modules/matrix-js-sdk/lib/timeline-window.js +490 -0
  1494. package/node_modules/matrix-js-sdk/lib/timeline-window.js.map +1 -0
  1495. package/node_modules/matrix-js-sdk/lib/types.d.ts +33 -0
  1496. package/node_modules/matrix-js-sdk/lib/types.d.ts.map +1 -0
  1497. package/node_modules/matrix-js-sdk/lib/types.js +52 -0
  1498. package/node_modules/matrix-js-sdk/lib/types.js.map +1 -0
  1499. package/node_modules/matrix-js-sdk/lib/utils/decryptAESSecretStorageItem.d.ts +12 -0
  1500. package/node_modules/matrix-js-sdk/lib/utils/decryptAESSecretStorageItem.d.ts.map +1 -0
  1501. package/node_modules/matrix-js-sdk/lib/utils/decryptAESSecretStorageItem.js +54 -0
  1502. package/node_modules/matrix-js-sdk/lib/utils/decryptAESSecretStorageItem.js.map +1 -0
  1503. package/node_modules/matrix-js-sdk/lib/utils/encryptAESSecretStorageItem.d.ts +16 -0
  1504. package/node_modules/matrix-js-sdk/lib/utils/encryptAESSecretStorageItem.d.ts.map +1 -0
  1505. package/node_modules/matrix-js-sdk/lib/utils/encryptAESSecretStorageItem.js +72 -0
  1506. package/node_modules/matrix-js-sdk/lib/utils/encryptAESSecretStorageItem.js.map +1 -0
  1507. package/node_modules/matrix-js-sdk/lib/utils/internal/deriveKeys.d.ts +10 -0
  1508. package/node_modules/matrix-js-sdk/lib/utils/internal/deriveKeys.d.ts.map +1 -0
  1509. package/node_modules/matrix-js-sdk/lib/utils/internal/deriveKeys.js +60 -0
  1510. package/node_modules/matrix-js-sdk/lib/utils/internal/deriveKeys.js.map +1 -0
  1511. package/node_modules/matrix-js-sdk/lib/utils/roomVersion.d.ts +13 -0
  1512. package/node_modules/matrix-js-sdk/lib/utils/roomVersion.d.ts.map +1 -0
  1513. package/node_modules/matrix-js-sdk/lib/utils/roomVersion.js +36 -0
  1514. package/node_modules/matrix-js-sdk/lib/utils/roomVersion.js.map +1 -0
  1515. package/node_modules/matrix-js-sdk/lib/utils.d.ts +270 -0
  1516. package/node_modules/matrix-js-sdk/lib/utils.d.ts.map +1 -0
  1517. package/node_modules/matrix-js-sdk/lib/utils.js +779 -0
  1518. package/node_modules/matrix-js-sdk/lib/utils.js.map +1 -0
  1519. package/node_modules/matrix-js-sdk/lib/version-support.d.ts +19 -0
  1520. package/node_modules/matrix-js-sdk/lib/version-support.d.ts.map +1 -0
  1521. package/node_modules/matrix-js-sdk/lib/version-support.js +37 -0
  1522. package/node_modules/matrix-js-sdk/lib/version-support.js.map +1 -0
  1523. package/node_modules/matrix-js-sdk/lib/webrtc/audioContext.d.ts +15 -0
  1524. package/node_modules/matrix-js-sdk/lib/webrtc/audioContext.d.ts.map +1 -0
  1525. package/node_modules/matrix-js-sdk/lib/webrtc/audioContext.js +46 -0
  1526. package/node_modules/matrix-js-sdk/lib/webrtc/audioContext.js.map +1 -0
  1527. package/node_modules/matrix-js-sdk/lib/webrtc/call.d.ts +560 -0
  1528. package/node_modules/matrix-js-sdk/lib/webrtc/call.d.ts.map +1 -0
  1529. package/node_modules/matrix-js-sdk/lib/webrtc/call.js +2563 -0
  1530. package/node_modules/matrix-js-sdk/lib/webrtc/call.js.map +1 -0
  1531. package/node_modules/matrix-js-sdk/lib/webrtc/callEventHandler.d.ts +37 -0
  1532. package/node_modules/matrix-js-sdk/lib/webrtc/callEventHandler.d.ts.map +1 -0
  1533. package/node_modules/matrix-js-sdk/lib/webrtc/callEventHandler.js +339 -0
  1534. package/node_modules/matrix-js-sdk/lib/webrtc/callEventHandler.js.map +1 -0
  1535. package/node_modules/matrix-js-sdk/lib/webrtc/callEventTypes.d.ts +79 -0
  1536. package/node_modules/matrix-js-sdk/lib/webrtc/callEventTypes.d.ts.map +1 -0
  1537. package/node_modules/matrix-js-sdk/lib/webrtc/callEventTypes.js +13 -0
  1538. package/node_modules/matrix-js-sdk/lib/webrtc/callEventTypes.js.map +1 -0
  1539. package/node_modules/matrix-js-sdk/lib/webrtc/callFeed.d.ts +128 -0
  1540. package/node_modules/matrix-js-sdk/lib/webrtc/callFeed.d.ts.map +1 -0
  1541. package/node_modules/matrix-js-sdk/lib/webrtc/callFeed.js +274 -0
  1542. package/node_modules/matrix-js-sdk/lib/webrtc/callFeed.js.map +1 -0
  1543. package/node_modules/matrix-js-sdk/lib/webrtc/groupCall.d.ts +319 -0
  1544. package/node_modules/matrix-js-sdk/lib/webrtc/groupCall.d.ts.map +1 -0
  1545. package/node_modules/matrix-js-sdk/lib/webrtc/groupCall.js +1327 -0
  1546. package/node_modules/matrix-js-sdk/lib/webrtc/groupCall.js.map +1 -0
  1547. package/node_modules/matrix-js-sdk/lib/webrtc/groupCallEventHandler.d.ts +31 -0
  1548. package/node_modules/matrix-js-sdk/lib/webrtc/groupCallEventHandler.d.ts.map +1 -0
  1549. package/node_modules/matrix-js-sdk/lib/webrtc/groupCallEventHandler.js +177 -0
  1550. package/node_modules/matrix-js-sdk/lib/webrtc/groupCallEventHandler.js.map +1 -0
  1551. package/node_modules/matrix-js-sdk/lib/webrtc/mediaHandler.d.ts +89 -0
  1552. package/node_modules/matrix-js-sdk/lib/webrtc/mediaHandler.d.ts.map +1 -0
  1553. package/node_modules/matrix-js-sdk/lib/webrtc/mediaHandler.js +447 -0
  1554. package/node_modules/matrix-js-sdk/lib/webrtc/mediaHandler.js.map +1 -0
  1555. package/node_modules/matrix-js-sdk/lib/webrtc/stats/callFeedStatsReporter.d.ts +8 -0
  1556. package/node_modules/matrix-js-sdk/lib/webrtc/stats/callFeedStatsReporter.d.ts.map +1 -0
  1557. package/node_modules/matrix-js-sdk/lib/webrtc/stats/callFeedStatsReporter.js +79 -0
  1558. package/node_modules/matrix-js-sdk/lib/webrtc/stats/callFeedStatsReporter.js.map +1 -0
  1559. package/node_modules/matrix-js-sdk/lib/webrtc/stats/callStatsReportGatherer.d.ts +25 -0
  1560. package/node_modules/matrix-js-sdk/lib/webrtc/stats/callStatsReportGatherer.d.ts.map +1 -0
  1561. package/node_modules/matrix-js-sdk/lib/webrtc/stats/callStatsReportGatherer.js +196 -0
  1562. package/node_modules/matrix-js-sdk/lib/webrtc/stats/callStatsReportGatherer.js.map +1 -0
  1563. package/node_modules/matrix-js-sdk/lib/webrtc/stats/callStatsReportSummary.d.ts +17 -0
  1564. package/node_modules/matrix-js-sdk/lib/webrtc/stats/callStatsReportSummary.d.ts.map +1 -0
  1565. package/node_modules/matrix-js-sdk/lib/webrtc/stats/callStatsReportSummary.js +1 -0
  1566. package/node_modules/matrix-js-sdk/lib/webrtc/stats/callStatsReportSummary.js.map +1 -0
  1567. package/node_modules/matrix-js-sdk/lib/webrtc/stats/connectionStats.d.ts +28 -0
  1568. package/node_modules/matrix-js-sdk/lib/webrtc/stats/connectionStats.d.ts.map +1 -0
  1569. package/node_modules/matrix-js-sdk/lib/webrtc/stats/connectionStats.js +26 -0
  1570. package/node_modules/matrix-js-sdk/lib/webrtc/stats/connectionStats.js.map +1 -0
  1571. package/node_modules/matrix-js-sdk/lib/webrtc/stats/connectionStatsBuilder.d.ts +5 -0
  1572. package/node_modules/matrix-js-sdk/lib/webrtc/stats/connectionStatsBuilder.d.ts.map +1 -0
  1573. package/node_modules/matrix-js-sdk/lib/webrtc/stats/connectionStatsBuilder.js +27 -0
  1574. package/node_modules/matrix-js-sdk/lib/webrtc/stats/connectionStatsBuilder.js.map +1 -0
  1575. package/node_modules/matrix-js-sdk/lib/webrtc/stats/connectionStatsReportBuilder.d.ts +7 -0
  1576. package/node_modules/matrix-js-sdk/lib/webrtc/stats/connectionStatsReportBuilder.d.ts.map +1 -0
  1577. package/node_modules/matrix-js-sdk/lib/webrtc/stats/connectionStatsReportBuilder.js +125 -0
  1578. package/node_modules/matrix-js-sdk/lib/webrtc/stats/connectionStatsReportBuilder.js.map +1 -0
  1579. package/node_modules/matrix-js-sdk/lib/webrtc/stats/groupCallStats.d.ts +22 -0
  1580. package/node_modules/matrix-js-sdk/lib/webrtc/stats/groupCallStats.d.ts.map +1 -0
  1581. package/node_modules/matrix-js-sdk/lib/webrtc/stats/groupCallStats.js +77 -0
  1582. package/node_modules/matrix-js-sdk/lib/webrtc/stats/groupCallStats.js.map +1 -0
  1583. package/node_modules/matrix-js-sdk/lib/webrtc/stats/media/mediaSsrcHandler.d.ts +10 -0
  1584. package/node_modules/matrix-js-sdk/lib/webrtc/stats/media/mediaSsrcHandler.d.ts.map +1 -0
  1585. package/node_modules/matrix-js-sdk/lib/webrtc/stats/media/mediaSsrcHandler.js +57 -0
  1586. package/node_modules/matrix-js-sdk/lib/webrtc/stats/media/mediaSsrcHandler.js.map +1 -0
  1587. package/node_modules/matrix-js-sdk/lib/webrtc/stats/media/mediaTrackHandler.d.ts +12 -0
  1588. package/node_modules/matrix-js-sdk/lib/webrtc/stats/media/mediaTrackHandler.d.ts.map +1 -0
  1589. package/node_modules/matrix-js-sdk/lib/webrtc/stats/media/mediaTrackHandler.js +58 -0
  1590. package/node_modules/matrix-js-sdk/lib/webrtc/stats/media/mediaTrackHandler.js.map +1 -0
  1591. package/node_modules/matrix-js-sdk/lib/webrtc/stats/media/mediaTrackStats.d.ts +86 -0
  1592. package/node_modules/matrix-js-sdk/lib/webrtc/stats/media/mediaTrackStats.d.ts.map +1 -0
  1593. package/node_modules/matrix-js-sdk/lib/webrtc/stats/media/mediaTrackStats.js +142 -0
  1594. package/node_modules/matrix-js-sdk/lib/webrtc/stats/media/mediaTrackStats.js.map +1 -0
  1595. package/node_modules/matrix-js-sdk/lib/webrtc/stats/media/mediaTrackStatsHandler.d.ts +22 -0
  1596. package/node_modules/matrix-js-sdk/lib/webrtc/stats/media/mediaTrackStatsHandler.d.ts.map +1 -0
  1597. package/node_modules/matrix-js-sdk/lib/webrtc/stats/media/mediaTrackStatsHandler.js +76 -0
  1598. package/node_modules/matrix-js-sdk/lib/webrtc/stats/media/mediaTrackStatsHandler.js.map +1 -0
  1599. package/node_modules/matrix-js-sdk/lib/webrtc/stats/statsReport.d.ts +99 -0
  1600. package/node_modules/matrix-js-sdk/lib/webrtc/stats/statsReport.d.ts.map +1 -0
  1601. package/node_modules/matrix-js-sdk/lib/webrtc/stats/statsReport.js +32 -0
  1602. package/node_modules/matrix-js-sdk/lib/webrtc/stats/statsReport.js.map +1 -0
  1603. package/node_modules/matrix-js-sdk/lib/webrtc/stats/statsReportEmitter.d.ts +15 -0
  1604. package/node_modules/matrix-js-sdk/lib/webrtc/stats/statsReportEmitter.d.ts.map +1 -0
  1605. package/node_modules/matrix-js-sdk/lib/webrtc/stats/statsReportEmitter.js +33 -0
  1606. package/node_modules/matrix-js-sdk/lib/webrtc/stats/statsReportEmitter.js.map +1 -0
  1607. package/node_modules/matrix-js-sdk/lib/webrtc/stats/summaryStatsReportGatherer.d.ts +16 -0
  1608. package/node_modules/matrix-js-sdk/lib/webrtc/stats/summaryStatsReportGatherer.d.ts.map +1 -0
  1609. package/node_modules/matrix-js-sdk/lib/webrtc/stats/summaryStatsReportGatherer.js +116 -0
  1610. package/node_modules/matrix-js-sdk/lib/webrtc/stats/summaryStatsReportGatherer.js.map +1 -0
  1611. package/node_modules/matrix-js-sdk/lib/webrtc/stats/trackStatsBuilder.d.ts +19 -0
  1612. package/node_modules/matrix-js-sdk/lib/webrtc/stats/trackStatsBuilder.d.ts.map +1 -0
  1613. package/node_modules/matrix-js-sdk/lib/webrtc/stats/trackStatsBuilder.js +168 -0
  1614. package/node_modules/matrix-js-sdk/lib/webrtc/stats/trackStatsBuilder.js.map +1 -0
  1615. package/node_modules/matrix-js-sdk/lib/webrtc/stats/transportStats.d.ts +11 -0
  1616. package/node_modules/matrix-js-sdk/lib/webrtc/stats/transportStats.d.ts.map +1 -0
  1617. package/node_modules/matrix-js-sdk/lib/webrtc/stats/transportStats.js +1 -0
  1618. package/node_modules/matrix-js-sdk/lib/webrtc/stats/transportStats.js.map +1 -0
  1619. package/node_modules/matrix-js-sdk/lib/webrtc/stats/transportStatsBuilder.d.ts +5 -0
  1620. package/node_modules/matrix-js-sdk/lib/webrtc/stats/transportStatsBuilder.d.ts.map +1 -0
  1621. package/node_modules/matrix-js-sdk/lib/webrtc/stats/transportStatsBuilder.js +34 -0
  1622. package/node_modules/matrix-js-sdk/lib/webrtc/stats/transportStatsBuilder.js.map +1 -0
  1623. package/node_modules/matrix-js-sdk/lib/webrtc/stats/valueFormatter.d.ts +4 -0
  1624. package/node_modules/matrix-js-sdk/lib/webrtc/stats/valueFormatter.d.ts.map +1 -0
  1625. package/node_modules/matrix-js-sdk/lib/webrtc/stats/valueFormatter.js +25 -0
  1626. package/node_modules/matrix-js-sdk/lib/webrtc/stats/valueFormatter.js.map +1 -0
  1627. package/node_modules/matrix-js-sdk/package.json +139 -0
  1628. package/node_modules/matrix-js-sdk/src/@types/AESEncryptedSecretStoragePayload.ts +29 -0
  1629. package/node_modules/matrix-js-sdk/src/@types/IIdentityServerProvider.ts +24 -0
  1630. package/node_modules/matrix-js-sdk/src/@types/PushRules.ts +208 -0
  1631. package/node_modules/matrix-js-sdk/src/@types/another-json.d.ts +19 -0
  1632. package/node_modules/matrix-js-sdk/src/@types/auth.ts +258 -0
  1633. package/node_modules/matrix-js-sdk/src/@types/beacon.ts +140 -0
  1634. package/node_modules/matrix-js-sdk/src/@types/common.ts +24 -0
  1635. package/node_modules/matrix-js-sdk/src/@types/crypto.ts +71 -0
  1636. package/node_modules/matrix-js-sdk/src/@types/event.ts +461 -0
  1637. package/node_modules/matrix-js-sdk/src/@types/events.ts +119 -0
  1638. package/node_modules/matrix-js-sdk/src/@types/extensible_events.ts +147 -0
  1639. package/node_modules/matrix-js-sdk/src/@types/global.d.ts +67 -0
  1640. package/node_modules/matrix-js-sdk/src/@types/json.ts +16 -0
  1641. package/node_modules/matrix-js-sdk/src/@types/local_notifications.ts +19 -0
  1642. package/node_modules/matrix-js-sdk/src/@types/location.ts +92 -0
  1643. package/node_modules/matrix-js-sdk/src/@types/matrix-sdk-crypto-wasm.d.ts +39 -0
  1644. package/node_modules/matrix-js-sdk/src/@types/media.ts +245 -0
  1645. package/node_modules/matrix-js-sdk/src/@types/membership.ts +57 -0
  1646. package/node_modules/matrix-js-sdk/src/@types/partials.ts +103 -0
  1647. package/node_modules/matrix-js-sdk/src/@types/polls.ts +120 -0
  1648. package/node_modules/matrix-js-sdk/src/@types/read_receipts.ts +61 -0
  1649. package/node_modules/matrix-js-sdk/src/@types/registration.ts +102 -0
  1650. package/node_modules/matrix-js-sdk/src/@types/requests.ts +345 -0
  1651. package/node_modules/matrix-js-sdk/src/@types/search.ts +119 -0
  1652. package/node_modules/matrix-js-sdk/src/@types/signed.ts +25 -0
  1653. package/node_modules/matrix-js-sdk/src/@types/spaces.ts +37 -0
  1654. package/node_modules/matrix-js-sdk/src/@types/state_events.ts +153 -0
  1655. package/node_modules/matrix-js-sdk/src/@types/synapse.ts +40 -0
  1656. package/node_modules/matrix-js-sdk/src/@types/sync.ts +27 -0
  1657. package/node_modules/matrix-js-sdk/src/@types/threepids.ts +29 -0
  1658. package/node_modules/matrix-js-sdk/src/@types/topic.ts +69 -0
  1659. package/node_modules/matrix-js-sdk/src/@types/uia.ts +24 -0
  1660. package/node_modules/matrix-js-sdk/src/NamespacedValue.ts +121 -0
  1661. package/node_modules/matrix-js-sdk/src/ReEmitter.ts +93 -0
  1662. package/node_modules/matrix-js-sdk/src/ToDeviceMessageQueue.ts +156 -0
  1663. package/node_modules/matrix-js-sdk/src/autodiscovery.ts +505 -0
  1664. package/node_modules/matrix-js-sdk/src/base64.ts +86 -0
  1665. package/node_modules/matrix-js-sdk/src/browser-index.ts +44 -0
  1666. package/node_modules/matrix-js-sdk/src/client.ts +9064 -0
  1667. package/node_modules/matrix-js-sdk/src/common-crypto/CryptoBackend.ts +307 -0
  1668. package/node_modules/matrix-js-sdk/src/common-crypto/README.md +4 -0
  1669. package/node_modules/matrix-js-sdk/src/common-crypto/key-passphrase.ts +43 -0
  1670. package/node_modules/matrix-js-sdk/src/content-helpers.ts +298 -0
  1671. package/node_modules/matrix-js-sdk/src/content-repo.ts +122 -0
  1672. package/node_modules/matrix-js-sdk/src/crypto/store/base.ts +388 -0
  1673. package/node_modules/matrix-js-sdk/src/crypto/store/indexeddb-crypto-store-backend.ts +655 -0
  1674. package/node_modules/matrix-js-sdk/src/crypto/store/indexeddb-crypto-store.ts +555 -0
  1675. package/node_modules/matrix-js-sdk/src/crypto/store/localStorage-crypto-store.ts +409 -0
  1676. package/node_modules/matrix-js-sdk/src/crypto/store/memory-crypto-store.ts +326 -0
  1677. package/node_modules/matrix-js-sdk/src/crypto-api/CryptoEvent.ts +152 -0
  1678. package/node_modules/matrix-js-sdk/src/crypto-api/CryptoEventHandlerMap.ts +42 -0
  1679. package/node_modules/matrix-js-sdk/src/crypto-api/index.ts +1379 -0
  1680. package/node_modules/matrix-js-sdk/src/crypto-api/key-passphrase.ts +58 -0
  1681. package/node_modules/matrix-js-sdk/src/crypto-api/keybackup.ts +114 -0
  1682. package/node_modules/matrix-js-sdk/src/crypto-api/recovery-key.ts +69 -0
  1683. package/node_modules/matrix-js-sdk/src/crypto-api/verification.ts +382 -0
  1684. package/node_modules/matrix-js-sdk/src/digest.ts +34 -0
  1685. package/node_modules/matrix-js-sdk/src/embedded.ts +865 -0
  1686. package/node_modules/matrix-js-sdk/src/errors.ts +87 -0
  1687. package/node_modules/matrix-js-sdk/src/event-mapper.ts +88 -0
  1688. package/node_modules/matrix-js-sdk/src/extensible_events_v1/ExtensibleEvent.ts +58 -0
  1689. package/node_modules/matrix-js-sdk/src/extensible_events_v1/InvalidEventError.ts +24 -0
  1690. package/node_modules/matrix-js-sdk/src/extensible_events_v1/MessageEvent.ts +143 -0
  1691. package/node_modules/matrix-js-sdk/src/extensible_events_v1/PollEndEvent.ts +97 -0
  1692. package/node_modules/matrix-js-sdk/src/extensible_events_v1/PollResponseEvent.ts +148 -0
  1693. package/node_modules/matrix-js-sdk/src/extensible_events_v1/PollStartEvent.ts +207 -0
  1694. package/node_modules/matrix-js-sdk/src/extensible_events_v1/utilities.ts +35 -0
  1695. package/node_modules/matrix-js-sdk/src/feature.ts +88 -0
  1696. package/node_modules/matrix-js-sdk/src/filter-component.ts +209 -0
  1697. package/node_modules/matrix-js-sdk/src/filter.ts +271 -0
  1698. package/node_modules/matrix-js-sdk/src/http-api/errors.ts +261 -0
  1699. package/node_modules/matrix-js-sdk/src/http-api/fetch.ts +377 -0
  1700. package/node_modules/matrix-js-sdk/src/http-api/index.ts +194 -0
  1701. package/node_modules/matrix-js-sdk/src/http-api/interface.ts +229 -0
  1702. package/node_modules/matrix-js-sdk/src/http-api/method.ts +25 -0
  1703. package/node_modules/matrix-js-sdk/src/http-api/prefix.ts +48 -0
  1704. package/node_modules/matrix-js-sdk/src/http-api/refresh.ts +167 -0
  1705. package/node_modules/matrix-js-sdk/src/http-api/utils.ts +217 -0
  1706. package/node_modules/matrix-js-sdk/src/index.ts +25 -0
  1707. package/node_modules/matrix-js-sdk/src/indexeddb-helpers.ts +50 -0
  1708. package/node_modules/matrix-js-sdk/src/indexeddb-worker.ts +24 -0
  1709. package/node_modules/matrix-js-sdk/src/interactive-auth.ts +700 -0
  1710. package/node_modules/matrix-js-sdk/src/logger.ts +279 -0
  1711. package/node_modules/matrix-js-sdk/src/matrix.ts +174 -0
  1712. package/node_modules/matrix-js-sdk/src/matrixrtc/CallMembership.ts +438 -0
  1713. package/node_modules/matrix-js-sdk/src/matrixrtc/EncryptionManager.ts +54 -0
  1714. package/node_modules/matrix-js-sdk/src/matrixrtc/IKeyTransport.ts +63 -0
  1715. package/node_modules/matrix-js-sdk/src/matrixrtc/IMembershipManager.ts +120 -0
  1716. package/node_modules/matrix-js-sdk/src/matrixrtc/LivekitTransport.ts +46 -0
  1717. package/node_modules/matrix-js-sdk/src/matrixrtc/MatrixRTCSession.ts +935 -0
  1718. package/node_modules/matrix-js-sdk/src/matrixrtc/MatrixRTCSessionManager.ts +170 -0
  1719. package/node_modules/matrix-js-sdk/src/matrixrtc/MembershipManager.ts +1122 -0
  1720. package/node_modules/matrix-js-sdk/src/matrixrtc/MembershipManagerActionScheduler.ts +135 -0
  1721. package/node_modules/matrix-js-sdk/src/matrixrtc/RTCEncryptionManager.ts +459 -0
  1722. package/node_modules/matrix-js-sdk/src/matrixrtc/ToDeviceKeyTransport.ts +197 -0
  1723. package/node_modules/matrix-js-sdk/src/matrixrtc/index.ts +24 -0
  1724. package/node_modules/matrix-js-sdk/src/matrixrtc/membershipData/common.ts +27 -0
  1725. package/node_modules/matrix-js-sdk/src/matrixrtc/membershipData/index.ts +19 -0
  1726. package/node_modules/matrix-js-sdk/src/matrixrtc/membershipData/rtc.ts +157 -0
  1727. package/node_modules/matrix-js-sdk/src/matrixrtc/membershipData/session.ts +146 -0
  1728. package/node_modules/matrix-js-sdk/src/matrixrtc/types.ts +227 -0
  1729. package/node_modules/matrix-js-sdk/src/matrixrtc/utils.ts +71 -0
  1730. package/node_modules/matrix-js-sdk/src/models/MSC3089Branch.ts +272 -0
  1731. package/node_modules/matrix-js-sdk/src/models/MSC3089TreeSpace.ts +565 -0
  1732. package/node_modules/matrix-js-sdk/src/models/ToDeviceMessage.ts +38 -0
  1733. package/node_modules/matrix-js-sdk/src/models/beacon.ts +213 -0
  1734. package/node_modules/matrix-js-sdk/src/models/compare-event-ordering.ts +139 -0
  1735. package/node_modules/matrix-js-sdk/src/models/device.ts +85 -0
  1736. package/node_modules/matrix-js-sdk/src/models/event-context.ts +110 -0
  1737. package/node_modules/matrix-js-sdk/src/models/event-status.ts +39 -0
  1738. package/node_modules/matrix-js-sdk/src/models/event-timeline-set.ts +962 -0
  1739. package/node_modules/matrix-js-sdk/src/models/event-timeline.ts +461 -0
  1740. package/node_modules/matrix-js-sdk/src/models/event.ts +1819 -0
  1741. package/node_modules/matrix-js-sdk/src/models/invites-ignorer-types.ts +58 -0
  1742. package/node_modules/matrix-js-sdk/src/models/invites-ignorer.ts +341 -0
  1743. package/node_modules/matrix-js-sdk/src/models/poll.ts +285 -0
  1744. package/node_modules/matrix-js-sdk/src/models/profile-keys.ts +33 -0
  1745. package/node_modules/matrix-js-sdk/src/models/read-receipt.ts +422 -0
  1746. package/node_modules/matrix-js-sdk/src/models/related-relations.ts +39 -0
  1747. package/node_modules/matrix-js-sdk/src/models/relations-container.ts +149 -0
  1748. package/node_modules/matrix-js-sdk/src/models/relations.ts +392 -0
  1749. package/node_modules/matrix-js-sdk/src/models/room-member.ts +486 -0
  1750. package/node_modules/matrix-js-sdk/src/models/room-receipts.ts +439 -0
  1751. package/node_modules/matrix-js-sdk/src/models/room-state.ts +1230 -0
  1752. package/node_modules/matrix-js-sdk/src/models/room-sticky-events.ts +383 -0
  1753. package/node_modules/matrix-js-sdk/src/models/room-summary.ts +78 -0
  1754. package/node_modules/matrix-js-sdk/src/models/room.ts +4067 -0
  1755. package/node_modules/matrix-js-sdk/src/models/search-result.ts +57 -0
  1756. package/node_modules/matrix-js-sdk/src/models/thread.ts +928 -0
  1757. package/node_modules/matrix-js-sdk/src/models/typed-event-emitter.ts +246 -0
  1758. package/node_modules/matrix-js-sdk/src/models/user.ts +308 -0
  1759. package/node_modules/matrix-js-sdk/src/oidc/authorize.ts +431 -0
  1760. package/node_modules/matrix-js-sdk/src/oidc/discovery.ts +67 -0
  1761. package/node_modules/matrix-js-sdk/src/oidc/error.ts +33 -0
  1762. package/node_modules/matrix-js-sdk/src/oidc/index.ts +33 -0
  1763. package/node_modules/matrix-js-sdk/src/oidc/register.ts +168 -0
  1764. package/node_modules/matrix-js-sdk/src/oidc/tokenRefresher.ts +184 -0
  1765. package/node_modules/matrix-js-sdk/src/oidc/validate.ts +265 -0
  1766. package/node_modules/matrix-js-sdk/src/pushprocessor.ts +856 -0
  1767. package/node_modules/matrix-js-sdk/src/randomstring.ts +103 -0
  1768. package/node_modules/matrix-js-sdk/src/realtime-callbacks.ts +191 -0
  1769. package/node_modules/matrix-js-sdk/src/receipt-accumulator.ts +189 -0
  1770. package/node_modules/matrix-js-sdk/src/rendezvous/MSC4108SignInWithQR.ts +557 -0
  1771. package/node_modules/matrix-js-sdk/src/rendezvous/RendezvousChannel.ts +48 -0
  1772. package/node_modules/matrix-js-sdk/src/rendezvous/RendezvousCode.ts +25 -0
  1773. package/node_modules/matrix-js-sdk/src/rendezvous/RendezvousError.ts +26 -0
  1774. package/node_modules/matrix-js-sdk/src/rendezvous/RendezvousFailureReason.ts +49 -0
  1775. package/node_modules/matrix-js-sdk/src/rendezvous/RendezvousIntent.ts +20 -0
  1776. package/node_modules/matrix-js-sdk/src/rendezvous/RendezvousTransport.ts +58 -0
  1777. package/node_modules/matrix-js-sdk/src/rendezvous/channels/MSC4108SecureChannel.ts +278 -0
  1778. package/node_modules/matrix-js-sdk/src/rendezvous/channels/index.ts +17 -0
  1779. package/node_modules/matrix-js-sdk/src/rendezvous/index.ts +140 -0
  1780. package/node_modules/matrix-js-sdk/src/rendezvous/transports/MSC4108RendezvousSession.ts +272 -0
  1781. package/node_modules/matrix-js-sdk/src/rendezvous/transports/index.ts +17 -0
  1782. package/node_modules/matrix-js-sdk/src/room-hierarchy.ts +152 -0
  1783. package/node_modules/matrix-js-sdk/src/rust-crypto/CrossSigningIdentity.ts +195 -0
  1784. package/node_modules/matrix-js-sdk/src/rust-crypto/DehydratedDeviceManager.ts +392 -0
  1785. package/node_modules/matrix-js-sdk/src/rust-crypto/KeyClaimManager.ts +86 -0
  1786. package/node_modules/matrix-js-sdk/src/rust-crypto/OutgoingRequestProcessor.ts +233 -0
  1787. package/node_modules/matrix-js-sdk/src/rust-crypto/OutgoingRequestsManager.ts +170 -0
  1788. package/node_modules/matrix-js-sdk/src/rust-crypto/PerSessionKeyBackupDownloader.ts +501 -0
  1789. package/node_modules/matrix-js-sdk/src/rust-crypto/RoomEncryptor.ts +362 -0
  1790. package/node_modules/matrix-js-sdk/src/rust-crypto/backup.ts +963 -0
  1791. package/node_modules/matrix-js-sdk/src/rust-crypto/constants.ts +18 -0
  1792. package/node_modules/matrix-js-sdk/src/rust-crypto/device-converter.ts +128 -0
  1793. package/node_modules/matrix-js-sdk/src/rust-crypto/index.ts +267 -0
  1794. package/node_modules/matrix-js-sdk/src/rust-crypto/libolm_migration.ts +532 -0
  1795. package/node_modules/matrix-js-sdk/src/rust-crypto/rust-crypto.ts +2622 -0
  1796. package/node_modules/matrix-js-sdk/src/rust-crypto/secret-storage.ts +60 -0
  1797. package/node_modules/matrix-js-sdk/src/rust-crypto/verification.ts +833 -0
  1798. package/node_modules/matrix-js-sdk/src/scheduler.ts +309 -0
  1799. package/node_modules/matrix-js-sdk/src/secret-storage.ts +714 -0
  1800. package/node_modules/matrix-js-sdk/src/serverCapabilities.ts +146 -0
  1801. package/node_modules/matrix-js-sdk/src/service-types.ts +20 -0
  1802. package/node_modules/matrix-js-sdk/src/sliding-sync-sdk.ts +1005 -0
  1803. package/node_modules/matrix-js-sdk/src/sliding-sync.ts +674 -0
  1804. package/node_modules/matrix-js-sdk/src/store/index.ts +280 -0
  1805. package/node_modules/matrix-js-sdk/src/store/indexeddb-backend.ts +45 -0
  1806. package/node_modules/matrix-js-sdk/src/store/indexeddb-local-backend.ts +642 -0
  1807. package/node_modules/matrix-js-sdk/src/store/indexeddb-remote-backend.ts +225 -0
  1808. package/node_modules/matrix-js-sdk/src/store/indexeddb-store-worker.ts +166 -0
  1809. package/node_modules/matrix-js-sdk/src/store/indexeddb.ts +410 -0
  1810. package/node_modules/matrix-js-sdk/src/store/local-storage-events-emitter.ts +46 -0
  1811. package/node_modules/matrix-js-sdk/src/store/memory.ts +461 -0
  1812. package/node_modules/matrix-js-sdk/src/store/stub.ts +292 -0
  1813. package/node_modules/matrix-js-sdk/src/sync-accumulator.ts +794 -0
  1814. package/node_modules/matrix-js-sdk/src/sync.ts +2064 -0
  1815. package/node_modules/matrix-js-sdk/src/testing.ts +231 -0
  1816. package/node_modules/matrix-js-sdk/src/thread-utils.ts +31 -0
  1817. package/node_modules/matrix-js-sdk/src/timeline-window.ts +534 -0
  1818. package/node_modules/matrix-js-sdk/src/types.ts +59 -0
  1819. package/node_modules/matrix-js-sdk/src/utils/decryptAESSecretStorageItem.ts +54 -0
  1820. package/node_modules/matrix-js-sdk/src/utils/encryptAESSecretStorageItem.ts +73 -0
  1821. package/node_modules/matrix-js-sdk/src/utils/internal/deriveKeys.ts +63 -0
  1822. package/node_modules/matrix-js-sdk/src/utils/roomVersion.ts +35 -0
  1823. package/node_modules/matrix-js-sdk/src/utils.ts +775 -0
  1824. package/node_modules/matrix-js-sdk/src/version-support.ts +50 -0
  1825. package/node_modules/matrix-js-sdk/src/webrtc/audioContext.ts +44 -0
  1826. package/node_modules/matrix-js-sdk/src/webrtc/call.ts +3060 -0
  1827. package/node_modules/matrix-js-sdk/src/webrtc/callEventHandler.ts +425 -0
  1828. package/node_modules/matrix-js-sdk/src/webrtc/callEventTypes.ts +101 -0
  1829. package/node_modules/matrix-js-sdk/src/webrtc/callFeed.ts +364 -0
  1830. package/node_modules/matrix-js-sdk/src/webrtc/groupCall.ts +1729 -0
  1831. package/node_modules/matrix-js-sdk/src/webrtc/groupCallEventHandler.ts +234 -0
  1832. package/node_modules/matrix-js-sdk/src/webrtc/mediaHandler.ts +501 -0
  1833. package/node_modules/matrix-js-sdk/src/webrtc/stats/callFeedStatsReporter.ts +91 -0
  1834. package/node_modules/matrix-js-sdk/src/webrtc/stats/callStatsReportGatherer.ts +219 -0
  1835. package/node_modules/matrix-js-sdk/src/webrtc/stats/callStatsReportSummary.ts +30 -0
  1836. package/node_modules/matrix-js-sdk/src/webrtc/stats/connectionStats.ts +47 -0
  1837. package/node_modules/matrix-js-sdk/src/webrtc/stats/connectionStatsBuilder.ts +28 -0
  1838. package/node_modules/matrix-js-sdk/src/webrtc/stats/connectionStatsReportBuilder.ts +140 -0
  1839. package/node_modules/matrix-js-sdk/src/webrtc/stats/groupCallStats.ts +93 -0
  1840. package/node_modules/matrix-js-sdk/src/webrtc/stats/media/mediaSsrcHandler.ts +57 -0
  1841. package/node_modules/matrix-js-sdk/src/webrtc/stats/media/mediaTrackHandler.ts +70 -0
  1842. package/node_modules/matrix-js-sdk/src/webrtc/stats/media/mediaTrackStats.ts +176 -0
  1843. package/node_modules/matrix-js-sdk/src/webrtc/stats/media/mediaTrackStatsHandler.ts +90 -0
  1844. package/node_modules/matrix-js-sdk/src/webrtc/stats/statsReport.ts +133 -0
  1845. package/node_modules/matrix-js-sdk/src/webrtc/stats/statsReportEmitter.ts +49 -0
  1846. package/node_modules/matrix-js-sdk/src/webrtc/stats/summaryStatsReportGatherer.ts +148 -0
  1847. package/node_modules/matrix-js-sdk/src/webrtc/stats/trackStatsBuilder.ts +207 -0
  1848. package/node_modules/matrix-js-sdk/src/webrtc/stats/transportStats.ts +26 -0
  1849. package/node_modules/matrix-js-sdk/src/webrtc/stats/transportStatsBuilder.ts +48 -0
  1850. package/node_modules/matrix-js-sdk/src/webrtc/stats/valueFormatter.ts +27 -0
  1851. package/node_modules/matrix-widget-api/LICENSE +201 -0
  1852. package/node_modules/matrix-widget-api/README.md +91 -0
  1853. package/node_modules/matrix-widget-api/dist/api.js +5684 -0
  1854. package/node_modules/matrix-widget-api/dist/api.min.js +1 -0
  1855. package/node_modules/matrix-widget-api/lib/ClientWidgetApi.d.ts +185 -0
  1856. package/node_modules/matrix-widget-api/lib/ClientWidgetApi.js +1950 -0
  1857. package/node_modules/matrix-widget-api/lib/ClientWidgetApi.js.map +1 -0
  1858. package/node_modules/matrix-widget-api/lib/Symbols.d.ts +3 -0
  1859. package/node_modules/matrix-widget-api/lib/Symbols.js +27 -0
  1860. package/node_modules/matrix-widget-api/lib/Symbols.js.map +1 -0
  1861. package/node_modules/matrix-widget-api/lib/WidgetApi.d.ts +312 -0
  1862. package/node_modules/matrix-widget-api/lib/WidgetApi.js +1025 -0
  1863. package/node_modules/matrix-widget-api/lib/WidgetApi.js.map +1 -0
  1864. package/node_modules/matrix-widget-api/lib/driver/WidgetDriver.d.ts +348 -0
  1865. package/node_modules/matrix-widget-api/lib/driver/WidgetDriver.js +488 -0
  1866. package/node_modules/matrix-widget-api/lib/driver/WidgetDriver.js.map +1 -0
  1867. package/node_modules/matrix-widget-api/lib/index.d.ts +54 -0
  1868. package/node_modules/matrix-widget-api/lib/index.js +259 -0
  1869. package/node_modules/matrix-widget-api/lib/index.js.map +1 -0
  1870. package/node_modules/matrix-widget-api/lib/interfaces/ApiVersion.d.ts +20 -0
  1871. package/node_modules/matrix-widget-api/lib/interfaces/ApiVersion.js +48 -0
  1872. package/node_modules/matrix-widget-api/lib/interfaces/ApiVersion.js.map +1 -0
  1873. package/node_modules/matrix-widget-api/lib/interfaces/Capabilities.d.ts +69 -0
  1874. package/node_modules/matrix-widget-api/lib/interfaces/Capabilities.js +75 -0
  1875. package/node_modules/matrix-widget-api/lib/interfaces/Capabilities.js.map +1 -0
  1876. package/node_modules/matrix-widget-api/lib/interfaces/CapabilitiesAction.d.ts +34 -0
  1877. package/node_modules/matrix-widget-api/lib/interfaces/CapabilitiesAction.js +6 -0
  1878. package/node_modules/matrix-widget-api/lib/interfaces/CapabilitiesAction.js.map +1 -0
  1879. package/node_modules/matrix-widget-api/lib/interfaces/ContentLoadedAction.d.ts +10 -0
  1880. package/node_modules/matrix-widget-api/lib/interfaces/ContentLoadedAction.js +6 -0
  1881. package/node_modules/matrix-widget-api/lib/interfaces/ContentLoadedAction.js.map +1 -0
  1882. package/node_modules/matrix-widget-api/lib/interfaces/DownloadFileAction.d.ts +16 -0
  1883. package/node_modules/matrix-widget-api/lib/interfaces/DownloadFileAction.js +6 -0
  1884. package/node_modules/matrix-widget-api/lib/interfaces/DownloadFileAction.js.map +1 -0
  1885. package/node_modules/matrix-widget-api/lib/interfaces/GetMediaConfigAction.d.ts +15 -0
  1886. package/node_modules/matrix-widget-api/lib/interfaces/GetMediaConfigAction.js +6 -0
  1887. package/node_modules/matrix-widget-api/lib/interfaces/GetMediaConfigAction.js.map +1 -0
  1888. package/node_modules/matrix-widget-api/lib/interfaces/GetOpenIDAction.d.ts +26 -0
  1889. package/node_modules/matrix-widget-api/lib/interfaces/GetOpenIDAction.js +29 -0
  1890. package/node_modules/matrix-widget-api/lib/interfaces/GetOpenIDAction.js.map +1 -0
  1891. package/node_modules/matrix-widget-api/lib/interfaces/ICustomWidgetData.d.ts +10 -0
  1892. package/node_modules/matrix-widget-api/lib/interfaces/ICustomWidgetData.js +6 -0
  1893. package/node_modules/matrix-widget-api/lib/interfaces/ICustomWidgetData.js.map +1 -0
  1894. package/node_modules/matrix-widget-api/lib/interfaces/IJitsiWidgetData.d.ts +19 -0
  1895. package/node_modules/matrix-widget-api/lib/interfaces/IJitsiWidgetData.js +6 -0
  1896. package/node_modules/matrix-widget-api/lib/interfaces/IJitsiWidgetData.js.map +1 -0
  1897. package/node_modules/matrix-widget-api/lib/interfaces/IRoomAccountData.d.ts +5 -0
  1898. package/node_modules/matrix-widget-api/lib/interfaces/IRoomAccountData.js +6 -0
  1899. package/node_modules/matrix-widget-api/lib/interfaces/IRoomAccountData.js.map +1 -0
  1900. package/node_modules/matrix-widget-api/lib/interfaces/IRoomEvent.d.ts +16 -0
  1901. package/node_modules/matrix-widget-api/lib/interfaces/IRoomEvent.js +6 -0
  1902. package/node_modules/matrix-widget-api/lib/interfaces/IRoomEvent.js.map +1 -0
  1903. package/node_modules/matrix-widget-api/lib/interfaces/IStickerpickerWidgetData.d.ts +3 -0
  1904. package/node_modules/matrix-widget-api/lib/interfaces/IStickerpickerWidgetData.js +6 -0
  1905. package/node_modules/matrix-widget-api/lib/interfaces/IStickerpickerWidgetData.js.map +1 -0
  1906. package/node_modules/matrix-widget-api/lib/interfaces/IToDeviceMessage.d.ts +5 -0
  1907. package/node_modules/matrix-widget-api/lib/interfaces/IToDeviceMessage.js +6 -0
  1908. package/node_modules/matrix-widget-api/lib/interfaces/IToDeviceMessage.js.map +1 -0
  1909. package/node_modules/matrix-widget-api/lib/interfaces/IWidget.d.ts +50 -0
  1910. package/node_modules/matrix-widget-api/lib/interfaces/IWidget.js +6 -0
  1911. package/node_modules/matrix-widget-api/lib/interfaces/IWidget.js.map +1 -0
  1912. package/node_modules/matrix-widget-api/lib/interfaces/IWidgetApiErrorResponse.d.ts +34 -0
  1913. package/node_modules/matrix-widget-api/lib/interfaces/IWidgetApiErrorResponse.js +33 -0
  1914. package/node_modules/matrix-widget-api/lib/interfaces/IWidgetApiErrorResponse.js.map +1 -0
  1915. package/node_modules/matrix-widget-api/lib/interfaces/IWidgetApiRequest.d.ts +15 -0
  1916. package/node_modules/matrix-widget-api/lib/interfaces/IWidgetApiRequest.js +6 -0
  1917. package/node_modules/matrix-widget-api/lib/interfaces/IWidgetApiRequest.js.map +1 -0
  1918. package/node_modules/matrix-widget-api/lib/interfaces/IWidgetApiResponse.d.ts +9 -0
  1919. package/node_modules/matrix-widget-api/lib/interfaces/IWidgetApiResponse.js +6 -0
  1920. package/node_modules/matrix-widget-api/lib/interfaces/IWidgetApiResponse.js.map +1 -0
  1921. package/node_modules/matrix-widget-api/lib/interfaces/LanguageChangeAction.d.ts +16 -0
  1922. package/node_modules/matrix-widget-api/lib/interfaces/LanguageChangeAction.js +6 -0
  1923. package/node_modules/matrix-widget-api/lib/interfaces/LanguageChangeAction.js.map +1 -0
  1924. package/node_modules/matrix-widget-api/lib/interfaces/ModalButtonKind.d.ts +7 -0
  1925. package/node_modules/matrix-widget-api/lib/interfaces/ModalButtonKind.js +31 -0
  1926. package/node_modules/matrix-widget-api/lib/interfaces/ModalButtonKind.js.map +1 -0
  1927. package/node_modules/matrix-widget-api/lib/interfaces/ModalWidgetActions.d.ts +55 -0
  1928. package/node_modules/matrix-widget-api/lib/interfaces/ModalWidgetActions.js +30 -0
  1929. package/node_modules/matrix-widget-api/lib/interfaces/ModalWidgetActions.js.map +1 -0
  1930. package/node_modules/matrix-widget-api/lib/interfaces/NavigateAction.d.ts +13 -0
  1931. package/node_modules/matrix-widget-api/lib/interfaces/NavigateAction.js +6 -0
  1932. package/node_modules/matrix-widget-api/lib/interfaces/NavigateAction.js.map +1 -0
  1933. package/node_modules/matrix-widget-api/lib/interfaces/OpenIDCredentialsAction.d.ts +17 -0
  1934. package/node_modules/matrix-widget-api/lib/interfaces/OpenIDCredentialsAction.js +6 -0
  1935. package/node_modules/matrix-widget-api/lib/interfaces/OpenIDCredentialsAction.js.map +1 -0
  1936. package/node_modules/matrix-widget-api/lib/interfaces/ReadEventAction.d.ts +23 -0
  1937. package/node_modules/matrix-widget-api/lib/interfaces/ReadEventAction.js +6 -0
  1938. package/node_modules/matrix-widget-api/lib/interfaces/ReadEventAction.js.map +1 -0
  1939. package/node_modules/matrix-widget-api/lib/interfaces/ReadRelationsAction.d.ts +26 -0
  1940. package/node_modules/matrix-widget-api/lib/interfaces/ReadRelationsAction.js +6 -0
  1941. package/node_modules/matrix-widget-api/lib/interfaces/ReadRelationsAction.js.map +1 -0
  1942. package/node_modules/matrix-widget-api/lib/interfaces/ReadRoomAccountDataAction.d.ts +19 -0
  1943. package/node_modules/matrix-widget-api/lib/interfaces/ReadRoomAccountDataAction.js +6 -0
  1944. package/node_modules/matrix-widget-api/lib/interfaces/ReadRoomAccountDataAction.js.map +1 -0
  1945. package/node_modules/matrix-widget-api/lib/interfaces/ScreenshotAction.d.ts +13 -0
  1946. package/node_modules/matrix-widget-api/lib/interfaces/ScreenshotAction.js +6 -0
  1947. package/node_modules/matrix-widget-api/lib/interfaces/ScreenshotAction.js.map +1 -0
  1948. package/node_modules/matrix-widget-api/lib/interfaces/SendEventAction.d.ts +36 -0
  1949. package/node_modules/matrix-widget-api/lib/interfaces/SendEventAction.js +6 -0
  1950. package/node_modules/matrix-widget-api/lib/interfaces/SendEventAction.js.map +1 -0
  1951. package/node_modules/matrix-widget-api/lib/interfaces/SendToDeviceAction.d.ts +34 -0
  1952. package/node_modules/matrix-widget-api/lib/interfaces/SendToDeviceAction.js +6 -0
  1953. package/node_modules/matrix-widget-api/lib/interfaces/SendToDeviceAction.js.map +1 -0
  1954. package/node_modules/matrix-widget-api/lib/interfaces/SetModalButtonEnabledAction.d.ts +15 -0
  1955. package/node_modules/matrix-widget-api/lib/interfaces/SetModalButtonEnabledAction.js +6 -0
  1956. package/node_modules/matrix-widget-api/lib/interfaces/SetModalButtonEnabledAction.js.map +1 -0
  1957. package/node_modules/matrix-widget-api/lib/interfaces/StickerAction.d.ts +29 -0
  1958. package/node_modules/matrix-widget-api/lib/interfaces/StickerAction.js +6 -0
  1959. package/node_modules/matrix-widget-api/lib/interfaces/StickerAction.js.map +1 -0
  1960. package/node_modules/matrix-widget-api/lib/interfaces/StickyAction.d.ts +16 -0
  1961. package/node_modules/matrix-widget-api/lib/interfaces/StickyAction.js +6 -0
  1962. package/node_modules/matrix-widget-api/lib/interfaces/StickyAction.js.map +1 -0
  1963. package/node_modules/matrix-widget-api/lib/interfaces/SupportedVersionsAction.d.ts +14 -0
  1964. package/node_modules/matrix-widget-api/lib/interfaces/SupportedVersionsAction.js +6 -0
  1965. package/node_modules/matrix-widget-api/lib/interfaces/SupportedVersionsAction.js.map +1 -0
  1966. package/node_modules/matrix-widget-api/lib/interfaces/ThemeChangeAction.d.ts +12 -0
  1967. package/node_modules/matrix-widget-api/lib/interfaces/ThemeChangeAction.js +6 -0
  1968. package/node_modules/matrix-widget-api/lib/interfaces/ThemeChangeAction.js.map +1 -0
  1969. package/node_modules/matrix-widget-api/lib/interfaces/TurnServerActions.d.ts +31 -0
  1970. package/node_modules/matrix-widget-api/lib/interfaces/TurnServerActions.js +6 -0
  1971. package/node_modules/matrix-widget-api/lib/interfaces/TurnServerActions.js.map +1 -0
  1972. package/node_modules/matrix-widget-api/lib/interfaces/UpdateDelayedEventAction.d.ts +21 -0
  1973. package/node_modules/matrix-widget-api/lib/interfaces/UpdateDelayedEventAction.js +29 -0
  1974. package/node_modules/matrix-widget-api/lib/interfaces/UpdateDelayedEventAction.js.map +1 -0
  1975. package/node_modules/matrix-widget-api/lib/interfaces/UpdateStateAction.d.ts +16 -0
  1976. package/node_modules/matrix-widget-api/lib/interfaces/UpdateStateAction.js +6 -0
  1977. package/node_modules/matrix-widget-api/lib/interfaces/UpdateStateAction.js.map +1 -0
  1978. package/node_modules/matrix-widget-api/lib/interfaces/UploadFileAction.d.ts +16 -0
  1979. package/node_modules/matrix-widget-api/lib/interfaces/UploadFileAction.js +6 -0
  1980. package/node_modules/matrix-widget-api/lib/interfaces/UploadFileAction.js.map +1 -0
  1981. package/node_modules/matrix-widget-api/lib/interfaces/UserDirectorySearchAction.d.ts +22 -0
  1982. package/node_modules/matrix-widget-api/lib/interfaces/UserDirectorySearchAction.js +6 -0
  1983. package/node_modules/matrix-widget-api/lib/interfaces/UserDirectorySearchAction.js.map +1 -0
  1984. package/node_modules/matrix-widget-api/lib/interfaces/VisibilityAction.d.ts +13 -0
  1985. package/node_modules/matrix-widget-api/lib/interfaces/VisibilityAction.js +6 -0
  1986. package/node_modules/matrix-widget-api/lib/interfaces/VisibilityAction.js.map +1 -0
  1987. package/node_modules/matrix-widget-api/lib/interfaces/WidgetApiAction.d.ts +69 -0
  1988. package/node_modules/matrix-widget-api/lib/interfaces/WidgetApiAction.js +67 -0
  1989. package/node_modules/matrix-widget-api/lib/interfaces/WidgetApiAction.js.map +1 -0
  1990. package/node_modules/matrix-widget-api/lib/interfaces/WidgetApiDirection.d.ts +5 -0
  1991. package/node_modules/matrix-widget-api/lib/interfaces/WidgetApiDirection.js +38 -0
  1992. package/node_modules/matrix-widget-api/lib/interfaces/WidgetApiDirection.js.map +1 -0
  1993. package/node_modules/matrix-widget-api/lib/interfaces/WidgetConfigAction.d.ts +11 -0
  1994. package/node_modules/matrix-widget-api/lib/interfaces/WidgetConfigAction.js +6 -0
  1995. package/node_modules/matrix-widget-api/lib/interfaces/WidgetConfigAction.js.map +1 -0
  1996. package/node_modules/matrix-widget-api/lib/interfaces/WidgetKind.d.ts +5 -0
  1997. package/node_modules/matrix-widget-api/lib/interfaces/WidgetKind.js +29 -0
  1998. package/node_modules/matrix-widget-api/lib/interfaces/WidgetKind.js.map +1 -0
  1999. package/node_modules/matrix-widget-api/lib/interfaces/WidgetType.d.ts +6 -0
  2000. package/node_modules/matrix-widget-api/lib/interfaces/WidgetType.js +29 -0
  2001. package/node_modules/matrix-widget-api/lib/interfaces/WidgetType.js.map +1 -0
  2002. package/node_modules/matrix-widget-api/lib/models/Widget.d.ts +52 -0
  2003. package/node_modules/matrix-widget-api/lib/models/Widget.js +142 -0
  2004. package/node_modules/matrix-widget-api/lib/models/Widget.js.map +1 -0
  2005. package/node_modules/matrix-widget-api/lib/models/WidgetEventCapability.d.ts +34 -0
  2006. package/node_modules/matrix-widget-api/lib/models/WidgetEventCapability.js +258 -0
  2007. package/node_modules/matrix-widget-api/lib/models/WidgetEventCapability.js.map +1 -0
  2008. package/node_modules/matrix-widget-api/lib/models/WidgetParser.d.ts +46 -0
  2009. package/node_modules/matrix-widget-api/lib/models/WidgetParser.js +152 -0
  2010. package/node_modules/matrix-widget-api/lib/models/WidgetParser.js.map +1 -0
  2011. package/node_modules/matrix-widget-api/lib/models/validation/url.d.ts +1 -0
  2012. package/node_modules/matrix-widget-api/lib/models/validation/url.js +39 -0
  2013. package/node_modules/matrix-widget-api/lib/models/validation/url.js.map +1 -0
  2014. package/node_modules/matrix-widget-api/lib/models/validation/utils.d.ts +1 -0
  2015. package/node_modules/matrix-widget-api/lib/models/validation/utils.js +29 -0
  2016. package/node_modules/matrix-widget-api/lib/models/validation/utils.js.map +1 -0
  2017. package/node_modules/matrix-widget-api/lib/templating/url-template.d.ts +14 -0
  2018. package/node_modules/matrix-widget-api/lib/templating/url-template.js +62 -0
  2019. package/node_modules/matrix-widget-api/lib/templating/url-template.js.map +1 -0
  2020. package/node_modules/matrix-widget-api/lib/transport/ITransport.d.ts +69 -0
  2021. package/node_modules/matrix-widget-api/lib/transport/ITransport.js +6 -0
  2022. package/node_modules/matrix-widget-api/lib/transport/ITransport.js.map +1 -0
  2023. package/node_modules/matrix-widget-api/lib/transport/PostmessageTransport.d.ts +31 -0
  2024. package/node_modules/matrix-widget-api/lib/transport/PostmessageTransport.js +220 -0
  2025. package/node_modules/matrix-widget-api/lib/transport/PostmessageTransport.js.map +1 -0
  2026. package/node_modules/matrix-widget-api/lib/util/SimpleObservable.d.ts +8 -0
  2027. package/node_modules/matrix-widget-api/lib/util/SimpleObservable.js +68 -0
  2028. package/node_modules/matrix-widget-api/lib/util/SimpleObservable.js.map +1 -0
  2029. package/node_modules/matrix-widget-api/package.json +79 -0
  2030. package/node_modules/matrix-widget-api/src/ClientWidgetApi.ts +1362 -0
  2031. package/node_modules/matrix-widget-api/src/Symbols.ts +19 -0
  2032. package/node_modules/matrix-widget-api/src/WidgetApi.ts +933 -0
  2033. package/node_modules/matrix-widget-api/src/driver/WidgetDriver.ts +505 -0
  2034. package/node_modules/matrix-widget-api/src/index.ts +81 -0
  2035. package/node_modules/matrix-widget-api/src/interfaces/ApiVersion.ts +56 -0
  2036. package/node_modules/matrix-widget-api/src/interfaces/Capabilities.ts +98 -0
  2037. package/node_modules/matrix-widget-api/src/interfaces/CapabilitiesAction.ts +60 -0
  2038. package/node_modules/matrix-widget-api/src/interfaces/ContentLoadedAction.ts +28 -0
  2039. package/node_modules/matrix-widget-api/src/interfaces/DownloadFileAction.ts +36 -0
  2040. package/node_modules/matrix-widget-api/src/interfaces/GetMediaConfigAction.ts +34 -0
  2041. package/node_modules/matrix-widget-api/src/interfaces/GetOpenIDAction.ts +49 -0
  2042. package/node_modules/matrix-widget-api/src/interfaces/ICustomWidgetData.ts +27 -0
  2043. package/node_modules/matrix-widget-api/src/interfaces/IJitsiWidgetData.ts +38 -0
  2044. package/node_modules/matrix-widget-api/src/interfaces/IRoomAccountData.ts +21 -0
  2045. package/node_modules/matrix-widget-api/src/interfaces/IRoomEvent.ts +33 -0
  2046. package/node_modules/matrix-widget-api/src/interfaces/IStickerpickerWidgetData.ts +21 -0
  2047. package/node_modules/matrix-widget-api/src/interfaces/IToDeviceMessage.ts +21 -0
  2048. package/node_modules/matrix-widget-api/src/interfaces/IWidget.ts +75 -0
  2049. package/node_modules/matrix-widget-api/src/interfaces/IWidgetApiErrorResponse.ts +56 -0
  2050. package/node_modules/matrix-widget-api/src/interfaces/IWidgetApiRequest.ts +38 -0
  2051. package/node_modules/matrix-widget-api/src/interfaces/IWidgetApiResponse.ts +29 -0
  2052. package/node_modules/matrix-widget-api/src/interfaces/LanguageChangeAction.ts +35 -0
  2053. package/node_modules/matrix-widget-api/src/interfaces/ModalButtonKind.ts +23 -0
  2054. package/node_modules/matrix-widget-api/src/interfaces/ModalWidgetActions.ts +89 -0
  2055. package/node_modules/matrix-widget-api/src/interfaces/NavigateAction.ts +32 -0
  2056. package/node_modules/matrix-widget-api/src/interfaces/OpenIDCredentialsAction.ts +38 -0
  2057. package/node_modules/matrix-widget-api/src/interfaces/ReadEventAction.ts +43 -0
  2058. package/node_modules/matrix-widget-api/src/interfaces/ReadRelationsAction.ts +48 -0
  2059. package/node_modules/matrix-widget-api/src/interfaces/ReadRoomAccountDataAction.ts +39 -0
  2060. package/node_modules/matrix-widget-api/src/interfaces/ScreenshotAction.ts +32 -0
  2061. package/node_modules/matrix-widget-api/src/interfaces/SendEventAction.ts +66 -0
  2062. package/node_modules/matrix-widget-api/src/interfaces/SendToDeviceAction.ts +56 -0
  2063. package/node_modules/matrix-widget-api/src/interfaces/SetModalButtonEnabledAction.ts +34 -0
  2064. package/node_modules/matrix-widget-api/src/interfaces/StickerAction.ts +49 -0
  2065. package/node_modules/matrix-widget-api/src/interfaces/StickyAction.ts +36 -0
  2066. package/node_modules/matrix-widget-api/src/interfaces/SupportedVersionsAction.ts +33 -0
  2067. package/node_modules/matrix-widget-api/src/interfaces/ThemeChangeAction.ts +32 -0
  2068. package/node_modules/matrix-widget-api/src/interfaces/TurnServerActions.ts +54 -0
  2069. package/node_modules/matrix-widget-api/src/interfaces/UpdateDelayedEventAction.ts +43 -0
  2070. package/node_modules/matrix-widget-api/src/interfaces/UpdateStateAction.ts +37 -0
  2071. package/node_modules/matrix-widget-api/src/interfaces/UploadFileAction.ts +36 -0
  2072. package/node_modules/matrix-widget-api/src/interfaces/UserDirectorySearchAction.ts +42 -0
  2073. package/node_modules/matrix-widget-api/src/interfaces/VisibilityAction.ts +32 -0
  2074. package/node_modules/matrix-widget-api/src/interfaces/WidgetApiAction.ts +97 -0
  2075. package/node_modules/matrix-widget-api/src/interfaces/WidgetApiDirection.ts +30 -0
  2076. package/node_modules/matrix-widget-api/src/interfaces/WidgetConfigAction.ts +29 -0
  2077. package/node_modules/matrix-widget-api/src/interfaces/WidgetKind.ts +21 -0
  2078. package/node_modules/matrix-widget-api/src/interfaces/WidgetType.ts +23 -0
  2079. package/node_modules/matrix-widget-api/src/models/Widget.ts +108 -0
  2080. package/node_modules/matrix-widget-api/src/models/WidgetEventCapability.ts +224 -0
  2081. package/node_modules/matrix-widget-api/src/models/WidgetParser.ts +147 -0
  2082. package/node_modules/matrix-widget-api/src/models/validation/url.ts +32 -0
  2083. package/node_modules/matrix-widget-api/src/models/validation/utils.ts +22 -0
  2084. package/node_modules/matrix-widget-api/src/templating/url-template.ts +71 -0
  2085. package/node_modules/matrix-widget-api/src/transport/ITransport.ts +109 -0
  2086. package/node_modules/matrix-widget-api/src/transport/PostmessageTransport.ts +200 -0
  2087. package/node_modules/matrix-widget-api/src/util/SimpleObservable.ts +39 -0
  2088. package/node_modules/mdurl/LICENSE +45 -0
  2089. package/node_modules/mdurl/README.md +102 -0
  2090. package/node_modules/mdurl/build/index.cjs.js +534 -0
  2091. package/node_modules/mdurl/index.mjs +11 -0
  2092. package/node_modules/mdurl/lib/decode.mjs +112 -0
  2093. package/node_modules/mdurl/lib/encode.mjs +89 -0
  2094. package/node_modules/mdurl/lib/format.mjs +21 -0
  2095. package/node_modules/mdurl/lib/parse.mjs +308 -0
  2096. package/node_modules/mdurl/package.json +37 -0
  2097. package/node_modules/media-typer/HISTORY.md +50 -0
  2098. package/node_modules/media-typer/LICENSE +22 -0
  2099. package/node_modules/media-typer/README.md +93 -0
  2100. package/node_modules/media-typer/index.js +143 -0
  2101. package/node_modules/media-typer/package.json +33 -0
  2102. package/node_modules/ms/index.js +162 -0
  2103. package/node_modules/ms/license.md +21 -0
  2104. package/node_modules/ms/package.json +38 -0
  2105. package/node_modules/ms/readme.md +59 -0
  2106. package/node_modules/music-metadata/LICENSE.txt +9 -0
  2107. package/node_modules/music-metadata/README.md +878 -0
  2108. package/node_modules/music-metadata/lib/ParseError.d.ts +87 -0
  2109. package/node_modules/music-metadata/lib/ParseError.js +38 -0
  2110. package/node_modules/music-metadata/lib/ParserFactory.d.ts +44 -0
  2111. package/node_modules/music-metadata/lib/ParserFactory.js +141 -0
  2112. package/node_modules/music-metadata/lib/aiff/AiffLoader.d.ts +2 -0
  2113. package/node_modules/music-metadata/lib/aiff/AiffLoader.js +8 -0
  2114. package/node_modules/music-metadata/lib/aiff/AiffParser.d.ts +15 -0
  2115. package/node_modules/music-metadata/lib/aiff/AiffParser.js +104 -0
  2116. package/node_modules/music-metadata/lib/aiff/AiffTagMap.d.ts +4 -0
  2117. package/node_modules/music-metadata/lib/aiff/AiffTagMap.js +15 -0
  2118. package/node_modules/music-metadata/lib/aiff/AiffToken.d.ts +48 -0
  2119. package/node_modules/music-metadata/lib/aiff/AiffToken.js +58 -0
  2120. package/node_modules/music-metadata/lib/apev2/APEv2Parser.d.ts +46 -0
  2121. package/node_modules/music-metadata/lib/apev2/APEv2Parser.js +176 -0
  2122. package/node_modules/music-metadata/lib/apev2/APEv2TagMapper.d.ts +4 -0
  2123. package/node_modules/music-metadata/lib/apev2/APEv2TagMapper.js +83 -0
  2124. package/node_modules/music-metadata/lib/apev2/APEv2Token.d.ts +99 -0
  2125. package/node_modules/music-metadata/lib/apev2/APEv2Token.js +116 -0
  2126. package/node_modules/music-metadata/lib/apev2/Apev2Loader.d.ts +2 -0
  2127. package/node_modules/music-metadata/lib/apev2/Apev2Loader.js +8 -0
  2128. package/node_modules/music-metadata/lib/asf/AsfGuid.d.ts +83 -0
  2129. package/node_modules/music-metadata/lib/asf/AsfGuid.js +109 -0
  2130. package/node_modules/music-metadata/lib/asf/AsfLoader.d.ts +2 -0
  2131. package/node_modules/music-metadata/lib/asf/AsfLoader.js +8 -0
  2132. package/node_modules/music-metadata/lib/asf/AsfObject.d.ts +325 -0
  2133. package/node_modules/music-metadata/lib/asf/AsfObject.js +347 -0
  2134. package/node_modules/music-metadata/lib/asf/AsfParser.d.ts +17 -0
  2135. package/node_modules/music-metadata/lib/asf/AsfParser.js +134 -0
  2136. package/node_modules/music-metadata/lib/asf/AsfTagMapper.d.ts +7 -0
  2137. package/node_modules/music-metadata/lib/asf/AsfTagMapper.js +92 -0
  2138. package/node_modules/music-metadata/lib/asf/AsfUtil.d.ts +4 -0
  2139. package/node_modules/music-metadata/lib/asf/AsfUtil.js +32 -0
  2140. package/node_modules/music-metadata/lib/common/BasicParser.d.ts +17 -0
  2141. package/node_modules/music-metadata/lib/common/BasicParser.js +13 -0
  2142. package/node_modules/music-metadata/lib/common/CaseInsensitiveTagMap.d.ts +10 -0
  2143. package/node_modules/music-metadata/lib/common/CaseInsensitiveTagMap.js +17 -0
  2144. package/node_modules/music-metadata/lib/common/CombinedTagMapper.d.ts +19 -0
  2145. package/node_modules/music-metadata/lib/common/CombinedTagMapper.js +50 -0
  2146. package/node_modules/music-metadata/lib/common/FourCC.d.ts +6 -0
  2147. package/node_modules/music-metadata/lib/common/FourCC.js +25 -0
  2148. package/node_modules/music-metadata/lib/common/GenericTagMapper.d.ts +51 -0
  2149. package/node_modules/music-metadata/lib/common/GenericTagMapper.js +51 -0
  2150. package/node_modules/music-metadata/lib/common/GenericTagTypes.d.ts +34 -0
  2151. package/node_modules/music-metadata/lib/common/GenericTagTypes.js +133 -0
  2152. package/node_modules/music-metadata/lib/common/MetadataCollector.d.ts +86 -0
  2153. package/node_modules/music-metadata/lib/common/MetadataCollector.js +307 -0
  2154. package/node_modules/music-metadata/lib/common/Util.d.ts +56 -0
  2155. package/node_modules/music-metadata/lib/common/Util.js +152 -0
  2156. package/node_modules/music-metadata/lib/core.d.ts +75 -0
  2157. package/node_modules/music-metadata/lib/core.js +126 -0
  2158. package/node_modules/music-metadata/lib/dsdiff/DsdiffLoader.d.ts +2 -0
  2159. package/node_modules/music-metadata/lib/dsdiff/DsdiffLoader.js +8 -0
  2160. package/node_modules/music-metadata/lib/dsdiff/DsdiffParser.d.ts +29 -0
  2161. package/node_modules/music-metadata/lib/dsdiff/DsdiffParser.js +154 -0
  2162. package/node_modules/music-metadata/lib/dsdiff/DsdiffToken.d.ts +9 -0
  2163. package/node_modules/music-metadata/lib/dsdiff/DsdiffToken.js +18 -0
  2164. package/node_modules/music-metadata/lib/dsf/DsfChunk.d.ts +87 -0
  2165. package/node_modules/music-metadata/lib/dsf/DsfChunk.js +50 -0
  2166. package/node_modules/music-metadata/lib/dsf/DsfLoader.d.ts +2 -0
  2167. package/node_modules/music-metadata/lib/dsf/DsfLoader.js +8 -0
  2168. package/node_modules/music-metadata/lib/dsf/DsfParser.d.ts +24 -0
  2169. package/node_modules/music-metadata/lib/dsf/DsfParser.js +57 -0
  2170. package/node_modules/music-metadata/lib/ebml/EbmlIterator.d.ts +67 -0
  2171. package/node_modules/music-metadata/lib/ebml/EbmlIterator.js +218 -0
  2172. package/node_modules/music-metadata/lib/ebml/types.d.ts +37 -0
  2173. package/node_modules/music-metadata/lib/ebml/types.js +8 -0
  2174. package/node_modules/music-metadata/lib/flac/FlacLoader.d.ts +2 -0
  2175. package/node_modules/music-metadata/lib/flac/FlacLoader.js +8 -0
  2176. package/node_modules/music-metadata/lib/flac/FlacParser.d.ts +29 -0
  2177. package/node_modules/music-metadata/lib/flac/FlacParser.js +125 -0
  2178. package/node_modules/music-metadata/lib/flac/FlacToken.d.ts +45 -0
  2179. package/node_modules/music-metadata/lib/flac/FlacToken.js +63 -0
  2180. package/node_modules/music-metadata/lib/id3v1/ID3v1Parser.d.ts +17 -0
  2181. package/node_modules/music-metadata/lib/id3v1/ID3v1Parser.js +137 -0
  2182. package/node_modules/music-metadata/lib/id3v1/ID3v1TagMap.d.ts +4 -0
  2183. package/node_modules/music-metadata/lib/id3v1/ID3v1TagMap.js +18 -0
  2184. package/node_modules/music-metadata/lib/id3v2/AbstractID3Parser.d.ts +17 -0
  2185. package/node_modules/music-metadata/lib/id3v2/AbstractID3Parser.js +56 -0
  2186. package/node_modules/music-metadata/lib/id3v2/FrameHeader.d.ts +31 -0
  2187. package/node_modules/music-metadata/lib/id3v2/FrameHeader.js +73 -0
  2188. package/node_modules/music-metadata/lib/id3v2/FrameParser.d.ts +92 -0
  2189. package/node_modules/music-metadata/lib/id3v2/FrameParser.js +470 -0
  2190. package/node_modules/music-metadata/lib/id3v2/ID3v22TagMapper.d.ts +9 -0
  2191. package/node_modules/music-metadata/lib/id3v2/ID3v22TagMapper.js +46 -0
  2192. package/node_modules/music-metadata/lib/id3v2/ID3v24TagMapper.d.ts +14 -0
  2193. package/node_modules/music-metadata/lib/id3v2/ID3v24TagMapper.js +195 -0
  2194. package/node_modules/music-metadata/lib/id3v2/ID3v2ChapterToken.d.ts +11 -0
  2195. package/node_modules/music-metadata/lib/id3v2/ID3v2ChapterToken.js +17 -0
  2196. package/node_modules/music-metadata/lib/id3v2/ID3v2Parser.d.ts +33 -0
  2197. package/node_modules/music-metadata/lib/id3v2/ID3v2Parser.js +169 -0
  2198. package/node_modules/music-metadata/lib/id3v2/ID3v2Token.d.ts +111 -0
  2199. package/node_modules/music-metadata/lib/id3v2/ID3v2Token.js +146 -0
  2200. package/node_modules/music-metadata/lib/iff/index.d.ts +33 -0
  2201. package/node_modules/music-metadata/lib/iff/index.js +16 -0
  2202. package/node_modules/music-metadata/lib/index.d.ts +22 -0
  2203. package/node_modules/music-metadata/lib/index.js +53 -0
  2204. package/node_modules/music-metadata/lib/lrc/LyricsParser.d.ts +9 -0
  2205. package/node_modules/music-metadata/lib/lrc/LyricsParser.js +45 -0
  2206. package/node_modules/music-metadata/lib/lyrics3/Lyrics3.d.ts +3 -0
  2207. package/node_modules/music-metadata/lib/lyrics3/Lyrics3.js +17 -0
  2208. package/node_modules/music-metadata/lib/matroska/MatroskaDtd.d.ts +8 -0
  2209. package/node_modules/music-metadata/lib/matroska/MatroskaDtd.js +283 -0
  2210. package/node_modules/music-metadata/lib/matroska/MatroskaLoader.d.ts +2 -0
  2211. package/node_modules/music-metadata/lib/matroska/MatroskaLoader.js +8 -0
  2212. package/node_modules/music-metadata/lib/matroska/MatroskaParser.d.ts +19 -0
  2213. package/node_modules/music-metadata/lib/matroska/MatroskaParser.js +143 -0
  2214. package/node_modules/music-metadata/lib/matroska/MatroskaTagMapper.d.ts +4 -0
  2215. package/node_modules/music-metadata/lib/matroska/MatroskaTagMapper.js +32 -0
  2216. package/node_modules/music-metadata/lib/matroska/types.d.ts +142 -0
  2217. package/node_modules/music-metadata/lib/matroska/types.js +27 -0
  2218. package/node_modules/music-metadata/lib/mp4/Atom.d.ts +16 -0
  2219. package/node_modules/music-metadata/lib/mp4/Atom.js +65 -0
  2220. package/node_modules/music-metadata/lib/mp4/AtomToken.d.ts +487 -0
  2221. package/node_modules/music-metadata/lib/mp4/AtomToken.js +524 -0
  2222. package/node_modules/music-metadata/lib/mp4/MP4Parser.d.ts +32 -0
  2223. package/node_modules/music-metadata/lib/mp4/MP4Parser.js +647 -0
  2224. package/node_modules/music-metadata/lib/mp4/MP4TagMapper.d.ts +8 -0
  2225. package/node_modules/music-metadata/lib/mp4/MP4TagMapper.js +123 -0
  2226. package/node_modules/music-metadata/lib/mp4/Mp4Loader.d.ts +2 -0
  2227. package/node_modules/music-metadata/lib/mp4/Mp4Loader.js +8 -0
  2228. package/node_modules/music-metadata/lib/mpeg/ExtendedLameHeader.d.ts +27 -0
  2229. package/node_modules/music-metadata/lib/mpeg/ExtendedLameHeader.js +28 -0
  2230. package/node_modules/music-metadata/lib/mpeg/MpegLoader.d.ts +2 -0
  2231. package/node_modules/music-metadata/lib/mpeg/MpegLoader.js +8 -0
  2232. package/node_modules/music-metadata/lib/mpeg/MpegParser.d.ts +62 -0
  2233. package/node_modules/music-metadata/lib/mpeg/MpegParser.js +569 -0
  2234. package/node_modules/music-metadata/lib/mpeg/ReplayGainDataFormat.d.ts +57 -0
  2235. package/node_modules/music-metadata/lib/mpeg/ReplayGainDataFormat.js +64 -0
  2236. package/node_modules/music-metadata/lib/mpeg/XingTag.d.ts +44 -0
  2237. package/node_modules/music-metadata/lib/mpeg/XingTag.js +65 -0
  2238. package/node_modules/music-metadata/lib/musepack/MusepackConentError.d.ts +15 -0
  2239. package/node_modules/music-metadata/lib/musepack/MusepackConentError.js +3 -0
  2240. package/node_modules/music-metadata/lib/musepack/MusepackLoader.d.ts +2 -0
  2241. package/node_modules/music-metadata/lib/musepack/MusepackLoader.js +8 -0
  2242. package/node_modules/music-metadata/lib/musepack/MusepackParser.d.ts +4 -0
  2243. package/node_modules/music-metadata/lib/musepack/MusepackParser.js +30 -0
  2244. package/node_modules/music-metadata/lib/musepack/sv7/BitReader.d.ts +13 -0
  2245. package/node_modules/music-metadata/lib/musepack/sv7/BitReader.js +46 -0
  2246. package/node_modules/music-metadata/lib/musepack/sv7/MpcSv7Parser.d.ts +8 -0
  2247. package/node_modules/music-metadata/lib/musepack/sv7/MpcSv7Parser.js +47 -0
  2248. package/node_modules/music-metadata/lib/musepack/sv7/StreamVersion7.d.ts +28 -0
  2249. package/node_modules/music-metadata/lib/musepack/sv7/StreamVersion7.js +39 -0
  2250. package/node_modules/music-metadata/lib/musepack/sv8/MpcSv8Parser.d.ts +6 -0
  2251. package/node_modules/music-metadata/lib/musepack/sv8/MpcSv8Parser.js +56 -0
  2252. package/node_modules/music-metadata/lib/musepack/sv8/StreamVersion8.d.ts +42 -0
  2253. package/node_modules/music-metadata/lib/musepack/sv8/StreamVersion8.js +82 -0
  2254. package/node_modules/music-metadata/lib/ogg/OggLoader.d.ts +2 -0
  2255. package/node_modules/music-metadata/lib/ogg/OggLoader.js +8 -0
  2256. package/node_modules/music-metadata/lib/ogg/OggParser.d.ts +27 -0
  2257. package/node_modules/music-metadata/lib/ogg/OggParser.js +125 -0
  2258. package/node_modules/music-metadata/lib/ogg/OggToken.d.ts +83 -0
  2259. package/node_modules/music-metadata/lib/ogg/OggToken.js +41 -0
  2260. package/node_modules/music-metadata/lib/ogg/flac/FlacStream.d.ts +29 -0
  2261. package/node_modules/music-metadata/lib/ogg/flac/FlacStream.js +74 -0
  2262. package/node_modules/music-metadata/lib/ogg/opus/Opus.d.ts +63 -0
  2263. package/node_modules/music-metadata/lib/ogg/opus/Opus.js +27 -0
  2264. package/node_modules/music-metadata/lib/ogg/opus/OpusStream.d.ts +24 -0
  2265. package/node_modules/music-metadata/lib/ogg/opus/OpusStream.js +56 -0
  2266. package/node_modules/music-metadata/lib/ogg/speex/Speex.d.ts +36 -0
  2267. package/node_modules/music-metadata/lib/ogg/speex/Speex.js +28 -0
  2268. package/node_modules/music-metadata/lib/ogg/speex/SpeexStream.d.ts +20 -0
  2269. package/node_modules/music-metadata/lib/ogg/speex/SpeexStream.js +31 -0
  2270. package/node_modules/music-metadata/lib/ogg/theora/Theora.d.ts +20 -0
  2271. package/node_modules/music-metadata/lib/ogg/theora/Theora.js +20 -0
  2272. package/node_modules/music-metadata/lib/ogg/theora/TheoraStream.d.ts +25 -0
  2273. package/node_modules/music-metadata/lib/ogg/theora/TheoraStream.js +39 -0
  2274. package/node_modules/music-metadata/lib/ogg/vorbis/Vorbis.d.ts +68 -0
  2275. package/node_modules/music-metadata/lib/ogg/vorbis/Vorbis.js +83 -0
  2276. package/node_modules/music-metadata/lib/ogg/vorbis/VorbisDecoder.d.ts +12 -0
  2277. package/node_modules/music-metadata/lib/ogg/vorbis/VorbisDecoder.js +29 -0
  2278. package/node_modules/music-metadata/lib/ogg/vorbis/VorbisStream.d.ts +53 -0
  2279. package/node_modules/music-metadata/lib/ogg/vorbis/VorbisStream.js +136 -0
  2280. package/node_modules/music-metadata/lib/ogg/vorbis/VorbisTagMapper.d.ts +7 -0
  2281. package/node_modules/music-metadata/lib/ogg/vorbis/VorbisTagMapper.js +133 -0
  2282. package/node_modules/music-metadata/lib/riff/RiffChunk.d.ts +16 -0
  2283. package/node_modules/music-metadata/lib/riff/RiffChunk.js +28 -0
  2284. package/node_modules/music-metadata/lib/riff/RiffInfoTagMap.d.ts +10 -0
  2285. package/node_modules/music-metadata/lib/riff/RiffInfoTagMap.js +34 -0
  2286. package/node_modules/music-metadata/lib/type.d.ts +661 -0
  2287. package/node_modules/music-metadata/lib/type.js +2 -0
  2288. package/node_modules/music-metadata/lib/wav/BwfChunk.d.ts +17 -0
  2289. package/node_modules/music-metadata/lib/wav/BwfChunk.js +26 -0
  2290. package/node_modules/music-metadata/lib/wav/WaveChunk.d.ts +94 -0
  2291. package/node_modules/music-metadata/lib/wav/WaveChunk.js +78 -0
  2292. package/node_modules/music-metadata/lib/wav/WaveLoader.d.ts +2 -0
  2293. package/node_modules/music-metadata/lib/wav/WaveLoader.js +8 -0
  2294. package/node_modules/music-metadata/lib/wav/WaveParser.d.ts +24 -0
  2295. package/node_modules/music-metadata/lib/wav/WaveParser.js +170 -0
  2296. package/node_modules/music-metadata/lib/wavpack/WavPackLoader.d.ts +2 -0
  2297. package/node_modules/music-metadata/lib/wavpack/WavPackLoader.js +8 -0
  2298. package/node_modules/music-metadata/lib/wavpack/WavPackParser.d.ts +30 -0
  2299. package/node_modules/music-metadata/lib/wavpack/WavPackParser.js +109 -0
  2300. package/node_modules/music-metadata/lib/wavpack/WavPackToken.d.ts +60 -0
  2301. package/node_modules/music-metadata/lib/wavpack/WavPackToken.js +70 -0
  2302. package/node_modules/music-metadata/package.json +156 -0
  2303. package/node_modules/node-downloader-helper/LICENSE +21 -0
  2304. package/node_modules/node-downloader-helper/README.md +266 -0
  2305. package/node_modules/node-downloader-helper/bin/helpers.js +50 -0
  2306. package/node_modules/node-downloader-helper/bin/ndh +68 -0
  2307. package/node_modules/node-downloader-helper/dist/index.js +1 -0
  2308. package/node_modules/node-downloader-helper/package.json +55 -0
  2309. package/node_modules/node-downloader-helper/types/index.d.ts +292 -0
  2310. package/node_modules/oidc-client-ts/LICENSE +202 -0
  2311. package/node_modules/oidc-client-ts/README.md +87 -0
  2312. package/node_modules/oidc-client-ts/dist/browser/oidc-client-ts.js +3751 -0
  2313. package/node_modules/oidc-client-ts/dist/browser/oidc-client-ts.js.map +7 -0
  2314. package/node_modules/oidc-client-ts/dist/browser/oidc-client-ts.min.js +2 -0
  2315. package/node_modules/oidc-client-ts/dist/browser/oidc-client-ts.min.js.map +7 -0
  2316. package/node_modules/oidc-client-ts/dist/esm/oidc-client-ts.js +3671 -0
  2317. package/node_modules/oidc-client-ts/dist/esm/oidc-client-ts.js.map +7 -0
  2318. package/node_modules/oidc-client-ts/dist/esm/package.json +4 -0
  2319. package/node_modules/oidc-client-ts/dist/types/oidc-client-ts.d.ts +2003 -0
  2320. package/node_modules/oidc-client-ts/dist/types/tsdoc-metadata.json +11 -0
  2321. package/node_modules/oidc-client-ts/dist/umd/oidc-client-ts.js +3719 -0
  2322. package/node_modules/oidc-client-ts/dist/umd/oidc-client-ts.js.map +7 -0
  2323. package/node_modules/oidc-client-ts/package.json +75 -0
  2324. package/node_modules/p-retry/index.d.ts +267 -0
  2325. package/node_modules/p-retry/index.js +267 -0
  2326. package/node_modules/p-retry/license +9 -0
  2327. package/node_modules/p-retry/package.json +63 -0
  2328. package/node_modules/p-retry/readme.md +319 -0
  2329. package/node_modules/punycode.js/LICENSE-MIT.txt +20 -0
  2330. package/node_modules/punycode.js/README.md +148 -0
  2331. package/node_modules/punycode.js/package.json +58 -0
  2332. package/node_modules/punycode.js/punycode.es6.js +444 -0
  2333. package/node_modules/punycode.js/punycode.js +443 -0
  2334. package/node_modules/sdp-transform/.eslintrc.js +19 -0
  2335. package/node_modules/sdp-transform/.github/FUNDING.yml +12 -0
  2336. package/node_modules/sdp-transform/.github/codecov.yml +8 -0
  2337. package/node_modules/sdp-transform/.github/dependabot.yml +15 -0
  2338. package/node_modules/sdp-transform/.github/workflows/ci.yml +26 -0
  2339. package/node_modules/sdp-transform/CHANGELOG.md +247 -0
  2340. package/node_modules/sdp-transform/LICENSE +22 -0
  2341. package/node_modules/sdp-transform/README.md +254 -0
  2342. package/node_modules/sdp-transform/checker.js +47 -0
  2343. package/node_modules/sdp-transform/lib/grammar.js +495 -0
  2344. package/node_modules/sdp-transform/lib/index.js +13 -0
  2345. package/node_modules/sdp-transform/lib/parser.js +124 -0
  2346. package/node_modules/sdp-transform/lib/writer.js +114 -0
  2347. package/node_modules/sdp-transform/package.json +34 -0
  2348. package/node_modules/strtok3/LICENSE.txt +21 -0
  2349. package/node_modules/strtok3/README.md +399 -0
  2350. package/node_modules/strtok3/lib/AbstractTokenizer.d.ts +76 -0
  2351. package/node_modules/strtok3/lib/AbstractTokenizer.js +111 -0
  2352. package/node_modules/strtok3/lib/BlobTokenizer.d.ts +29 -0
  2353. package/node_modules/strtok3/lib/BlobTokenizer.js +53 -0
  2354. package/node_modules/strtok3/lib/BufferTokenizer.d.ts +29 -0
  2355. package/node_modules/strtok3/lib/BufferTokenizer.js +52 -0
  2356. package/node_modules/strtok3/lib/FileTokenizer.d.ts +37 -0
  2357. package/node_modules/strtok3/lib/FileTokenizer.js +61 -0
  2358. package/node_modules/strtok3/lib/ReadStreamTokenizer.d.ts +34 -0
  2359. package/node_modules/strtok3/lib/ReadStreamTokenizer.js +107 -0
  2360. package/node_modules/strtok3/lib/core.d.ts +40 -0
  2361. package/node_modules/strtok3/lib/core.js +62 -0
  2362. package/node_modules/strtok3/lib/index.d.ts +16 -0
  2363. package/node_modules/strtok3/lib/index.js +22 -0
  2364. package/node_modules/strtok3/lib/stream/AbstractStreamReader.d.ts +54 -0
  2365. package/node_modules/strtok3/lib/stream/AbstractStreamReader.js +71 -0
  2366. package/node_modules/strtok3/lib/stream/Deferred.d.ts +6 -0
  2367. package/node_modules/strtok3/lib/stream/Deferred.js +10 -0
  2368. package/node_modules/strtok3/lib/stream/Errors.d.ts +10 -0
  2369. package/node_modules/strtok3/lib/stream/Errors.js +16 -0
  2370. package/node_modules/strtok3/lib/stream/StreamReader.d.ts +29 -0
  2371. package/node_modules/strtok3/lib/stream/StreamReader.js +83 -0
  2372. package/node_modules/strtok3/lib/stream/WebStreamByobReader.d.ts +14 -0
  2373. package/node_modules/strtok3/lib/stream/WebStreamByobReader.js +27 -0
  2374. package/node_modules/strtok3/lib/stream/WebStreamDefaultReader.d.ts +19 -0
  2375. package/node_modules/strtok3/lib/stream/WebStreamDefaultReader.js +62 -0
  2376. package/node_modules/strtok3/lib/stream/WebStreamReader.d.ts +14 -0
  2377. package/node_modules/strtok3/lib/stream/WebStreamReader.js +13 -0
  2378. package/node_modules/strtok3/lib/stream/WebStreamReaderFactory.d.ts +5 -0
  2379. package/node_modules/strtok3/lib/stream/WebStreamReaderFactory.js +19 -0
  2380. package/node_modules/strtok3/lib/stream/index.d.ts +6 -0
  2381. package/node_modules/strtok3/lib/stream/index.js +5 -0
  2382. package/node_modules/strtok3/lib/types.d.ts +139 -0
  2383. package/node_modules/strtok3/lib/types.js +1 -0
  2384. package/node_modules/strtok3/package.json +94 -0
  2385. package/node_modules/token-types/LICENSE.txt +9 -0
  2386. package/node_modules/token-types/README.md +120 -0
  2387. package/node_modules/token-types/lib/index.d.ts +135 -0
  2388. package/node_modules/token-types/lib/index.js +401 -0
  2389. package/node_modules/token-types/package.json +81 -0
  2390. package/node_modules/typebox/build/compile/code.d.mts +12 -0
  2391. package/node_modules/typebox/build/compile/code.mjs +65 -0
  2392. package/node_modules/typebox/build/compile/compile.d.mts +6 -0
  2393. package/node_modules/typebox/build/compile/compile.mjs +12 -0
  2394. package/node_modules/typebox/build/compile/index.d.mts +8 -0
  2395. package/node_modules/typebox/build/compile/index.mjs +14 -0
  2396. package/node_modules/typebox/build/compile/validator.d.mts +43 -0
  2397. package/node_modules/typebox/build/compile/validator.mjs +121 -0
  2398. package/node_modules/typebox/build/error/errors.d.mts +214 -0
  2399. package/node_modules/typebox/build/error/errors.mjs +18 -0
  2400. package/node_modules/typebox/build/error/index.d.mts +1 -0
  2401. package/node_modules/typebox/build/error/index.mjs +1 -0
  2402. package/node_modules/typebox/build/format/_idna.d.mts +2 -0
  2403. package/node_modules/typebox/build/format/_idna.mjs +216 -0
  2404. package/node_modules/typebox/build/format/_puny.d.mts +1 -0
  2405. package/node_modules/typebox/build/format/_puny.mjs +74 -0
  2406. package/node_modules/typebox/build/format/_registry.d.mts +15 -0
  2407. package/node_modules/typebox/build/format/_registry.mjs +96 -0
  2408. package/node_modules/typebox/build/format/date.d.mts +6 -0
  2409. package/node_modules/typebox/build/format/date.mjs +19 -0
  2410. package/node_modules/typebox/build/format/date_time.d.mts +6 -0
  2411. package/node_modules/typebox/build/format/date_time.mjs +11 -0
  2412. package/node_modules/typebox/build/format/duration.d.mts +5 -0
  2413. package/node_modules/typebox/build/format/duration.mjs +8 -0
  2414. package/node_modules/typebox/build/format/email.d.mts +5 -0
  2415. package/node_modules/typebox/build/format/email.mjs +8 -0
  2416. package/node_modules/typebox/build/format/format.d.mts +22 -0
  2417. package/node_modules/typebox/build/format/format.mjs +22 -0
  2418. package/node_modules/typebox/build/format/hostname.d.mts +7 -0
  2419. package/node_modules/typebox/build/format/hostname.mjs +18 -0
  2420. package/node_modules/typebox/build/format/idn_email.d.mts +5 -0
  2421. package/node_modules/typebox/build/format/idn_email.mjs +8 -0
  2422. package/node_modules/typebox/build/format/idn_hostname.d.mts +7 -0
  2423. package/node_modules/typebox/build/format/idn_hostname.mjs +19 -0
  2424. package/node_modules/typebox/build/format/index.d.mts +4 -0
  2425. package/node_modules/typebox/build/format/index.mjs +4 -0
  2426. package/node_modules/typebox/build/format/ipv4.d.mts +6 -0
  2427. package/node_modules/typebox/build/format/ipv4.mjs +38 -0
  2428. package/node_modules/typebox/build/format/ipv6.d.mts +5 -0
  2429. package/node_modules/typebox/build/format/ipv6.mjs +67 -0
  2430. package/node_modules/typebox/build/format/iri.d.mts +5 -0
  2431. package/node_modules/typebox/build/format/iri.mjs +13 -0
  2432. package/node_modules/typebox/build/format/iri_reference.d.mts +5 -0
  2433. package/node_modules/typebox/build/format/iri_reference.mjs +60 -0
  2434. package/node_modules/typebox/build/format/json_pointer.d.mts +6 -0
  2435. package/node_modules/typebox/build/format/json_pointer.mjs +9 -0
  2436. package/node_modules/typebox/build/format/json_pointer_uri_fragment.d.mts +6 -0
  2437. package/node_modules/typebox/build/format/json_pointer_uri_fragment.mjs +9 -0
  2438. package/node_modules/typebox/build/format/regex.d.mts +6 -0
  2439. package/node_modules/typebox/build/format/regex.mjs +17 -0
  2440. package/node_modules/typebox/build/format/relative_json_pointer.d.mts +6 -0
  2441. package/node_modules/typebox/build/format/relative_json_pointer.mjs +9 -0
  2442. package/node_modules/typebox/build/format/time.d.mts +5 -0
  2443. package/node_modules/typebox/build/format/time.mjs +27 -0
  2444. package/node_modules/typebox/build/format/uri.d.mts +5 -0
  2445. package/node_modules/typebox/build/format/uri.mjs +135 -0
  2446. package/node_modules/typebox/build/format/uri_reference.d.mts +5 -0
  2447. package/node_modules/typebox/build/format/uri_reference.mjs +9 -0
  2448. package/node_modules/typebox/build/format/uri_template.d.mts +6 -0
  2449. package/node_modules/typebox/build/format/uri_template.mjs +10 -0
  2450. package/node_modules/typebox/build/format/url.d.mts +6 -0
  2451. package/node_modules/typebox/build/format/url.mjs +9 -0
  2452. package/node_modules/typebox/build/format/uuid.d.mts +6 -0
  2453. package/node_modules/typebox/build/format/uuid.mjs +9 -0
  2454. package/node_modules/typebox/build/guard/emit.d.mts +58 -0
  2455. package/node_modules/typebox/build/guard/emit.mjs +194 -0
  2456. package/node_modules/typebox/build/guard/globals.d.mts +35 -0
  2457. package/node_modules/typebox/build/guard/globals.mjs +90 -0
  2458. package/node_modules/typebox/build/guard/guard.d.mts +69 -0
  2459. package/node_modules/typebox/build/guard/guard.mjs +217 -0
  2460. package/node_modules/typebox/build/guard/index.d.mts +6 -0
  2461. package/node_modules/typebox/build/guard/index.mjs +6 -0
  2462. package/node_modules/typebox/build/guard/native.d.mts +20 -0
  2463. package/node_modules/typebox/build/guard/native.mjs +60 -0
  2464. package/node_modules/typebox/build/guard/string.d.mts +6 -0
  2465. package/node_modules/typebox/build/guard/string.mjs +164 -0
  2466. package/node_modules/typebox/build/index.d.mts +8 -0
  2467. package/node_modules/typebox/build/index.mjs +14 -0
  2468. package/node_modules/typebox/build/schema/build.d.mts +39 -0
  2469. package/node_modules/typebox/build/schema/build.mjs +118 -0
  2470. package/node_modules/typebox/build/schema/check.d.mts +6 -0
  2471. package/node_modules/typebox/build/schema/check.mjs +14 -0
  2472. package/node_modules/typebox/build/schema/compile.d.mts +22 -0
  2473. package/node_modules/typebox/build/schema/compile.mjs +46 -0
  2474. package/node_modules/typebox/build/schema/engine/_context.d.mts +35 -0
  2475. package/node_modules/typebox/build/schema/engine/_context.mjs +129 -0
  2476. package/node_modules/typebox/build/schema/engine/_exact_optional.d.mts +3 -0
  2477. package/node_modules/typebox/build/schema/engine/_exact_optional.mjs +20 -0
  2478. package/node_modules/typebox/build/schema/engine/_externals.d.mts +7 -0
  2479. package/node_modules/typebox/build/schema/engine/_externals.mjs +25 -0
  2480. package/node_modules/typebox/build/schema/engine/_functions.d.mts +6 -0
  2481. package/node_modules/typebox/build/schema/engine/_functions.mjs +47 -0
  2482. package/node_modules/typebox/build/schema/engine/_guard.d.mts +6 -0
  2483. package/node_modules/typebox/build/schema/engine/_guard.mjs +26 -0
  2484. package/node_modules/typebox/build/schema/engine/_reducer.d.mts +4 -0
  2485. package/node_modules/typebox/build/schema/engine/_reducer.mjs +45 -0
  2486. package/node_modules/typebox/build/schema/engine/_refine.d.mts +6 -0
  2487. package/node_modules/typebox/build/schema/engine/_refine.mjs +29 -0
  2488. package/node_modules/typebox/build/schema/engine/_stack.d.mts +18 -0
  2489. package/node_modules/typebox/build/schema/engine/_stack.mjs +107 -0
  2490. package/node_modules/typebox/build/schema/engine/_unique.d.mts +2 -0
  2491. package/node_modules/typebox/build/schema/engine/_unique.mjs +5 -0
  2492. package/node_modules/typebox/build/schema/engine/additionalItems.d.mts +6 -0
  2493. package/node_modules/typebox/build/schema/engine/additionalItems.mjs +50 -0
  2494. package/node_modules/typebox/build/schema/engine/additionalProperties.d.mts +9 -0
  2495. package/node_modules/typebox/build/schema/engine/additionalProperties.mjs +110 -0
  2496. package/node_modules/typebox/build/schema/engine/allOf.d.mts +6 -0
  2497. package/node_modules/typebox/build/schema/engine/allOf.mjs +47 -0
  2498. package/node_modules/typebox/build/schema/engine/anyOf.d.mts +6 -0
  2499. package/node_modules/typebox/build/schema/engine/anyOf.mjs +52 -0
  2500. package/node_modules/typebox/build/schema/engine/boolean.d.mts +5 -0
  2501. package/node_modules/typebox/build/schema/engine/boolean.mjs +25 -0
  2502. package/node_modules/typebox/build/schema/engine/const.d.mts +6 -0
  2503. package/node_modules/typebox/build/schema/engine/const.mjs +30 -0
  2504. package/node_modules/typebox/build/schema/engine/contains.d.mts +6 -0
  2505. package/node_modules/typebox/build/schema/engine/contains.mjs +42 -0
  2506. package/node_modules/typebox/build/schema/engine/dependencies.d.mts +6 -0
  2507. package/node_modules/typebox/build/schema/engine/dependencies.mjs +45 -0
  2508. package/node_modules/typebox/build/schema/engine/dependentRequired.d.mts +6 -0
  2509. package/node_modules/typebox/build/schema/engine/dependentRequired.mjs +40 -0
  2510. package/node_modules/typebox/build/schema/engine/dependentSchemas.d.mts +6 -0
  2511. package/node_modules/typebox/build/schema/engine/dependentSchemas.mjs +38 -0
  2512. package/node_modules/typebox/build/schema/engine/dynamicRef.d.mts +6 -0
  2513. package/node_modules/typebox/build/schema/engine/dynamicRef.mjs +25 -0
  2514. package/node_modules/typebox/build/schema/engine/enum.d.mts +6 -0
  2515. package/node_modules/typebox/build/schema/engine/enum.mjs +33 -0
  2516. package/node_modules/typebox/build/schema/engine/exclusiveMaximum.d.mts +6 -0
  2517. package/node_modules/typebox/build/schema/engine/exclusiveMaximum.mjs +25 -0
  2518. package/node_modules/typebox/build/schema/engine/exclusiveMinimum.d.mts +6 -0
  2519. package/node_modules/typebox/build/schema/engine/exclusiveMinimum.mjs +25 -0
  2520. package/node_modules/typebox/build/schema/engine/format.d.mts +6 -0
  2521. package/node_modules/typebox/build/schema/engine/format.mjs +26 -0
  2522. package/node_modules/typebox/build/schema/engine/if.d.mts +6 -0
  2523. package/node_modules/typebox/build/schema/engine/if.mjs +47 -0
  2524. package/node_modules/typebox/build/schema/engine/index.d.mts +49 -0
  2525. package/node_modules/typebox/build/schema/engine/index.mjs +55 -0
  2526. package/node_modules/typebox/build/schema/engine/items.d.mts +6 -0
  2527. package/node_modules/typebox/build/schema/engine/items.mjs +68 -0
  2528. package/node_modules/typebox/build/schema/engine/maxContains.d.mts +6 -0
  2529. package/node_modules/typebox/build/schema/engine/maxContains.mjs +42 -0
  2530. package/node_modules/typebox/build/schema/engine/maxItems.d.mts +6 -0
  2531. package/node_modules/typebox/build/schema/engine/maxItems.mjs +25 -0
  2532. package/node_modules/typebox/build/schema/engine/maxLength.d.mts +6 -0
  2533. package/node_modules/typebox/build/schema/engine/maxLength.mjs +25 -0
  2534. package/node_modules/typebox/build/schema/engine/maxProperties.d.mts +6 -0
  2535. package/node_modules/typebox/build/schema/engine/maxProperties.mjs +25 -0
  2536. package/node_modules/typebox/build/schema/engine/maximum.d.mts +6 -0
  2537. package/node_modules/typebox/build/schema/engine/maximum.mjs +25 -0
  2538. package/node_modules/typebox/build/schema/engine/minContains.d.mts +6 -0
  2539. package/node_modules/typebox/build/schema/engine/minContains.mjs +41 -0
  2540. package/node_modules/typebox/build/schema/engine/minItems.d.mts +6 -0
  2541. package/node_modules/typebox/build/schema/engine/minItems.mjs +25 -0
  2542. package/node_modules/typebox/build/schema/engine/minLength.d.mts +6 -0
  2543. package/node_modules/typebox/build/schema/engine/minLength.mjs +25 -0
  2544. package/node_modules/typebox/build/schema/engine/minProperties.d.mts +6 -0
  2545. package/node_modules/typebox/build/schema/engine/minProperties.mjs +25 -0
  2546. package/node_modules/typebox/build/schema/engine/minimum.d.mts +6 -0
  2547. package/node_modules/typebox/build/schema/engine/minimum.mjs +25 -0
  2548. package/node_modules/typebox/build/schema/engine/multipleOf.d.mts +6 -0
  2549. package/node_modules/typebox/build/schema/engine/multipleOf.mjs +25 -0
  2550. package/node_modules/typebox/build/schema/engine/not.d.mts +6 -0
  2551. package/node_modules/typebox/build/schema/engine/not.mjs +37 -0
  2552. package/node_modules/typebox/build/schema/engine/oneOf.d.mts +6 -0
  2553. package/node_modules/typebox/build/schema/engine/oneOf.mjs +58 -0
  2554. package/node_modules/typebox/build/schema/engine/pattern.d.mts +6 -0
  2555. package/node_modules/typebox/build/schema/engine/pattern.mjs +28 -0
  2556. package/node_modules/typebox/build/schema/engine/patternProperties.d.mts +6 -0
  2557. package/node_modules/typebox/build/schema/engine/patternProperties.mjs +44 -0
  2558. package/node_modules/typebox/build/schema/engine/prefixItems.d.mts +6 -0
  2559. package/node_modules/typebox/build/schema/engine/prefixItems.mjs +35 -0
  2560. package/node_modules/typebox/build/schema/engine/properties.d.mts +6 -0
  2561. package/node_modules/typebox/build/schema/engine/properties.mjs +75 -0
  2562. package/node_modules/typebox/build/schema/engine/propertyNames.d.mts +6 -0
  2563. package/node_modules/typebox/build/schema/engine/propertyNames.mjs +39 -0
  2564. package/node_modules/typebox/build/schema/engine/recursiveRef.d.mts +6 -0
  2565. package/node_modules/typebox/build/schema/engine/recursiveRef.mjs +25 -0
  2566. package/node_modules/typebox/build/schema/engine/ref.d.mts +6 -0
  2567. package/node_modules/typebox/build/schema/engine/ref.mjs +58 -0
  2568. package/node_modules/typebox/build/schema/engine/required.d.mts +6 -0
  2569. package/node_modules/typebox/build/schema/engine/required.mjs +32 -0
  2570. package/node_modules/typebox/build/schema/engine/schema.d.mts +9 -0
  2571. package/node_modules/typebox/build/schema/engine/schema.mjs +352 -0
  2572. package/node_modules/typebox/build/schema/engine/type.d.mts +6 -0
  2573. package/node_modules/typebox/build/schema/engine/type.mjs +74 -0
  2574. package/node_modules/typebox/build/schema/engine/unevaluatedItems.d.mts +6 -0
  2575. package/node_modules/typebox/build/schema/engine/unevaluatedItems.mjs +51 -0
  2576. package/node_modules/typebox/build/schema/engine/unevaluatedProperties.d.mts +6 -0
  2577. package/node_modules/typebox/build/schema/engine/unevaluatedProperties.mjs +51 -0
  2578. package/node_modules/typebox/build/schema/engine/uniqueItems.d.mts +6 -0
  2579. package/node_modules/typebox/build/schema/engine/uniqueItems.mjs +51 -0
  2580. package/node_modules/typebox/build/schema/errors.d.mts +6 -0
  2581. package/node_modules/typebox/build/schema/errors.mjs +24 -0
  2582. package/node_modules/typebox/build/schema/index.d.mts +3 -0
  2583. package/node_modules/typebox/build/schema/index.mjs +9 -0
  2584. package/node_modules/typebox/build/schema/parse.d.mts +13 -0
  2585. package/node_modules/typebox/build/schema/parse.mjs +27 -0
  2586. package/node_modules/typebox/build/schema/pointer/index.d.mts +2 -0
  2587. package/node_modules/typebox/build/schema/pointer/index.mjs +2 -0
  2588. package/node_modules/typebox/build/schema/pointer/pointer.d.mts +10 -0
  2589. package/node_modules/typebox/build/schema/pointer/pointer.mjs +106 -0
  2590. package/node_modules/typebox/build/schema/pointer/pointer_get.d.mts +9 -0
  2591. package/node_modules/typebox/build/schema/pointer/pointer_get.mjs +2 -0
  2592. package/node_modules/typebox/build/schema/resolve/index.d.mts +1 -0
  2593. package/node_modules/typebox/build/schema/resolve/index.mjs +1 -0
  2594. package/node_modules/typebox/build/schema/resolve/ref.d.mts +3 -0
  2595. package/node_modules/typebox/build/schema/resolve/ref.mjs +146 -0
  2596. package/node_modules/typebox/build/schema/resolve/resolve.d.mts +1 -0
  2597. package/node_modules/typebox/build/schema/resolve/resolve.mjs +1 -0
  2598. package/node_modules/typebox/build/schema/schema.d.mts +10 -0
  2599. package/node_modules/typebox/build/schema/schema.mjs +10 -0
  2600. package/node_modules/typebox/build/schema/static/_canonical.d.mts +7 -0
  2601. package/node_modules/typebox/build/schema/static/_canonical.mjs +2 -0
  2602. package/node_modules/typebox/build/schema/static/_comparer.d.mts +6 -0
  2603. package/node_modules/typebox/build/schema/static/_comparer.mjs +2 -0
  2604. package/node_modules/typebox/build/schema/static/_elements.d.mts +18 -0
  2605. package/node_modules/typebox/build/schema/static/_elements.mjs +2 -0
  2606. package/node_modules/typebox/build/schema/static/additionalProperties.d.mts +7 -0
  2607. package/node_modules/typebox/build/schema/static/additionalProperties.mjs +3 -0
  2608. package/node_modules/typebox/build/schema/static/allOf.d.mts +3 -0
  2609. package/node_modules/typebox/build/schema/static/allOf.mjs +2 -0
  2610. package/node_modules/typebox/build/schema/static/anyOf.d.mts +3 -0
  2611. package/node_modules/typebox/build/schema/static/anyOf.mjs +2 -0
  2612. package/node_modules/typebox/build/schema/static/const.d.mts +1 -0
  2613. package/node_modules/typebox/build/schema/static/const.mjs +2 -0
  2614. package/node_modules/typebox/build/schema/static/enum.d.mts +1 -0
  2615. package/node_modules/typebox/build/schema/static/enum.mjs +2 -0
  2616. package/node_modules/typebox/build/schema/static/if.d.mts +15 -0
  2617. package/node_modules/typebox/build/schema/static/if.mjs +2 -0
  2618. package/node_modules/typebox/build/schema/static/index.d.mts +1 -0
  2619. package/node_modules/typebox/build/schema/static/index.mjs +1 -0
  2620. package/node_modules/typebox/build/schema/static/items.d.mts +7 -0
  2621. package/node_modules/typebox/build/schema/static/items.mjs +2 -0
  2622. package/node_modules/typebox/build/schema/static/oneOf.d.mts +3 -0
  2623. package/node_modules/typebox/build/schema/static/oneOf.mjs +2 -0
  2624. package/node_modules/typebox/build/schema/static/patternProperties.d.mts +7 -0
  2625. package/node_modules/typebox/build/schema/static/patternProperties.mjs +2 -0
  2626. package/node_modules/typebox/build/schema/static/prefixItems.d.mts +3 -0
  2627. package/node_modules/typebox/build/schema/static/prefixItems.mjs +2 -0
  2628. package/node_modules/typebox/build/schema/static/properties.d.mts +32 -0
  2629. package/node_modules/typebox/build/schema/static/properties.mjs +2 -0
  2630. package/node_modules/typebox/build/schema/static/ref.d.mts +8 -0
  2631. package/node_modules/typebox/build/schema/static/ref.mjs +3 -0
  2632. package/node_modules/typebox/build/schema/static/required.d.mts +3 -0
  2633. package/node_modules/typebox/build/schema/static/required.mjs +3 -0
  2634. package/node_modules/typebox/build/schema/static/schema.d.mts +56 -0
  2635. package/node_modules/typebox/build/schema/static/schema.mjs +2 -0
  2636. package/node_modules/typebox/build/schema/static/static.d.mts +4 -0
  2637. package/node_modules/typebox/build/schema/static/static.mjs +3 -0
  2638. package/node_modules/typebox/build/schema/static/type.d.mts +4 -0
  2639. package/node_modules/typebox/build/schema/static/type.mjs +3 -0
  2640. package/node_modules/typebox/build/schema/static/unevaluatedProperties.d.mts +7 -0
  2641. package/node_modules/typebox/build/schema/static/unevaluatedProperties.mjs +3 -0
  2642. package/node_modules/typebox/build/schema/types/_guard.d.mts +10 -0
  2643. package/node_modules/typebox/build/schema/types/_guard.mjs +16 -0
  2644. package/node_modules/typebox/build/schema/types/_refine.d.mts +13 -0
  2645. package/node_modules/typebox/build/schema/types/_refine.mjs +18 -0
  2646. package/node_modules/typebox/build/schema/types/additionalItems.d.mts +9 -0
  2647. package/node_modules/typebox/build/schema/types/additionalItems.mjs +14 -0
  2648. package/node_modules/typebox/build/schema/types/additionalProperties.d.mts +9 -0
  2649. package/node_modules/typebox/build/schema/types/additionalProperties.mjs +14 -0
  2650. package/node_modules/typebox/build/schema/types/allOf.d.mts +9 -0
  2651. package/node_modules/typebox/build/schema/types/allOf.mjs +15 -0
  2652. package/node_modules/typebox/build/schema/types/anchor.d.mts +8 -0
  2653. package/node_modules/typebox/build/schema/types/anchor.mjs +12 -0
  2654. package/node_modules/typebox/build/schema/types/anyOf.d.mts +9 -0
  2655. package/node_modules/typebox/build/schema/types/anyOf.mjs +15 -0
  2656. package/node_modules/typebox/build/schema/types/const.d.mts +9 -0
  2657. package/node_modules/typebox/build/schema/types/const.mjs +12 -0
  2658. package/node_modules/typebox/build/schema/types/contains.d.mts +9 -0
  2659. package/node_modules/typebox/build/schema/types/contains.mjs +14 -0
  2660. package/node_modules/typebox/build/schema/types/contentEncoding.d.mts +9 -0
  2661. package/node_modules/typebox/build/schema/types/contentEncoding.mjs +13 -0
  2662. package/node_modules/typebox/build/schema/types/contentMediaType.d.mts +9 -0
  2663. package/node_modules/typebox/build/schema/types/contentMediaType.mjs +13 -0
  2664. package/node_modules/typebox/build/schema/types/default.d.mts +9 -0
  2665. package/node_modules/typebox/build/schema/types/default.mjs +12 -0
  2666. package/node_modules/typebox/build/schema/types/defs.d.mts +6 -0
  2667. package/node_modules/typebox/build/schema/types/defs.mjs +12 -0
  2668. package/node_modules/typebox/build/schema/types/dependencies.d.mts +11 -0
  2669. package/node_modules/typebox/build/schema/types/dependencies.mjs +16 -0
  2670. package/node_modules/typebox/build/schema/types/dependentRequired.d.mts +9 -0
  2671. package/node_modules/typebox/build/schema/types/dependentRequired.mjs +15 -0
  2672. package/node_modules/typebox/build/schema/types/dependentSchemas.d.mts +9 -0
  2673. package/node_modules/typebox/build/schema/types/dependentSchemas.mjs +15 -0
  2674. package/node_modules/typebox/build/schema/types/dynamicAnchor.d.mts +8 -0
  2675. package/node_modules/typebox/build/schema/types/dynamicAnchor.mjs +12 -0
  2676. package/node_modules/typebox/build/schema/types/dynamicRef.d.mts +8 -0
  2677. package/node_modules/typebox/build/schema/types/dynamicRef.mjs +12 -0
  2678. package/node_modules/typebox/build/schema/types/else.d.mts +9 -0
  2679. package/node_modules/typebox/build/schema/types/else.mjs +14 -0
  2680. package/node_modules/typebox/build/schema/types/enum.d.mts +9 -0
  2681. package/node_modules/typebox/build/schema/types/enum.mjs +13 -0
  2682. package/node_modules/typebox/build/schema/types/exclusiveMaximum.d.mts +9 -0
  2683. package/node_modules/typebox/build/schema/types/exclusiveMaximum.mjs +13 -0
  2684. package/node_modules/typebox/build/schema/types/exclusiveMinimum.d.mts +9 -0
  2685. package/node_modules/typebox/build/schema/types/exclusiveMinimum.mjs +13 -0
  2686. package/node_modules/typebox/build/schema/types/format.d.mts +9 -0
  2687. package/node_modules/typebox/build/schema/types/format.mjs +13 -0
  2688. package/node_modules/typebox/build/schema/types/id.d.mts +9 -0
  2689. package/node_modules/typebox/build/schema/types/id.mjs +13 -0
  2690. package/node_modules/typebox/build/schema/types/if.d.mts +9 -0
  2691. package/node_modules/typebox/build/schema/types/if.mjs +14 -0
  2692. package/node_modules/typebox/build/schema/types/index.d.mts +54 -0
  2693. package/node_modules/typebox/build/schema/types/index.mjs +60 -0
  2694. package/node_modules/typebox/build/schema/types/items.d.mts +19 -0
  2695. package/node_modules/typebox/build/schema/types/items.mjs +26 -0
  2696. package/node_modules/typebox/build/schema/types/maxContains.d.mts +9 -0
  2697. package/node_modules/typebox/build/schema/types/maxContains.mjs +13 -0
  2698. package/node_modules/typebox/build/schema/types/maxItems.d.mts +9 -0
  2699. package/node_modules/typebox/build/schema/types/maxItems.mjs +13 -0
  2700. package/node_modules/typebox/build/schema/types/maxLength.d.mts +9 -0
  2701. package/node_modules/typebox/build/schema/types/maxLength.mjs +13 -0
  2702. package/node_modules/typebox/build/schema/types/maxProperties.d.mts +9 -0
  2703. package/node_modules/typebox/build/schema/types/maxProperties.mjs +13 -0
  2704. package/node_modules/typebox/build/schema/types/maximum.d.mts +9 -0
  2705. package/node_modules/typebox/build/schema/types/maximum.mjs +13 -0
  2706. package/node_modules/typebox/build/schema/types/minContains.d.mts +9 -0
  2707. package/node_modules/typebox/build/schema/types/minContains.mjs +13 -0
  2708. package/node_modules/typebox/build/schema/types/minItems.d.mts +9 -0
  2709. package/node_modules/typebox/build/schema/types/minItems.mjs +13 -0
  2710. package/node_modules/typebox/build/schema/types/minLength.d.mts +9 -0
  2711. package/node_modules/typebox/build/schema/types/minLength.mjs +13 -0
  2712. package/node_modules/typebox/build/schema/types/minProperties.d.mts +9 -0
  2713. package/node_modules/typebox/build/schema/types/minProperties.mjs +13 -0
  2714. package/node_modules/typebox/build/schema/types/minimum.d.mts +9 -0
  2715. package/node_modules/typebox/build/schema/types/minimum.mjs +13 -0
  2716. package/node_modules/typebox/build/schema/types/multipleOf.d.mts +9 -0
  2717. package/node_modules/typebox/build/schema/types/multipleOf.mjs +13 -0
  2718. package/node_modules/typebox/build/schema/types/not.d.mts +9 -0
  2719. package/node_modules/typebox/build/schema/types/not.mjs +14 -0
  2720. package/node_modules/typebox/build/schema/types/oneOf.d.mts +9 -0
  2721. package/node_modules/typebox/build/schema/types/oneOf.mjs +15 -0
  2722. package/node_modules/typebox/build/schema/types/pattern.d.mts +9 -0
  2723. package/node_modules/typebox/build/schema/types/pattern.mjs +14 -0
  2724. package/node_modules/typebox/build/schema/types/patternProperties.d.mts +9 -0
  2725. package/node_modules/typebox/build/schema/types/patternProperties.mjs +15 -0
  2726. package/node_modules/typebox/build/schema/types/prefixItems.d.mts +8 -0
  2727. package/node_modules/typebox/build/schema/types/prefixItems.mjs +14 -0
  2728. package/node_modules/typebox/build/schema/types/properties.d.mts +9 -0
  2729. package/node_modules/typebox/build/schema/types/properties.mjs +15 -0
  2730. package/node_modules/typebox/build/schema/types/propertyNames.d.mts +9 -0
  2731. package/node_modules/typebox/build/schema/types/propertyNames.mjs +15 -0
  2732. package/node_modules/typebox/build/schema/types/recursiveAnchor.d.mts +12 -0
  2733. package/node_modules/typebox/build/schema/types/recursiveAnchor.mjs +19 -0
  2734. package/node_modules/typebox/build/schema/types/recursiveRef.d.mts +8 -0
  2735. package/node_modules/typebox/build/schema/types/recursiveRef.mjs +12 -0
  2736. package/node_modules/typebox/build/schema/types/ref.d.mts +9 -0
  2737. package/node_modules/typebox/build/schema/types/ref.mjs +13 -0
  2738. package/node_modules/typebox/build/schema/types/required.d.mts +9 -0
  2739. package/node_modules/typebox/build/schema/types/required.mjs +14 -0
  2740. package/node_modules/typebox/build/schema/types/schema.d.mts +9 -0
  2741. package/node_modules/typebox/build/schema/types/schema.mjs +14 -0
  2742. package/node_modules/typebox/build/schema/types/then.d.mts +9 -0
  2743. package/node_modules/typebox/build/schema/types/then.mjs +14 -0
  2744. package/node_modules/typebox/build/schema/types/type.d.mts +9 -0
  2745. package/node_modules/typebox/build/schema/types/type.mjs +15 -0
  2746. package/node_modules/typebox/build/schema/types/unevaluatedItems.d.mts +9 -0
  2747. package/node_modules/typebox/build/schema/types/unevaluatedItems.mjs +14 -0
  2748. package/node_modules/typebox/build/schema/types/unevaluatedProperties.d.mts +9 -0
  2749. package/node_modules/typebox/build/schema/types/unevaluatedProperties.mjs +14 -0
  2750. package/node_modules/typebox/build/schema/types/uniqueItems.d.mts +9 -0
  2751. package/node_modules/typebox/build/schema/types/uniqueItems.mjs +13 -0
  2752. package/node_modules/typebox/build/system/arguments/arguments.d.mts +5 -0
  2753. package/node_modules/typebox/build/system/arguments/arguments.mjs +9 -0
  2754. package/node_modules/typebox/build/system/arguments/index.d.mts +1 -0
  2755. package/node_modules/typebox/build/system/arguments/index.mjs +1 -0
  2756. package/node_modules/typebox/build/system/environment/environment.d.mts +1 -0
  2757. package/node_modules/typebox/build/system/environment/environment.mjs +1 -0
  2758. package/node_modules/typebox/build/system/environment/evaluate.d.mts +9 -0
  2759. package/node_modules/typebox/build/system/environment/evaluate.mjs +37 -0
  2760. package/node_modules/typebox/build/system/environment/index.d.mts +1 -0
  2761. package/node_modules/typebox/build/system/environment/index.mjs +1 -0
  2762. package/node_modules/typebox/build/system/hashing/hash.d.mts +4 -0
  2763. package/node_modules/typebox/build/system/hashing/hash.mjs +232 -0
  2764. package/node_modules/typebox/build/system/hashing/index.d.mts +1 -0
  2765. package/node_modules/typebox/build/system/hashing/index.mjs +1 -0
  2766. package/node_modules/typebox/build/system/index.d.mts +4 -0
  2767. package/node_modules/typebox/build/system/index.mjs +4 -0
  2768. package/node_modules/typebox/build/system/locale/_config.d.mts +7 -0
  2769. package/node_modules/typebox/build/system/locale/_config.mjs +15 -0
  2770. package/node_modules/typebox/build/system/locale/_locale.d.mts +40 -0
  2771. package/node_modules/typebox/build/system/locale/_locale.mjs +40 -0
  2772. package/node_modules/typebox/build/system/locale/ar_001.d.mts +3 -0
  2773. package/node_modules/typebox/build/system/locale/ar_001.mjs +41 -0
  2774. package/node_modules/typebox/build/system/locale/bn_BD.d.mts +3 -0
  2775. package/node_modules/typebox/build/system/locale/bn_BD.mjs +41 -0
  2776. package/node_modules/typebox/build/system/locale/cs_CZ.d.mts +3 -0
  2777. package/node_modules/typebox/build/system/locale/cs_CZ.mjs +41 -0
  2778. package/node_modules/typebox/build/system/locale/de_DE.d.mts +3 -0
  2779. package/node_modules/typebox/build/system/locale/de_DE.mjs +41 -0
  2780. package/node_modules/typebox/build/system/locale/el_GR.d.mts +3 -0
  2781. package/node_modules/typebox/build/system/locale/el_GR.mjs +41 -0
  2782. package/node_modules/typebox/build/system/locale/en_US.d.mts +3 -0
  2783. package/node_modules/typebox/build/system/locale/en_US.mjs +40 -0
  2784. package/node_modules/typebox/build/system/locale/es_419.d.mts +3 -0
  2785. package/node_modules/typebox/build/system/locale/es_419.mjs +41 -0
  2786. package/node_modules/typebox/build/system/locale/es_AR.d.mts +3 -0
  2787. package/node_modules/typebox/build/system/locale/es_AR.mjs +41 -0
  2788. package/node_modules/typebox/build/system/locale/es_ES.d.mts +3 -0
  2789. package/node_modules/typebox/build/system/locale/es_ES.mjs +41 -0
  2790. package/node_modules/typebox/build/system/locale/es_MX.d.mts +3 -0
  2791. package/node_modules/typebox/build/system/locale/es_MX.mjs +41 -0
  2792. package/node_modules/typebox/build/system/locale/fa_IR.d.mts +3 -0
  2793. package/node_modules/typebox/build/system/locale/fa_IR.mjs +41 -0
  2794. package/node_modules/typebox/build/system/locale/fil_PH.d.mts +3 -0
  2795. package/node_modules/typebox/build/system/locale/fil_PH.mjs +41 -0
  2796. package/node_modules/typebox/build/system/locale/fr_CA.d.mts +3 -0
  2797. package/node_modules/typebox/build/system/locale/fr_CA.mjs +41 -0
  2798. package/node_modules/typebox/build/system/locale/fr_FR.d.mts +3 -0
  2799. package/node_modules/typebox/build/system/locale/fr_FR.mjs +41 -0
  2800. package/node_modules/typebox/build/system/locale/ha_NG.d.mts +3 -0
  2801. package/node_modules/typebox/build/system/locale/ha_NG.mjs +41 -0
  2802. package/node_modules/typebox/build/system/locale/hi_IN.d.mts +3 -0
  2803. package/node_modules/typebox/build/system/locale/hi_IN.mjs +41 -0
  2804. package/node_modules/typebox/build/system/locale/hu_HU.d.mts +3 -0
  2805. package/node_modules/typebox/build/system/locale/hu_HU.mjs +41 -0
  2806. package/node_modules/typebox/build/system/locale/id_ID.d.mts +3 -0
  2807. package/node_modules/typebox/build/system/locale/id_ID.mjs +41 -0
  2808. package/node_modules/typebox/build/system/locale/index.d.mts +1 -0
  2809. package/node_modules/typebox/build/system/locale/index.mjs +1 -0
  2810. package/node_modules/typebox/build/system/locale/it_IT.d.mts +3 -0
  2811. package/node_modules/typebox/build/system/locale/it_IT.mjs +41 -0
  2812. package/node_modules/typebox/build/system/locale/ja_JP.d.mts +3 -0
  2813. package/node_modules/typebox/build/system/locale/ja_JP.mjs +41 -0
  2814. package/node_modules/typebox/build/system/locale/ko_KR.d.mts +3 -0
  2815. package/node_modules/typebox/build/system/locale/ko_KR.mjs +41 -0
  2816. package/node_modules/typebox/build/system/locale/ms_MY.d.mts +3 -0
  2817. package/node_modules/typebox/build/system/locale/ms_MY.mjs +41 -0
  2818. package/node_modules/typebox/build/system/locale/nl_NL.d.mts +3 -0
  2819. package/node_modules/typebox/build/system/locale/nl_NL.mjs +41 -0
  2820. package/node_modules/typebox/build/system/locale/pl_PL.d.mts +3 -0
  2821. package/node_modules/typebox/build/system/locale/pl_PL.mjs +41 -0
  2822. package/node_modules/typebox/build/system/locale/pt_BR.d.mts +3 -0
  2823. package/node_modules/typebox/build/system/locale/pt_BR.mjs +41 -0
  2824. package/node_modules/typebox/build/system/locale/pt_PT.d.mts +3 -0
  2825. package/node_modules/typebox/build/system/locale/pt_PT.mjs +41 -0
  2826. package/node_modules/typebox/build/system/locale/ro_RO.d.mts +3 -0
  2827. package/node_modules/typebox/build/system/locale/ro_RO.mjs +41 -0
  2828. package/node_modules/typebox/build/system/locale/ru_RU.d.mts +3 -0
  2829. package/node_modules/typebox/build/system/locale/ru_RU.mjs +41 -0
  2830. package/node_modules/typebox/build/system/locale/sv_SE.d.mts +3 -0
  2831. package/node_modules/typebox/build/system/locale/sv_SE.mjs +41 -0
  2832. package/node_modules/typebox/build/system/locale/sw_TZ.d.mts +3 -0
  2833. package/node_modules/typebox/build/system/locale/sw_TZ.mjs +41 -0
  2834. package/node_modules/typebox/build/system/locale/th_TH.d.mts +3 -0
  2835. package/node_modules/typebox/build/system/locale/th_TH.mjs +41 -0
  2836. package/node_modules/typebox/build/system/locale/tr_TR.d.mts +3 -0
  2837. package/node_modules/typebox/build/system/locale/tr_TR.mjs +41 -0
  2838. package/node_modules/typebox/build/system/locale/uk_UA.d.mts +3 -0
  2839. package/node_modules/typebox/build/system/locale/uk_UA.mjs +41 -0
  2840. package/node_modules/typebox/build/system/locale/ur_PK.d.mts +3 -0
  2841. package/node_modules/typebox/build/system/locale/ur_PK.mjs +41 -0
  2842. package/node_modules/typebox/build/system/locale/vi_VN.d.mts +3 -0
  2843. package/node_modules/typebox/build/system/locale/vi_VN.mjs +41 -0
  2844. package/node_modules/typebox/build/system/locale/yo_NG.d.mts +3 -0
  2845. package/node_modules/typebox/build/system/locale/yo_NG.mjs +41 -0
  2846. package/node_modules/typebox/build/system/locale/zh_Hans.d.mts +3 -0
  2847. package/node_modules/typebox/build/system/locale/zh_Hans.mjs +41 -0
  2848. package/node_modules/typebox/build/system/locale/zh_Hant.d.mts +3 -0
  2849. package/node_modules/typebox/build/system/locale/zh_Hant.mjs +41 -0
  2850. package/node_modules/typebox/build/system/memory/assign.d.mts +14 -0
  2851. package/node_modules/typebox/build/system/memory/assign.mjs +11 -0
  2852. package/node_modules/typebox/build/system/memory/clone.d.mts +6 -0
  2853. package/node_modules/typebox/build/system/memory/clone.mjs +63 -0
  2854. package/node_modules/typebox/build/system/memory/create.d.mts +8 -0
  2855. package/node_modules/typebox/build/system/memory/create.mjs +30 -0
  2856. package/node_modules/typebox/build/system/memory/discard.d.mts +4 -0
  2857. package/node_modules/typebox/build/system/memory/discard.mjs +17 -0
  2858. package/node_modules/typebox/build/system/memory/index.d.mts +1 -0
  2859. package/node_modules/typebox/build/system/memory/index.mjs +1 -0
  2860. package/node_modules/typebox/build/system/memory/memory.d.mts +6 -0
  2861. package/node_modules/typebox/build/system/memory/memory.mjs +7 -0
  2862. package/node_modules/typebox/build/system/memory/metrics.d.mts +14 -0
  2863. package/node_modules/typebox/build/system/memory/metrics.mjs +8 -0
  2864. package/node_modules/typebox/build/system/memory/update.d.mts +7 -0
  2865. package/node_modules/typebox/build/system/memory/update.mjs +32 -0
  2866. package/node_modules/typebox/build/system/settings/index.d.mts +1 -0
  2867. package/node_modules/typebox/build/system/settings/index.mjs +1 -0
  2868. package/node_modules/typebox/build/system/settings/settings.d.mts +56 -0
  2869. package/node_modules/typebox/build/system/settings/settings.mjs +32 -0
  2870. package/node_modules/typebox/build/system/system.d.mts +6 -0
  2871. package/node_modules/typebox/build/system/system.mjs +6 -0
  2872. package/node_modules/typebox/build/system/unreachable/index.d.mts +1 -0
  2873. package/node_modules/typebox/build/system/unreachable/index.mjs +1 -0
  2874. package/node_modules/typebox/build/system/unreachable/unreachable.d.mts +3 -0
  2875. package/node_modules/typebox/build/system/unreachable/unreachable.mjs +6 -0
  2876. package/node_modules/typebox/build/type/action/_optional.d.mts +19 -0
  2877. package/node_modules/typebox/build/type/action/_optional.mjs +40 -0
  2878. package/node_modules/typebox/build/type/action/_readonly.d.mts +19 -0
  2879. package/node_modules/typebox/build/type/action/_readonly.mjs +40 -0
  2880. package/node_modules/typebox/build/type/action/awaited.d.mts +15 -0
  2881. package/node_modules/typebox/build/type/action/awaited.mjs +15 -0
  2882. package/node_modules/typebox/build/type/action/capitalize.d.mts +11 -0
  2883. package/node_modules/typebox/build/type/action/capitalize.mjs +11 -0
  2884. package/node_modules/typebox/build/type/action/conditional.d.mts +13 -0
  2885. package/node_modules/typebox/build/type/action/conditional.mjs +12 -0
  2886. package/node_modules/typebox/build/type/action/constructor_parameters.d.mts +11 -0
  2887. package/node_modules/typebox/build/type/action/constructor_parameters.mjs +11 -0
  2888. package/node_modules/typebox/build/type/action/evaluate.d.mts +11 -0
  2889. package/node_modules/typebox/build/type/action/evaluate.mjs +11 -0
  2890. package/node_modules/typebox/build/type/action/exclude.d.mts +11 -0
  2891. package/node_modules/typebox/build/type/action/exclude.mjs +11 -0
  2892. package/node_modules/typebox/build/type/action/extract.d.mts +11 -0
  2893. package/node_modules/typebox/build/type/action/extract.mjs +11 -0
  2894. package/node_modules/typebox/build/type/action/index.d.mts +27 -0
  2895. package/node_modules/typebox/build/type/action/index.mjs +27 -0
  2896. package/node_modules/typebox/build/type/action/indexed.d.mts +14 -0
  2897. package/node_modules/typebox/build/type/action/indexed.mjs +14 -0
  2898. package/node_modules/typebox/build/type/action/instance_type.d.mts +11 -0
  2899. package/node_modules/typebox/build/type/action/instance_type.mjs +11 -0
  2900. package/node_modules/typebox/build/type/action/interface.d.mts +14 -0
  2901. package/node_modules/typebox/build/type/action/interface.mjs +22 -0
  2902. package/node_modules/typebox/build/type/action/keyof.d.mts +11 -0
  2903. package/node_modules/typebox/build/type/action/keyof.mjs +11 -0
  2904. package/node_modules/typebox/build/type/action/lowercase.d.mts +11 -0
  2905. package/node_modules/typebox/build/type/action/lowercase.mjs +11 -0
  2906. package/node_modules/typebox/build/type/action/mapped.d.mts +14 -0
  2907. package/node_modules/typebox/build/type/action/mapped.mjs +12 -0
  2908. package/node_modules/typebox/build/type/action/module.d.mts +12 -0
  2909. package/node_modules/typebox/build/type/action/module.mjs +12 -0
  2910. package/node_modules/typebox/build/type/action/non_nullable.d.mts +11 -0
  2911. package/node_modules/typebox/build/type/action/non_nullable.mjs +11 -0
  2912. package/node_modules/typebox/build/type/action/omit.d.mts +14 -0
  2913. package/node_modules/typebox/build/type/action/omit.mjs +14 -0
  2914. package/node_modules/typebox/build/type/action/options.d.mts +11 -0
  2915. package/node_modules/typebox/build/type/action/options.mjs +11 -0
  2916. package/node_modules/typebox/build/type/action/parameters.d.mts +11 -0
  2917. package/node_modules/typebox/build/type/action/parameters.mjs +11 -0
  2918. package/node_modules/typebox/build/type/action/partial.d.mts +11 -0
  2919. package/node_modules/typebox/build/type/action/partial.mjs +11 -0
  2920. package/node_modules/typebox/build/type/action/pick.d.mts +14 -0
  2921. package/node_modules/typebox/build/type/action/pick.mjs +14 -0
  2922. package/node_modules/typebox/build/type/action/readonly_object.d.mts +16 -0
  2923. package/node_modules/typebox/build/type/action/readonly_object.mjs +16 -0
  2924. package/node_modules/typebox/build/type/action/required.d.mts +11 -0
  2925. package/node_modules/typebox/build/type/action/required.mjs +11 -0
  2926. package/node_modules/typebox/build/type/action/return_type.d.mts +11 -0
  2927. package/node_modules/typebox/build/type/action/return_type.mjs +11 -0
  2928. package/node_modules/typebox/build/type/action/uncapitalize.d.mts +11 -0
  2929. package/node_modules/typebox/build/type/action/uncapitalize.mjs +11 -0
  2930. package/node_modules/typebox/build/type/action/uppercase.d.mts +11 -0
  2931. package/node_modules/typebox/build/type/action/uppercase.mjs +11 -0
  2932. package/node_modules/typebox/build/type/engine/awaited/index.d.mts +1 -0
  2933. package/node_modules/typebox/build/type/engine/awaited/index.mjs +1 -0
  2934. package/node_modules/typebox/build/type/engine/awaited/instantiate.d.mts +11 -0
  2935. package/node_modules/typebox/build/type/engine/awaited/instantiate.mjs +20 -0
  2936. package/node_modules/typebox/build/type/engine/call/distribute_arguments.d.mts +15 -0
  2937. package/node_modules/typebox/build/type/engine/call/distribute_arguments.mjs +53 -0
  2938. package/node_modules/typebox/build/type/engine/call/instantiate.d.mts +23 -0
  2939. package/node_modules/typebox/build/type/engine/call/instantiate.mjs +48 -0
  2940. package/node_modules/typebox/build/type/engine/call/resolve_arguments.d.mts +13 -0
  2941. package/node_modules/typebox/build/type/engine/call/resolve_arguments.mjs +33 -0
  2942. package/node_modules/typebox/build/type/engine/call/resolve_target.d.mts +25 -0
  2943. package/node_modules/typebox/build/type/engine/call/resolve_target.mjs +27 -0
  2944. package/node_modules/typebox/build/type/engine/conditional/index.d.mts +1 -0
  2945. package/node_modules/typebox/build/type/engine/conditional/index.mjs +1 -0
  2946. package/node_modules/typebox/build/type/engine/conditional/instantiate.d.mts +12 -0
  2947. package/node_modules/typebox/build/type/engine/conditional/instantiate.mjs +23 -0
  2948. package/node_modules/typebox/build/type/engine/constructor_parameters/index.d.mts +1 -0
  2949. package/node_modules/typebox/build/type/engine/constructor_parameters/index.mjs +1 -0
  2950. package/node_modules/typebox/build/type/engine/constructor_parameters/instantiate.d.mts +15 -0
  2951. package/node_modules/typebox/build/type/engine/constructor_parameters/instantiate.mjs +24 -0
  2952. package/node_modules/typebox/build/type/engine/cyclic/candidates.d.mts +9 -0
  2953. package/node_modules/typebox/build/type/engine/cyclic/candidates.mjs +19 -0
  2954. package/node_modules/typebox/build/type/engine/cyclic/check.d.mts +24 -0
  2955. package/node_modules/typebox/build/type/engine/cyclic/check.mjs +51 -0
  2956. package/node_modules/typebox/build/type/engine/cyclic/dependencies.d.mts +25 -0
  2957. package/node_modules/typebox/build/type/engine/cyclic/dependencies.mjs +53 -0
  2958. package/node_modules/typebox/build/type/engine/cyclic/extends.d.mts +31 -0
  2959. package/node_modules/typebox/build/type/engine/cyclic/extends.mjs +53 -0
  2960. package/node_modules/typebox/build/type/engine/cyclic/index.d.mts +6 -0
  2961. package/node_modules/typebox/build/type/engine/cyclic/index.mjs +6 -0
  2962. package/node_modules/typebox/build/type/engine/cyclic/instantiate.d.mts +20 -0
  2963. package/node_modules/typebox/build/type/engine/cyclic/instantiate.mjs +30 -0
  2964. package/node_modules/typebox/build/type/engine/cyclic/target.d.mts +10 -0
  2965. package/node_modules/typebox/build/type/engine/cyclic/target.mjs +16 -0
  2966. package/node_modules/typebox/build/type/engine/enum/enum_to_union.d.mts +14 -0
  2967. package/node_modules/typebox/build/type/engine/enum/enum_to_union.mjs +24 -0
  2968. package/node_modules/typebox/build/type/engine/enum/index.d.mts +2 -0
  2969. package/node_modules/typebox/build/type/engine/enum/index.mjs +2 -0
  2970. package/node_modules/typebox/build/type/engine/enum/typescript_enum_to_enum_values.d.mts +8 -0
  2971. package/node_modules/typebox/build/type/engine/enum/typescript_enum_to_enum_values.mjs +9 -0
  2972. package/node_modules/typebox/build/type/engine/evaluate/broaden.d.mts +16 -0
  2973. package/node_modules/typebox/build/type/engine/evaluate/broaden.mjs +47 -0
  2974. package/node_modules/typebox/build/type/engine/evaluate/compare.d.mts +15 -0
  2975. package/node_modules/typebox/build/type/engine/evaluate/compare.mjs +22 -0
  2976. package/node_modules/typebox/build/type/engine/evaluate/composite.d.mts +30 -0
  2977. package/node_modules/typebox/build/type/engine/evaluate/composite.mjs +63 -0
  2978. package/node_modules/typebox/build/type/engine/evaluate/distribute.d.mts +27 -0
  2979. package/node_modules/typebox/build/type/engine/evaluate/distribute.mjs +45 -0
  2980. package/node_modules/typebox/build/type/engine/evaluate/evaluate.d.mts +14 -0
  2981. package/node_modules/typebox/build/type/engine/evaluate/evaluate.mjs +27 -0
  2982. package/node_modules/typebox/build/type/engine/evaluate/flatten.d.mts +6 -0
  2983. package/node_modules/typebox/build/type/engine/evaluate/flatten.mjs +11 -0
  2984. package/node_modules/typebox/build/type/engine/evaluate/index.d.mts +8 -0
  2985. package/node_modules/typebox/build/type/engine/evaluate/index.mjs +8 -0
  2986. package/node_modules/typebox/build/type/engine/evaluate/instantiate.d.mts +8 -0
  2987. package/node_modules/typebox/build/type/engine/evaluate/instantiate.mjs +12 -0
  2988. package/node_modules/typebox/build/type/engine/evaluate/narrow.d.mts +5 -0
  2989. package/node_modules/typebox/build/type/engine/evaluate/narrow.mjs +11 -0
  2990. package/node_modules/typebox/build/type/engine/exclude/index.d.mts +1 -0
  2991. package/node_modules/typebox/build/type/engine/exclude/index.mjs +1 -0
  2992. package/node_modules/typebox/build/type/engine/exclude/instantiate.d.mts +9 -0
  2993. package/node_modules/typebox/build/type/engine/exclude/instantiate.mjs +16 -0
  2994. package/node_modules/typebox/build/type/engine/exclude/operation.d.mts +11 -0
  2995. package/node_modules/typebox/build/type/engine/exclude/operation.mjs +24 -0
  2996. package/node_modules/typebox/build/type/engine/extract/index.d.mts +1 -0
  2997. package/node_modules/typebox/build/type/engine/extract/index.mjs +1 -0
  2998. package/node_modules/typebox/build/type/engine/extract/instantiate.d.mts +9 -0
  2999. package/node_modules/typebox/build/type/engine/extract/instantiate.mjs +16 -0
  3000. package/node_modules/typebox/build/type/engine/extract/operation.d.mts +11 -0
  3001. package/node_modules/typebox/build/type/engine/extract/operation.mjs +24 -0
  3002. package/node_modules/typebox/build/type/engine/helpers/index.d.mts +3 -0
  3003. package/node_modules/typebox/build/type/engine/helpers/index.mjs +3 -0
  3004. package/node_modules/typebox/build/type/engine/helpers/keys.d.mts +3 -0
  3005. package/node_modules/typebox/build/type/engine/helpers/keys.mjs +8 -0
  3006. package/node_modules/typebox/build/type/engine/helpers/keys_to_indexer.d.mts +7 -0
  3007. package/node_modules/typebox/build/type/engine/helpers/keys_to_indexer.mjs +15 -0
  3008. package/node_modules/typebox/build/type/engine/helpers/union.d.mts +7 -0
  3009. package/node_modules/typebox/build/type/engine/helpers/union.mjs +3 -0
  3010. package/node_modules/typebox/build/type/engine/index.d.mts +31 -0
  3011. package/node_modules/typebox/build/type/engine/index.mjs +37 -0
  3012. package/node_modules/typebox/build/type/engine/indexable/from_cyclic.d.mts +6 -0
  3013. package/node_modules/typebox/build/type/engine/indexable/from_cyclic.mjs +8 -0
  3014. package/node_modules/typebox/build/type/engine/indexable/from_enum.d.mts +6 -0
  3015. package/node_modules/typebox/build/type/engine/indexable/from_enum.mjs +8 -0
  3016. package/node_modules/typebox/build/type/engine/indexable/from_intersect.d.mts +5 -0
  3017. package/node_modules/typebox/build/type/engine/indexable/from_intersect.mjs +8 -0
  3018. package/node_modules/typebox/build/type/engine/indexable/from_literal.d.mts +3 -0
  3019. package/node_modules/typebox/build/type/engine/indexable/from_literal.mjs +5 -0
  3020. package/node_modules/typebox/build/type/engine/indexable/from_template_literal.d.mts +5 -0
  3021. package/node_modules/typebox/build/type/engine/indexable/from_template_literal.mjs +8 -0
  3022. package/node_modules/typebox/build/type/engine/indexable/from_type.d.mts +17 -0
  3023. package/node_modules/typebox/build/type/engine/indexable/from_type.mjs +22 -0
  3024. package/node_modules/typebox/build/type/engine/indexable/from_union.d.mts +4 -0
  3025. package/node_modules/typebox/build/type/engine/indexable/from_union.mjs +7 -0
  3026. package/node_modules/typebox/build/type/engine/indexable/to_indexable.d.mts +9 -0
  3027. package/node_modules/typebox/build/type/engine/indexable/to_indexable.mjs +14 -0
  3028. package/node_modules/typebox/build/type/engine/indexable/to_indexable_keys.d.mts +10 -0
  3029. package/node_modules/typebox/build/type/engine/indexable/to_indexable_keys.mjs +12 -0
  3030. package/node_modules/typebox/build/type/engine/indexed/array_indexer.d.mts +12 -0
  3031. package/node_modules/typebox/build/type/engine/indexed/array_indexer.mjs +18 -0
  3032. package/node_modules/typebox/build/type/engine/indexed/from_array.d.mts +15 -0
  3033. package/node_modules/typebox/build/type/engine/indexed/from_array.mjs +35 -0
  3034. package/node_modules/typebox/build/type/engine/indexed/from_object.d.mts +16 -0
  3035. package/node_modules/typebox/build/type/engine/indexed/from_object.mjs +40 -0
  3036. package/node_modules/typebox/build/type/engine/indexed/from_tuple.d.mts +13 -0
  3037. package/node_modules/typebox/build/type/engine/indexed/from_tuple.mjs +35 -0
  3038. package/node_modules/typebox/build/type/engine/indexed/from_type.d.mts +11 -0
  3039. package/node_modules/typebox/build/type/engine/indexed/from_type.mjs +14 -0
  3040. package/node_modules/typebox/build/type/engine/indexed/index.d.mts +1 -0
  3041. package/node_modules/typebox/build/type/engine/indexed/index.mjs +1 -0
  3042. package/node_modules/typebox/build/type/engine/indexed/instantiate.d.mts +15 -0
  3043. package/node_modules/typebox/build/type/engine/indexed/instantiate.mjs +25 -0
  3044. package/node_modules/typebox/build/type/engine/instance_type/index.d.mts +1 -0
  3045. package/node_modules/typebox/build/type/engine/instance_type/index.mjs +1 -0
  3046. package/node_modules/typebox/build/type/engine/instance_type/instantiate.d.mts +12 -0
  3047. package/node_modules/typebox/build/type/engine/instance_type/instantiate.mjs +21 -0
  3048. package/node_modules/typebox/build/type/engine/instantiate.d.mts +165 -0
  3049. package/node_modules/typebox/build/type/engine/instantiate.mjs +159 -0
  3050. package/node_modules/typebox/build/type/engine/interface/index.d.mts +1 -0
  3051. package/node_modules/typebox/build/type/engine/interface/index.mjs +1 -0
  3052. package/node_modules/typebox/build/type/engine/interface/instantiate.d.mts +18 -0
  3053. package/node_modules/typebox/build/type/engine/interface/instantiate.mjs +23 -0
  3054. package/node_modules/typebox/build/type/engine/intrinsics/from_literal.d.mts +5 -0
  3055. package/node_modules/typebox/build/type/engine/intrinsics/from_literal.mjs +9 -0
  3056. package/node_modules/typebox/build/type/engine/intrinsics/from_template_literal.d.mts +6 -0
  3057. package/node_modules/typebox/build/type/engine/intrinsics/from_template_literal.mjs +8 -0
  3058. package/node_modules/typebox/build/type/engine/intrinsics/from_type.d.mts +10 -0
  3059. package/node_modules/typebox/build/type/engine/intrinsics/from_type.mjs +13 -0
  3060. package/node_modules/typebox/build/type/engine/intrinsics/from_union.d.mts +6 -0
  3061. package/node_modules/typebox/build/type/engine/intrinsics/from_union.mjs +7 -0
  3062. package/node_modules/typebox/build/type/engine/intrinsics/index.d.mts +1 -0
  3063. package/node_modules/typebox/build/type/engine/intrinsics/index.mjs +1 -0
  3064. package/node_modules/typebox/build/type/engine/intrinsics/instantiate.d.mts +38 -0
  3065. package/node_modules/typebox/build/type/engine/intrinsics/instantiate.mjs +52 -0
  3066. package/node_modules/typebox/build/type/engine/intrinsics/mapping.d.mts +9 -0
  3067. package/node_modules/typebox/build/type/engine/intrinsics/mapping.mjs +4 -0
  3068. package/node_modules/typebox/build/type/engine/keyof/from_any.d.mts +6 -0
  3069. package/node_modules/typebox/build/type/engine/keyof/from_any.mjs +8 -0
  3070. package/node_modules/typebox/build/type/engine/keyof/from_array.d.mts +4 -0
  3071. package/node_modules/typebox/build/type/engine/keyof/from_array.mjs +5 -0
  3072. package/node_modules/typebox/build/type/engine/keyof/from_object.d.mts +10 -0
  3073. package/node_modules/typebox/build/type/engine/keyof/from_object.mjs +20 -0
  3074. package/node_modules/typebox/build/type/engine/keyof/from_record.d.mts +4 -0
  3075. package/node_modules/typebox/build/type/engine/keyof/from_record.mjs +5 -0
  3076. package/node_modules/typebox/build/type/engine/keyof/from_tuple.d.mts +5 -0
  3077. package/node_modules/typebox/build/type/engine/keyof/from_tuple.mjs +7 -0
  3078. package/node_modules/typebox/build/type/engine/keyof/from_type.d.mts +15 -0
  3079. package/node_modules/typebox/build/type/engine/keyof/from_type.mjs +23 -0
  3080. package/node_modules/typebox/build/type/engine/keyof/index.d.mts +1 -0
  3081. package/node_modules/typebox/build/type/engine/keyof/index.mjs +1 -0
  3082. package/node_modules/typebox/build/type/engine/keyof/instantiate.d.mts +15 -0
  3083. package/node_modules/typebox/build/type/engine/keyof/instantiate.mjs +25 -0
  3084. package/node_modules/typebox/build/type/engine/mapped/index.d.mts +1 -0
  3085. package/node_modules/typebox/build/type/engine/mapped/index.mjs +1 -0
  3086. package/node_modules/typebox/build/type/engine/mapped/instantiate.d.mts +10 -0
  3087. package/node_modules/typebox/build/type/engine/mapped/instantiate.mjs +15 -0
  3088. package/node_modules/typebox/build/type/engine/mapped/mapped_operation.d.mts +22 -0
  3089. package/node_modules/typebox/build/type/engine/mapped/mapped_operation.mjs +42 -0
  3090. package/node_modules/typebox/build/type/engine/mapped/mapped_variants.d.mts +16 -0
  3091. package/node_modules/typebox/build/type/engine/mapped/mapped_variants.mjs +34 -0
  3092. package/node_modules/typebox/build/type/engine/module/index.d.mts +1 -0
  3093. package/node_modules/typebox/build/type/engine/module/index.mjs +1 -0
  3094. package/node_modules/typebox/build/type/engine/module/instantiate.d.mts +21 -0
  3095. package/node_modules/typebox/build/type/engine/module/instantiate.mjs +34 -0
  3096. package/node_modules/typebox/build/type/engine/non_nullable/index.d.mts +1 -0
  3097. package/node_modules/typebox/build/type/engine/non_nullable/index.mjs +1 -0
  3098. package/node_modules/typebox/build/type/engine/non_nullable/instantiate.d.mts +14 -0
  3099. package/node_modules/typebox/build/type/engine/non_nullable/instantiate.mjs +22 -0
  3100. package/node_modules/typebox/build/type/engine/object/collapse.d.mts +12 -0
  3101. package/node_modules/typebox/build/type/engine/object/collapse.mjs +14 -0
  3102. package/node_modules/typebox/build/type/engine/object/from_cyclic.d.mts +6 -0
  3103. package/node_modules/typebox/build/type/engine/object/from_cyclic.mjs +8 -0
  3104. package/node_modules/typebox/build/type/engine/object/from_intersect.d.mts +17 -0
  3105. package/node_modules/typebox/build/type/engine/object/from_intersect.mjs +22 -0
  3106. package/node_modules/typebox/build/type/engine/object/from_object.d.mts +3 -0
  3107. package/node_modules/typebox/build/type/engine/object/from_object.mjs +4 -0
  3108. package/node_modules/typebox/build/type/engine/object/from_tuple.d.mts +6 -0
  3109. package/node_modules/typebox/build/type/engine/object/from_tuple.mjs +9 -0
  3110. package/node_modules/typebox/build/type/engine/object/from_type.d.mts +14 -0
  3111. package/node_modules/typebox/build/type/engine/object/from_type.mjs +20 -0
  3112. package/node_modules/typebox/build/type/engine/object/from_union.d.mts +12 -0
  3113. package/node_modules/typebox/build/type/engine/object/from_union.mjs +19 -0
  3114. package/node_modules/typebox/build/type/engine/object/index.d.mts +1 -0
  3115. package/node_modules/typebox/build/type/engine/object/index.mjs +1 -0
  3116. package/node_modules/typebox/build/type/engine/omit/from_type.d.mts +12 -0
  3117. package/node_modules/typebox/build/type/engine/omit/from_type.mjs +18 -0
  3118. package/node_modules/typebox/build/type/engine/omit/index.d.mts +1 -0
  3119. package/node_modules/typebox/build/type/engine/omit/index.mjs +1 -0
  3120. package/node_modules/typebox/build/type/engine/omit/instantiate.d.mts +9 -0
  3121. package/node_modules/typebox/build/type/engine/omit/instantiate.mjs +16 -0
  3122. package/node_modules/typebox/build/type/engine/options/index.d.mts +1 -0
  3123. package/node_modules/typebox/build/type/engine/options/index.mjs +1 -0
  3124. package/node_modules/typebox/build/type/engine/options/instantiate.d.mts +8 -0
  3125. package/node_modules/typebox/build/type/engine/options/instantiate.mjs +14 -0
  3126. package/node_modules/typebox/build/type/engine/parameters/index.d.mts +1 -0
  3127. package/node_modules/typebox/build/type/engine/parameters/index.mjs +1 -0
  3128. package/node_modules/typebox/build/type/engine/parameters/instantiate.d.mts +15 -0
  3129. package/node_modules/typebox/build/type/engine/parameters/instantiate.mjs +24 -0
  3130. package/node_modules/typebox/build/type/engine/partial/from_cyclic.d.mts +10 -0
  3131. package/node_modules/typebox/build/type/engine/partial/from_cyclic.mjs +11 -0
  3132. package/node_modules/typebox/build/type/engine/partial/from_intersect.d.mts +5 -0
  3133. package/node_modules/typebox/build/type/engine/partial/from_intersect.mjs +7 -0
  3134. package/node_modules/typebox/build/type/engine/partial/from_object.d.mts +8 -0
  3135. package/node_modules/typebox/build/type/engine/partial/from_object.mjs +11 -0
  3136. package/node_modules/typebox/build/type/engine/partial/from_type.d.mts +12 -0
  3137. package/node_modules/typebox/build/type/engine/partial/from_type.mjs +17 -0
  3138. package/node_modules/typebox/build/type/engine/partial/from_union.d.mts +5 -0
  3139. package/node_modules/typebox/build/type/engine/partial/from_union.mjs +7 -0
  3140. package/node_modules/typebox/build/type/engine/partial/index.d.mts +1 -0
  3141. package/node_modules/typebox/build/type/engine/partial/index.mjs +1 -0
  3142. package/node_modules/typebox/build/type/engine/partial/instantiate.d.mts +9 -0
  3143. package/node_modules/typebox/build/type/engine/partial/instantiate.mjs +15 -0
  3144. package/node_modules/typebox/build/type/engine/patterns/index.d.mts +2 -0
  3145. package/node_modules/typebox/build/type/engine/patterns/index.mjs +2 -0
  3146. package/node_modules/typebox/build/type/engine/patterns/pattern.d.mts +6 -0
  3147. package/node_modules/typebox/build/type/engine/patterns/pattern.mjs +11 -0
  3148. package/node_modules/typebox/build/type/engine/patterns/template.d.mts +7 -0
  3149. package/node_modules/typebox/build/type/engine/patterns/template.mjs +20 -0
  3150. package/node_modules/typebox/build/type/engine/pick/from_type.d.mts +13 -0
  3151. package/node_modules/typebox/build/type/engine/pick/from_type.mjs +20 -0
  3152. package/node_modules/typebox/build/type/engine/pick/index.d.mts +1 -0
  3153. package/node_modules/typebox/build/type/engine/pick/index.mjs +1 -0
  3154. package/node_modules/typebox/build/type/engine/pick/instantiate.d.mts +9 -0
  3155. package/node_modules/typebox/build/type/engine/pick/instantiate.mjs +16 -0
  3156. package/node_modules/typebox/build/type/engine/readonly_object/from_array.d.mts +5 -0
  3157. package/node_modules/typebox/build/type/engine/readonly_object/from_array.mjs +7 -0
  3158. package/node_modules/typebox/build/type/engine/readonly_object/from_cyclic.d.mts +10 -0
  3159. package/node_modules/typebox/build/type/engine/readonly_object/from_cyclic.mjs +11 -0
  3160. package/node_modules/typebox/build/type/engine/readonly_object/from_intersect.d.mts +5 -0
  3161. package/node_modules/typebox/build/type/engine/readonly_object/from_intersect.mjs +7 -0
  3162. package/node_modules/typebox/build/type/engine/readonly_object/from_object.d.mts +8 -0
  3163. package/node_modules/typebox/build/type/engine/readonly_object/from_object.mjs +11 -0
  3164. package/node_modules/typebox/build/type/engine/readonly_object/from_tuple.d.mts +5 -0
  3165. package/node_modules/typebox/build/type/engine/readonly_object/from_tuple.mjs +7 -0
  3166. package/node_modules/typebox/build/type/engine/readonly_object/from_type.d.mts +16 -0
  3167. package/node_modules/typebox/build/type/engine/readonly_object/from_type.mjs +22 -0
  3168. package/node_modules/typebox/build/type/engine/readonly_object/from_union.d.mts +5 -0
  3169. package/node_modules/typebox/build/type/engine/readonly_object/from_union.mjs +7 -0
  3170. package/node_modules/typebox/build/type/engine/readonly_object/index.d.mts +1 -0
  3171. package/node_modules/typebox/build/type/engine/readonly_object/index.mjs +1 -0
  3172. package/node_modules/typebox/build/type/engine/readonly_object/instantiate.d.mts +9 -0
  3173. package/node_modules/typebox/build/type/engine/readonly_object/instantiate.mjs +15 -0
  3174. package/node_modules/typebox/build/type/engine/record/from_key.d.mts +24 -0
  3175. package/node_modules/typebox/build/type/engine/record/from_key.mjs +40 -0
  3176. package/node_modules/typebox/build/type/engine/record/from_key_any.d.mts +4 -0
  3177. package/node_modules/typebox/build/type/engine/record/from_key_any.mjs +6 -0
  3178. package/node_modules/typebox/build/type/engine/record/from_key_boolean.d.mts +7 -0
  3179. package/node_modules/typebox/build/type/engine/record/from_key_boolean.mjs +5 -0
  3180. package/node_modules/typebox/build/type/engine/record/from_key_enum.d.mts +6 -0
  3181. package/node_modules/typebox/build/type/engine/record/from_key_enum.mjs +8 -0
  3182. package/node_modules/typebox/build/type/engine/record/from_key_integer.d.mts +5 -0
  3183. package/node_modules/typebox/build/type/engine/record/from_key_integer.mjs +7 -0
  3184. package/node_modules/typebox/build/type/engine/record/from_key_intersect.d.mts +5 -0
  3185. package/node_modules/typebox/build/type/engine/record/from_key_intersect.mjs +8 -0
  3186. package/node_modules/typebox/build/type/engine/record/from_key_literal.d.mts +11 -0
  3187. package/node_modules/typebox/build/type/engine/record/from_key_literal.mjs +10 -0
  3188. package/node_modules/typebox/build/type/engine/record/from_key_number.d.mts +5 -0
  3189. package/node_modules/typebox/build/type/engine/record/from_key_number.mjs +7 -0
  3190. package/node_modules/typebox/build/type/engine/record/from_key_string.d.mts +5 -0
  3191. package/node_modules/typebox/build/type/engine/record/from_key_string.mjs +12 -0
  3192. package/node_modules/typebox/build/type/engine/record/from_key_template_literal.d.mts +8 -0
  3193. package/node_modules/typebox/build/type/engine/record/from_key_template_literal.mjs +12 -0
  3194. package/node_modules/typebox/build/type/engine/record/from_key_union.d.mts +20 -0
  3195. package/node_modules/typebox/build/type/engine/record/from_key_union.mjs +39 -0
  3196. package/node_modules/typebox/build/type/engine/record/index.d.mts +1 -0
  3197. package/node_modules/typebox/build/type/engine/record/index.mjs +1 -0
  3198. package/node_modules/typebox/build/type/engine/record/instantiate.d.mts +9 -0
  3199. package/node_modules/typebox/build/type/engine/record/instantiate.mjs +17 -0
  3200. package/node_modules/typebox/build/type/engine/record/record_create.d.mts +3 -0
  3201. package/node_modules/typebox/build/type/engine/record/record_create.mjs +7 -0
  3202. package/node_modules/typebox/build/type/engine/ref/index.d.mts +1 -0
  3203. package/node_modules/typebox/build/type/engine/ref/index.mjs +1 -0
  3204. package/node_modules/typebox/build/type/engine/ref/instantiate.d.mts +6 -0
  3205. package/node_modules/typebox/build/type/engine/ref/instantiate.mjs +10 -0
  3206. package/node_modules/typebox/build/type/engine/required/from_cyclic.d.mts +10 -0
  3207. package/node_modules/typebox/build/type/engine/required/from_cyclic.mjs +11 -0
  3208. package/node_modules/typebox/build/type/engine/required/from_intersect.d.mts +5 -0
  3209. package/node_modules/typebox/build/type/engine/required/from_intersect.mjs +7 -0
  3210. package/node_modules/typebox/build/type/engine/required/from_object.d.mts +8 -0
  3211. package/node_modules/typebox/build/type/engine/required/from_object.mjs +11 -0
  3212. package/node_modules/typebox/build/type/engine/required/from_type.d.mts +12 -0
  3213. package/node_modules/typebox/build/type/engine/required/from_type.mjs +17 -0
  3214. package/node_modules/typebox/build/type/engine/required/from_union.d.mts +5 -0
  3215. package/node_modules/typebox/build/type/engine/required/from_union.mjs +7 -0
  3216. package/node_modules/typebox/build/type/engine/required/index.d.mts +1 -0
  3217. package/node_modules/typebox/build/type/engine/required/index.mjs +1 -0
  3218. package/node_modules/typebox/build/type/engine/required/instantiate.d.mts +9 -0
  3219. package/node_modules/typebox/build/type/engine/required/instantiate.mjs +15 -0
  3220. package/node_modules/typebox/build/type/engine/rest/index.d.mts +1 -0
  3221. package/node_modules/typebox/build/type/engine/rest/index.mjs +1 -0
  3222. package/node_modules/typebox/build/type/engine/rest/spread.d.mts +12 -0
  3223. package/node_modules/typebox/build/type/engine/rest/spread.mjs +19 -0
  3224. package/node_modules/typebox/build/type/engine/return_type/index.d.mts +1 -0
  3225. package/node_modules/typebox/build/type/engine/return_type/index.mjs +1 -0
  3226. package/node_modules/typebox/build/type/engine/return_type/instantiate.d.mts +12 -0
  3227. package/node_modules/typebox/build/type/engine/return_type/instantiate.mjs +21 -0
  3228. package/node_modules/typebox/build/type/engine/template_literal/create.d.mts +1 -0
  3229. package/node_modules/typebox/build/type/engine/template_literal/create.mjs +5 -0
  3230. package/node_modules/typebox/build/type/engine/template_literal/decode.d.mts +30 -0
  3231. package/node_modules/typebox/build/type/engine/template_literal/decode.mjs +81 -0
  3232. package/node_modules/typebox/build/type/engine/template_literal/encode.d.mts +33 -0
  3233. package/node_modules/typebox/build/type/engine/template_literal/encode.mjs +81 -0
  3234. package/node_modules/typebox/build/type/engine/template_literal/index.d.mts +6 -0
  3235. package/node_modules/typebox/build/type/engine/template_literal/index.mjs +6 -0
  3236. package/node_modules/typebox/build/type/engine/template_literal/instantiate.d.mts +9 -0
  3237. package/node_modules/typebox/build/type/engine/template_literal/instantiate.mjs +15 -0
  3238. package/node_modules/typebox/build/type/engine/template_literal/is_finite.d.mts +12 -0
  3239. package/node_modules/typebox/build/type/engine/template_literal/is_finite.mjs +26 -0
  3240. package/node_modules/typebox/build/type/engine/template_literal/is_pattern.d.mts +6 -0
  3241. package/node_modules/typebox/build/type/engine/template_literal/is_pattern.mjs +9 -0
  3242. package/node_modules/typebox/build/type/engine/template_literal/static.d.mts +18 -0
  3243. package/node_modules/typebox/build/type/engine/template_literal/static.mjs +2 -0
  3244. package/node_modules/typebox/build/type/engine/this/expand_this.d.mts +19 -0
  3245. package/node_modules/typebox/build/type/engine/this/expand_this.mjs +32 -0
  3246. package/node_modules/typebox/build/type/engine/tuple/to_object.d.mts +12 -0
  3247. package/node_modules/typebox/build/type/engine/tuple/to_object.mjs +14 -0
  3248. package/node_modules/typebox/build/type/extends/any.d.mts +9 -0
  3249. package/node_modules/typebox/build/type/extends/any.mjs +12 -0
  3250. package/node_modules/typebox/build/type/extends/array.d.mts +20 -0
  3251. package/node_modules/typebox/build/type/extends/array.mjs +21 -0
  3252. package/node_modules/typebox/build/type/extends/async_iterator.d.mts +7 -0
  3253. package/node_modules/typebox/build/type/extends/async_iterator.mjs +9 -0
  3254. package/node_modules/typebox/build/type/extends/bigint.d.mts +7 -0
  3255. package/node_modules/typebox/build/type/extends/bigint.mjs +9 -0
  3256. package/node_modules/typebox/build/type/extends/boolean.d.mts +7 -0
  3257. package/node_modules/typebox/build/type/extends/boolean.mjs +9 -0
  3258. package/node_modules/typebox/build/type/extends/constructor.d.mts +10 -0
  3259. package/node_modules/typebox/build/type/extends/constructor.mjs +17 -0
  3260. package/node_modules/typebox/build/type/extends/enum.d.mts +7 -0
  3261. package/node_modules/typebox/build/type/extends/enum.mjs +6 -0
  3262. package/node_modules/typebox/build/type/extends/extends.d.mts +13 -0
  3263. package/node_modules/typebox/build/type/extends/extends.mjs +17 -0
  3264. package/node_modules/typebox/build/type/extends/extends_left.d.mts +55 -0
  3265. package/node_modules/typebox/build/type/extends/extends_left.mjs +83 -0
  3266. package/node_modules/typebox/build/type/extends/extends_right.d.mts +25 -0
  3267. package/node_modules/typebox/build/type/extends/extends_right.mjs +44 -0
  3268. package/node_modules/typebox/build/type/extends/function.d.mts +10 -0
  3269. package/node_modules/typebox/build/type/extends/function.mjs +17 -0
  3270. package/node_modules/typebox/build/type/extends/index.d.mts +2 -0
  3271. package/node_modules/typebox/build/type/extends/index.mjs +2 -0
  3272. package/node_modules/typebox/build/type/extends/inference.d.mts +34 -0
  3273. package/node_modules/typebox/build/type/extends/inference.mjs +62 -0
  3274. package/node_modules/typebox/build/type/extends/integer.d.mts +8 -0
  3275. package/node_modules/typebox/build/type/extends/integer.mjs +10 -0
  3276. package/node_modules/typebox/build/type/extends/intersect.d.mts +6 -0
  3277. package/node_modules/typebox/build/type/extends/intersect.mjs +15 -0
  3278. package/node_modules/typebox/build/type/extends/iterator.d.mts +7 -0
  3279. package/node_modules/typebox/build/type/extends/iterator.mjs +9 -0
  3280. package/node_modules/typebox/build/type/extends/literal.d.mts +18 -0
  3281. package/node_modules/typebox/build/type/extends/literal.mjs +44 -0
  3282. package/node_modules/typebox/build/type/extends/never.d.mts +8 -0
  3283. package/node_modules/typebox/build/type/extends/never.mjs +9 -0
  3284. package/node_modules/typebox/build/type/extends/null.d.mts +7 -0
  3285. package/node_modules/typebox/build/type/extends/null.mjs +9 -0
  3286. package/node_modules/typebox/build/type/extends/number.d.mts +7 -0
  3287. package/node_modules/typebox/build/type/extends/number.mjs +9 -0
  3288. package/node_modules/typebox/build/type/extends/object.d.mts +25 -0
  3289. package/node_modules/typebox/build/type/extends/object.mjs +87 -0
  3290. package/node_modules/typebox/build/type/extends/parameters.d.mts +15 -0
  3291. package/node_modules/typebox/build/type/extends/parameters.mjs +28 -0
  3292. package/node_modules/typebox/build/type/extends/promise.d.mts +7 -0
  3293. package/node_modules/typebox/build/type/extends/promise.mjs +9 -0
  3294. package/node_modules/typebox/build/type/extends/result.d.mts +24 -0
  3295. package/node_modules/typebox/build/type/extends/result.mjs +36 -0
  3296. package/node_modules/typebox/build/type/extends/return_type.d.mts +7 -0
  3297. package/node_modules/typebox/build/type/extends/return_type.mjs +9 -0
  3298. package/node_modules/typebox/build/type/extends/string.d.mts +7 -0
  3299. package/node_modules/typebox/build/type/extends/string.mjs +9 -0
  3300. package/node_modules/typebox/build/type/extends/symbol.d.mts +7 -0
  3301. package/node_modules/typebox/build/type/extends/symbol.mjs +9 -0
  3302. package/node_modules/typebox/build/type/extends/template_literal.d.mts +6 -0
  3303. package/node_modules/typebox/build/type/extends/template_literal.mjs +7 -0
  3304. package/node_modules/typebox/build/type/extends/tuple.d.mts +25 -0
  3305. package/node_modules/typebox/build/type/extends/tuple.mjs +60 -0
  3306. package/node_modules/typebox/build/type/extends/undefined.d.mts +8 -0
  3307. package/node_modules/typebox/build/type/extends/undefined.mjs +10 -0
  3308. package/node_modules/typebox/build/type/extends/union.d.mts +11 -0
  3309. package/node_modules/typebox/build/type/extends/union.mjs +24 -0
  3310. package/node_modules/typebox/build/type/extends/unknown.d.mts +9 -0
  3311. package/node_modules/typebox/build/type/extends/unknown.mjs +12 -0
  3312. package/node_modules/typebox/build/type/extends/void.d.mts +7 -0
  3313. package/node_modules/typebox/build/type/extends/void.mjs +9 -0
  3314. package/node_modules/typebox/build/type/index.d.mts +5 -0
  3315. package/node_modules/typebox/build/type/index.mjs +5 -0
  3316. package/node_modules/typebox/build/type/script/index.d.mts +1 -0
  3317. package/node_modules/typebox/build/type/script/index.mjs +1 -0
  3318. package/node_modules/typebox/build/type/script/mapping.d.mts +365 -0
  3319. package/node_modules/typebox/build/type/script/mapping.mjs +532 -0
  3320. package/node_modules/typebox/build/type/script/parser.d.mts +260 -0
  3321. package/node_modules/typebox/build/type/script/parser.mjs +135 -0
  3322. package/node_modules/typebox/build/type/script/script.d.mts +17 -0
  3323. package/node_modules/typebox/build/type/script/script.mjs +21 -0
  3324. package/node_modules/typebox/build/type/script/token/bigint.d.mts +8 -0
  3325. package/node_modules/typebox/build/type/script/token/bigint.mjs +14 -0
  3326. package/node_modules/typebox/build/type/script/token/const.d.mts +11 -0
  3327. package/node_modules/typebox/build/type/script/token/const.mjs +18 -0
  3328. package/node_modules/typebox/build/type/script/token/ident.d.mts +16 -0
  3329. package/node_modules/typebox/build/type/script/token/ident.mjs +26 -0
  3330. package/node_modules/typebox/build/type/script/token/index.d.mts +12 -0
  3331. package/node_modules/typebox/build/type/script/token/index.mjs +12 -0
  3332. package/node_modules/typebox/build/type/script/token/integer.d.mts +11 -0
  3333. package/node_modules/typebox/build/type/script/token/integer.mjs +19 -0
  3334. package/node_modules/typebox/build/type/script/token/internal/char.d.mts +75 -0
  3335. package/node_modules/typebox/build/type/script/token/internal/char.mjs +26 -0
  3336. package/node_modules/typebox/build/type/script/token/internal/guard.d.mts +1 -0
  3337. package/node_modules/typebox/build/type/script/token/internal/guard.mjs +15 -0
  3338. package/node_modules/typebox/build/type/script/token/internal/many.d.mts +7 -0
  3339. package/node_modules/typebox/build/type/script/token/internal/many.mjs +14 -0
  3340. package/node_modules/typebox/build/type/script/token/internal/match.d.mts +6 -0
  3341. package/node_modules/typebox/build/type/script/token/internal/match.mjs +11 -0
  3342. package/node_modules/typebox/build/type/script/token/internal/optional.d.mts +5 -0
  3343. package/node_modules/typebox/build/type/script/token/internal/optional.mjs +9 -0
  3344. package/node_modules/typebox/build/type/script/token/internal/take.d.mts +6 -0
  3345. package/node_modules/typebox/build/type/script/token/internal/take.mjs +30 -0
  3346. package/node_modules/typebox/build/type/script/token/internal/trim.d.mts +19 -0
  3347. package/node_modules/typebox/build/type/script/token/internal/trim.mjs +34 -0
  3348. package/node_modules/typebox/build/type/script/token/number.d.mts +11 -0
  3349. package/node_modules/typebox/build/type/script/token/number.mjs +19 -0
  3350. package/node_modules/typebox/build/type/script/token/rest.d.mts +4 -0
  3351. package/node_modules/typebox/build/type/script/token/rest.mjs +9 -0
  3352. package/node_modules/typebox/build/type/script/token/span.d.mts +11 -0
  3353. package/node_modules/typebox/build/type/script/token/span.mjs +24 -0
  3354. package/node_modules/typebox/build/type/script/token/string.d.mts +11 -0
  3355. package/node_modules/typebox/build/type/script/token/string.mjs +20 -0
  3356. package/node_modules/typebox/build/type/script/token/unsigned_integer.d.mts +16 -0
  3357. package/node_modules/typebox/build/type/script/token/unsigned_integer.mjs +26 -0
  3358. package/node_modules/typebox/build/type/script/token/unsigned_number.d.mts +17 -0
  3359. package/node_modules/typebox/build/type/script/token/unsigned_number.mjs +38 -0
  3360. package/node_modules/typebox/build/type/script/token/until.d.mts +7 -0
  3361. package/node_modules/typebox/build/type/script/token/until.mjs +21 -0
  3362. package/node_modules/typebox/build/type/script/token/until_1.d.mts +5 -0
  3363. package/node_modules/typebox/build/type/script/token/until_1.mjs +12 -0
  3364. package/node_modules/typebox/build/type/types/_codec.d.mts +30 -0
  3365. package/node_modules/typebox/build/type/types/_codec.mjs +61 -0
  3366. package/node_modules/typebox/build/type/types/_immutable.d.mts +16 -0
  3367. package/node_modules/typebox/build/type/types/_immutable.mjs +26 -0
  3368. package/node_modules/typebox/build/type/types/_optional.d.mts +16 -0
  3369. package/node_modules/typebox/build/type/types/_optional.mjs +27 -0
  3370. package/node_modules/typebox/build/type/types/_readonly.d.mts +16 -0
  3371. package/node_modules/typebox/build/type/types/_readonly.mjs +26 -0
  3372. package/node_modules/typebox/build/type/types/_refine.d.mts +26 -0
  3373. package/node_modules/typebox/build/type/types/_refine.mjs +37 -0
  3374. package/node_modules/typebox/build/type/types/any.d.mts +10 -0
  3375. package/node_modules/typebox/build/type/types/any.mjs +18 -0
  3376. package/node_modules/typebox/build/type/types/array.d.mts +18 -0
  3377. package/node_modules/typebox/build/type/types/array.mjs +25 -0
  3378. package/node_modules/typebox/build/type/types/async_iterator.d.mts +20 -0
  3379. package/node_modules/typebox/build/type/types/async_iterator.mjs +28 -0
  3380. package/node_modules/typebox/build/type/types/base.d.mts +50 -0
  3381. package/node_modules/typebox/build/type/types/base.mjs +84 -0
  3382. package/node_modules/typebox/build/type/types/bigint.d.mts +12 -0
  3383. package/node_modules/typebox/build/type/types/bigint.mjs +21 -0
  3384. package/node_modules/typebox/build/type/types/boolean.d.mts +11 -0
  3385. package/node_modules/typebox/build/type/types/boolean.mjs +17 -0
  3386. package/node_modules/typebox/build/type/types/call.d.mts +16 -0
  3387. package/node_modules/typebox/build/type/types/call.mjs +22 -0
  3388. package/node_modules/typebox/build/type/types/constructor.d.mts +18 -0
  3389. package/node_modules/typebox/build/type/types/constructor.mjs +24 -0
  3390. package/node_modules/typebox/build/type/types/cyclic.d.mts +16 -0
  3391. package/node_modules/typebox/build/type/types/cyclic.mjs +29 -0
  3392. package/node_modules/typebox/build/type/types/deferred.d.mts +12 -0
  3393. package/node_modules/typebox/build/type/types/deferred.mjs +16 -0
  3394. package/node_modules/typebox/build/type/types/enum.d.mts +16 -0
  3395. package/node_modules/typebox/build/type/types/enum.mjs +17 -0
  3396. package/node_modules/typebox/build/type/types/function.d.mts +21 -0
  3397. package/node_modules/typebox/build/type/types/function.mjs +25 -0
  3398. package/node_modules/typebox/build/type/types/generic.d.mts +13 -0
  3399. package/node_modules/typebox/build/type/types/generic.mjs +17 -0
  3400. package/node_modules/typebox/build/type/types/identifier.d.mts +11 -0
  3401. package/node_modules/typebox/build/type/types/identifier.mjs +17 -0
  3402. package/node_modules/typebox/build/type/types/index.d.mts +48 -0
  3403. package/node_modules/typebox/build/type/types/index.mjs +54 -0
  3404. package/node_modules/typebox/build/type/types/infer.d.mts +15 -0
  3405. package/node_modules/typebox/build/type/types/infer.mjs +20 -0
  3406. package/node_modules/typebox/build/type/types/integer.d.mts +12 -0
  3407. package/node_modules/typebox/build/type/types/integer.mjs +21 -0
  3408. package/node_modules/typebox/build/type/types/intersect.d.mts +15 -0
  3409. package/node_modules/typebox/build/type/types/intersect.mjs +24 -0
  3410. package/node_modules/typebox/build/type/types/iterator.d.mts +20 -0
  3411. package/node_modules/typebox/build/type/types/iterator.mjs +28 -0
  3412. package/node_modules/typebox/build/type/types/literal.d.mts +31 -0
  3413. package/node_modules/typebox/build/type/types/literal.mjs +62 -0
  3414. package/node_modules/typebox/build/type/types/never.d.mts +12 -0
  3415. package/node_modules/typebox/build/type/types/never.mjs +22 -0
  3416. package/node_modules/typebox/build/type/types/null.d.mts +11 -0
  3417. package/node_modules/typebox/build/type/types/null.mjs +17 -0
  3418. package/node_modules/typebox/build/type/types/number.d.mts +12 -0
  3419. package/node_modules/typebox/build/type/types/number.mjs +21 -0
  3420. package/node_modules/typebox/build/type/types/object.d.mts +18 -0
  3421. package/node_modules/typebox/build/type/types/object.mjs +28 -0
  3422. package/node_modules/typebox/build/type/types/parameter.d.mts +17 -0
  3423. package/node_modules/typebox/build/type/types/parameter.mjs +21 -0
  3424. package/node_modules/typebox/build/type/types/promise.d.mts +21 -0
  3425. package/node_modules/typebox/build/type/types/promise.mjs +29 -0
  3426. package/node_modules/typebox/build/type/types/properties.d.mts +43 -0
  3427. package/node_modules/typebox/build/type/types/properties.mjs +15 -0
  3428. package/node_modules/typebox/build/type/types/record.d.mts +46 -0
  3429. package/node_modules/typebox/build/type/types/record.mjs +60 -0
  3430. package/node_modules/typebox/build/type/types/ref.d.mts +19 -0
  3431. package/node_modules/typebox/build/type/types/ref.mjs +18 -0
  3432. package/node_modules/typebox/build/type/types/rest.d.mts +11 -0
  3433. package/node_modules/typebox/build/type/types/rest.mjs +17 -0
  3434. package/node_modules/typebox/build/type/types/schema.d.mts +176 -0
  3435. package/node_modules/typebox/build/type/types/schema.mjs +15 -0
  3436. package/node_modules/typebox/build/type/types/static.d.mts +48 -0
  3437. package/node_modules/typebox/build/type/types/static.mjs +3 -0
  3438. package/node_modules/typebox/build/type/types/string.d.mts +12 -0
  3439. package/node_modules/typebox/build/type/types/string.mjs +22 -0
  3440. package/node_modules/typebox/build/type/types/symbol.d.mts +11 -0
  3441. package/node_modules/typebox/build/type/types/symbol.mjs +17 -0
  3442. package/node_modules/typebox/build/type/types/template_literal.d.mts +28 -0
  3443. package/node_modules/typebox/build/type/types/template_literal.mjs +37 -0
  3444. package/node_modules/typebox/build/type/types/this.d.mts +14 -0
  3445. package/node_modules/typebox/build/type/types/this.mjs +17 -0
  3446. package/node_modules/typebox/build/type/types/tuple.d.mts +38 -0
  3447. package/node_modules/typebox/build/type/types/tuple.mjs +25 -0
  3448. package/node_modules/typebox/build/type/types/undefined.d.mts +11 -0
  3449. package/node_modules/typebox/build/type/types/undefined.mjs +17 -0
  3450. package/node_modules/typebox/build/type/types/union.d.mts +15 -0
  3451. package/node_modules/typebox/build/type/types/union.mjs +24 -0
  3452. package/node_modules/typebox/build/type/types/unknown.d.mts +10 -0
  3453. package/node_modules/typebox/build/type/types/unknown.mjs +17 -0
  3454. package/node_modules/typebox/build/type/types/unsafe.d.mts +10 -0
  3455. package/node_modules/typebox/build/type/types/unsafe.mjs +20 -0
  3456. package/node_modules/typebox/build/type/types/void.d.mts +11 -0
  3457. package/node_modules/typebox/build/type/types/void.mjs +17 -0
  3458. package/node_modules/typebox/build/typebox.d.mts +73 -0
  3459. package/node_modules/typebox/build/typebox.mjs +89 -0
  3460. package/node_modules/typebox/build/value/assert/assert.d.mts +14 -0
  3461. package/node_modules/typebox/build/value/assert/assert.mjs +28 -0
  3462. package/node_modules/typebox/build/value/assert/index.d.mts +1 -0
  3463. package/node_modules/typebox/build/value/assert/index.mjs +1 -0
  3464. package/node_modules/typebox/build/value/check/check.d.mts +5 -0
  3465. package/node_modules/typebox/build/value/check/check.mjs +11 -0
  3466. package/node_modules/typebox/build/value/check/index.d.mts +1 -0
  3467. package/node_modules/typebox/build/value/check/index.mjs +1 -0
  3468. package/node_modules/typebox/build/value/clean/additional.d.mts +2 -0
  3469. package/node_modules/typebox/build/value/clean/additional.mjs +6 -0
  3470. package/node_modules/typebox/build/value/clean/clean.d.mts +15 -0
  3471. package/node_modules/typebox/build/value/clean/clean.mjs +15 -0
  3472. package/node_modules/typebox/build/value/clean/from_array.d.mts +2 -0
  3473. package/node_modules/typebox/build/value/clean/from_array.mjs +8 -0
  3474. package/node_modules/typebox/build/value/clean/from_base.d.mts +2 -0
  3475. package/node_modules/typebox/build/value/clean/from_base.mjs +4 -0
  3476. package/node_modules/typebox/build/value/clean/from_cyclic.d.mts +2 -0
  3477. package/node_modules/typebox/build/value/clean/from_cyclic.mjs +6 -0
  3478. package/node_modules/typebox/build/value/clean/from_intersect.d.mts +2 -0
  3479. package/node_modules/typebox/build/value/clean/from_intersect.mjs +26 -0
  3480. package/node_modules/typebox/build/value/clean/from_object.d.mts +2 -0
  3481. package/node_modules/typebox/build/value/clean/from_object.mjs +31 -0
  3482. package/node_modules/typebox/build/value/clean/from_record.d.mts +2 -0
  3483. package/node_modules/typebox/build/value/clean/from_record.mjs +32 -0
  3484. package/node_modules/typebox/build/value/clean/from_ref.d.mts +2 -0
  3485. package/node_modules/typebox/build/value/clean/from_ref.mjs +8 -0
  3486. package/node_modules/typebox/build/value/clean/from_tuple.d.mts +2 -0
  3487. package/node_modules/typebox/build/value/clean/from_tuple.mjs +14 -0
  3488. package/node_modules/typebox/build/value/clean/from_type.d.mts +2 -0
  3489. package/node_modules/typebox/build/value/clean/from_type.mjs +23 -0
  3490. package/node_modules/typebox/build/value/clean/from_union.d.mts +2 -0
  3491. package/node_modules/typebox/build/value/clean/from_union.mjs +13 -0
  3492. package/node_modules/typebox/build/value/clean/index.d.mts +1 -0
  3493. package/node_modules/typebox/build/value/clean/index.mjs +1 -0
  3494. package/node_modules/typebox/build/value/clone/clone.d.mts +5 -0
  3495. package/node_modules/typebox/build/value/clone/clone.mjs +83 -0
  3496. package/node_modules/typebox/build/value/clone/index.d.mts +1 -0
  3497. package/node_modules/typebox/build/value/clone/index.mjs +1 -0
  3498. package/node_modules/typebox/build/value/codec/callback.d.mts +2 -0
  3499. package/node_modules/typebox/build/value/codec/callback.mjs +25 -0
  3500. package/node_modules/typebox/build/value/codec/decode.d.mts +12 -0
  3501. package/node_modules/typebox/build/value/codec/decode.mjs +50 -0
  3502. package/node_modules/typebox/build/value/codec/encode.d.mts +12 -0
  3503. package/node_modules/typebox/build/value/codec/encode.mjs +50 -0
  3504. package/node_modules/typebox/build/value/codec/from_array.d.mts +2 -0
  3505. package/node_modules/typebox/build/value/codec/from_array.mjs +38 -0
  3506. package/node_modules/typebox/build/value/codec/from_cyclic.d.mts +2 -0
  3507. package/node_modules/typebox/build/value/codec/from_cyclic.mjs +8 -0
  3508. package/node_modules/typebox/build/value/codec/from_intersect.d.mts +2 -0
  3509. package/node_modules/typebox/build/value/codec/from_intersect.mjs +58 -0
  3510. package/node_modules/typebox/build/value/codec/from_object.d.mts +2 -0
  3511. package/node_modules/typebox/build/value/codec/from_object.mjs +45 -0
  3512. package/node_modules/typebox/build/value/codec/from_record.d.mts +2 -0
  3513. package/node_modules/typebox/build/value/codec/from_record.mjs +44 -0
  3514. package/node_modules/typebox/build/value/codec/from_ref.d.mts +2 -0
  3515. package/node_modules/typebox/build/value/codec/from_ref.mjs +31 -0
  3516. package/node_modules/typebox/build/value/codec/from_tuple.d.mts +2 -0
  3517. package/node_modules/typebox/build/value/codec/from_tuple.mjs +35 -0
  3518. package/node_modules/typebox/build/value/codec/from_type.d.mts +2 -0
  3519. package/node_modules/typebox/build/value/codec/from_type.mjs +22 -0
  3520. package/node_modules/typebox/build/value/codec/from_union.d.mts +2 -0
  3521. package/node_modules/typebox/build/value/codec/from_union.mjs +40 -0
  3522. package/node_modules/typebox/build/value/codec/has.d.mts +5 -0
  3523. package/node_modules/typebox/build/value/codec/has.mjs +93 -0
  3524. package/node_modules/typebox/build/value/codec/index.d.mts +3 -0
  3525. package/node_modules/typebox/build/value/codec/index.mjs +3 -0
  3526. package/node_modules/typebox/build/value/convert/convert.d.mts +13 -0
  3527. package/node_modules/typebox/build/value/convert/convert.mjs +15 -0
  3528. package/node_modules/typebox/build/value/convert/from_additional.d.mts +6 -0
  3529. package/node_modules/typebox/build/value/convert/from_additional.mjs +18 -0
  3530. package/node_modules/typebox/build/value/convert/from_array.d.mts +2 -0
  3531. package/node_modules/typebox/build/value/convert/from_array.mjs +7 -0
  3532. package/node_modules/typebox/build/value/convert/from_base.d.mts +2 -0
  3533. package/node_modules/typebox/build/value/convert/from_base.mjs +4 -0
  3534. package/node_modules/typebox/build/value/convert/from_bigint.d.mts +2 -0
  3535. package/node_modules/typebox/build/value/convert/from_bigint.mjs +6 -0
  3536. package/node_modules/typebox/build/value/convert/from_boolean.d.mts +2 -0
  3537. package/node_modules/typebox/build/value/convert/from_boolean.mjs +6 -0
  3538. package/node_modules/typebox/build/value/convert/from_cyclic.d.mts +2 -0
  3539. package/node_modules/typebox/build/value/convert/from_cyclic.mjs +6 -0
  3540. package/node_modules/typebox/build/value/convert/from_enum.d.mts +2 -0
  3541. package/node_modules/typebox/build/value/convert/from_enum.mjs +7 -0
  3542. package/node_modules/typebox/build/value/convert/from_integer.d.mts +2 -0
  3543. package/node_modules/typebox/build/value/convert/from_integer.mjs +6 -0
  3544. package/node_modules/typebox/build/value/convert/from_intersect.d.mts +2 -0
  3545. package/node_modules/typebox/build/value/convert/from_intersect.mjs +8 -0
  3546. package/node_modules/typebox/build/value/convert/from_literal.d.mts +2 -0
  3547. package/node_modules/typebox/build/value/convert/from_literal.mjs +44 -0
  3548. package/node_modules/typebox/build/value/convert/from_null.d.mts +2 -0
  3549. package/node_modules/typebox/build/value/convert/from_null.mjs +6 -0
  3550. package/node_modules/typebox/build/value/convert/from_number.d.mts +2 -0
  3551. package/node_modules/typebox/build/value/convert/from_number.mjs +6 -0
  3552. package/node_modules/typebox/build/value/convert/from_object.d.mts +2 -0
  3553. package/node_modules/typebox/build/value/convert/from_object.mjs +28 -0
  3554. package/node_modules/typebox/build/value/convert/from_record.d.mts +2 -0
  3555. package/node_modules/typebox/build/value/convert/from_record.mjs +23 -0
  3556. package/node_modules/typebox/build/value/convert/from_ref.d.mts +2 -0
  3557. package/node_modules/typebox/build/value/convert/from_ref.mjs +8 -0
  3558. package/node_modules/typebox/build/value/convert/from_string.d.mts +2 -0
  3559. package/node_modules/typebox/build/value/convert/from_string.mjs +6 -0
  3560. package/node_modules/typebox/build/value/convert/from_template_literal.d.mts +2 -0
  3561. package/node_modules/typebox/build/value/convert/from_template_literal.mjs +7 -0
  3562. package/node_modules/typebox/build/value/convert/from_tuple.d.mts +2 -0
  3563. package/node_modules/typebox/build/value/convert/from_tuple.mjs +11 -0
  3564. package/node_modules/typebox/build/value/convert/from_type.d.mts +2 -0
  3565. package/node_modules/typebox/build/value/convert/from_type.mjs +45 -0
  3566. package/node_modules/typebox/build/value/convert/from_undefined.d.mts +2 -0
  3567. package/node_modules/typebox/build/value/convert/from_undefined.mjs +6 -0
  3568. package/node_modules/typebox/build/value/convert/from_union.d.mts +2 -0
  3569. package/node_modules/typebox/build/value/convert/from_union.mjs +13 -0
  3570. package/node_modules/typebox/build/value/convert/from_void.d.mts +2 -0
  3571. package/node_modules/typebox/build/value/convert/from_void.mjs +6 -0
  3572. package/node_modules/typebox/build/value/convert/index.d.mts +1 -0
  3573. package/node_modules/typebox/build/value/convert/index.mjs +1 -0
  3574. package/node_modules/typebox/build/value/convert/try/index.d.mts +1 -0
  3575. package/node_modules/typebox/build/value/convert/try/index.mjs +1 -0
  3576. package/node_modules/typebox/build/value/convert/try/try.d.mts +8 -0
  3577. package/node_modules/typebox/build/value/convert/try/try.mjs +8 -0
  3578. package/node_modules/typebox/build/value/convert/try/try_array.d.mts +2 -0
  3579. package/node_modules/typebox/build/value/convert/try/try_array.mjs +6 -0
  3580. package/node_modules/typebox/build/value/convert/try/try_bigint.d.mts +2 -0
  3581. package/node_modules/typebox/build/value/convert/try/try_bigint.mjs +45 -0
  3582. package/node_modules/typebox/build/value/convert/try/try_boolean.d.mts +2 -0
  3583. package/node_modules/typebox/build/value/convert/try/try_boolean.mjs +41 -0
  3584. package/node_modules/typebox/build/value/convert/try/try_null.d.mts +2 -0
  3585. package/node_modules/typebox/build/value/convert/try/try_null.mjs +44 -0
  3586. package/node_modules/typebox/build/value/convert/try/try_number.d.mts +2 -0
  3587. package/node_modules/typebox/build/value/convert/try/try_number.mjs +44 -0
  3588. package/node_modules/typebox/build/value/convert/try/try_result.d.mts +8 -0
  3589. package/node_modules/typebox/build/value/convert/try/try_result.mjs +17 -0
  3590. package/node_modules/typebox/build/value/convert/try/try_string.d.mts +2 -0
  3591. package/node_modules/typebox/build/value/convert/try/try_string.mjs +12 -0
  3592. package/node_modules/typebox/build/value/convert/try/try_undefined.d.mts +2 -0
  3593. package/node_modules/typebox/build/value/convert/try/try_undefined.mjs +44 -0
  3594. package/node_modules/typebox/build/value/create/create.d.mts +5 -0
  3595. package/node_modules/typebox/build/value/create/create.mjs +11 -0
  3596. package/node_modules/typebox/build/value/create/error.d.mts +5 -0
  3597. package/node_modules/typebox/build/value/create/error.mjs +7 -0
  3598. package/node_modules/typebox/build/value/create/from_array.d.mts +2 -0
  3599. package/node_modules/typebox/build/value/create/from_array.mjs +10 -0
  3600. package/node_modules/typebox/build/value/create/from_async_iterator.d.mts +2 -0
  3601. package/node_modules/typebox/build/value/create/from_async_iterator.mjs +5 -0
  3602. package/node_modules/typebox/build/value/create/from_base.d.mts +2 -0
  3603. package/node_modules/typebox/build/value/create/from_base.mjs +4 -0
  3604. package/node_modules/typebox/build/value/create/from_bigint.d.mts +2 -0
  3605. package/node_modules/typebox/build/value/create/from_bigint.mjs +7 -0
  3606. package/node_modules/typebox/build/value/create/from_boolean.d.mts +2 -0
  3607. package/node_modules/typebox/build/value/create/from_boolean.mjs +4 -0
  3608. package/node_modules/typebox/build/value/create/from_constructor.d.mts +2 -0
  3609. package/node_modules/typebox/build/value/create/from_constructor.mjs +10 -0
  3610. package/node_modules/typebox/build/value/create/from_cyclic.d.mts +2 -0
  3611. package/node_modules/typebox/build/value/create/from_cyclic.mjs +6 -0
  3612. package/node_modules/typebox/build/value/create/from_default.d.mts +3 -0
  3613. package/node_modules/typebox/build/value/create/from_default.mjs +10 -0
  3614. package/node_modules/typebox/build/value/create/from_enum.d.mts +2 -0
  3615. package/node_modules/typebox/build/value/create/from_enum.mjs +6 -0
  3616. package/node_modules/typebox/build/value/create/from_function.d.mts +2 -0
  3617. package/node_modules/typebox/build/value/create/from_function.mjs +6 -0
  3618. package/node_modules/typebox/build/value/create/from_integer.d.mts +2 -0
  3619. package/node_modules/typebox/build/value/create/from_integer.mjs +8 -0
  3620. package/node_modules/typebox/build/value/create/from_intersect.d.mts +2 -0
  3621. package/node_modules/typebox/build/value/create/from_intersect.mjs +8 -0
  3622. package/node_modules/typebox/build/value/create/from_iterator.d.mts +2 -0
  3623. package/node_modules/typebox/build/value/create/from_iterator.mjs +5 -0
  3624. package/node_modules/typebox/build/value/create/from_literal.d.mts +2 -0
  3625. package/node_modules/typebox/build/value/create/from_literal.mjs +4 -0
  3626. package/node_modules/typebox/build/value/create/from_never.d.mts +2 -0
  3627. package/node_modules/typebox/build/value/create/from_never.mjs +5 -0
  3628. package/node_modules/typebox/build/value/create/from_null.d.mts +2 -0
  3629. package/node_modules/typebox/build/value/create/from_null.mjs +4 -0
  3630. package/node_modules/typebox/build/value/create/from_number.d.mts +2 -0
  3631. package/node_modules/typebox/build/value/create/from_number.mjs +8 -0
  3632. package/node_modules/typebox/build/value/create/from_object.d.mts +2 -0
  3633. package/node_modules/typebox/build/value/create/from_object.mjs +9 -0
  3634. package/node_modules/typebox/build/value/create/from_promise.d.mts +2 -0
  3635. package/node_modules/typebox/build/value/create/from_promise.mjs +5 -0
  3636. package/node_modules/typebox/build/value/create/from_record.d.mts +2 -0
  3637. package/node_modules/typebox/build/value/create/from_record.mjs +8 -0
  3638. package/node_modules/typebox/build/value/create/from_ref.d.mts +2 -0
  3639. package/node_modules/typebox/build/value/create/from_ref.mjs +9 -0
  3640. package/node_modules/typebox/build/value/create/from_string.d.mts +2 -0
  3641. package/node_modules/typebox/build/value/create/from_string.mjs +9 -0
  3642. package/node_modules/typebox/build/value/create/from_symbol.d.mts +2 -0
  3643. package/node_modules/typebox/build/value/create/from_symbol.mjs +4 -0
  3644. package/node_modules/typebox/build/value/create/from_template_literal.d.mts +2 -0
  3645. package/node_modules/typebox/build/value/create/from_template_literal.mjs +11 -0
  3646. package/node_modules/typebox/build/value/create/from_tuple.d.mts +2 -0
  3647. package/node_modules/typebox/build/value/create/from_tuple.mjs +5 -0
  3648. package/node_modules/typebox/build/value/create/from_type.d.mts +2 -0
  3649. package/node_modules/typebox/build/value/create/from_type.mjs +69 -0
  3650. package/node_modules/typebox/build/value/create/from_undefined.d.mts +2 -0
  3651. package/node_modules/typebox/build/value/create/from_undefined.mjs +4 -0
  3652. package/node_modules/typebox/build/value/create/from_union.d.mts +2 -0
  3653. package/node_modules/typebox/build/value/create/from_union.mjs +9 -0
  3654. package/node_modules/typebox/build/value/create/from_void.d.mts +2 -0
  3655. package/node_modules/typebox/build/value/create/from_void.mjs +4 -0
  3656. package/node_modules/typebox/build/value/create/index.d.mts +2 -0
  3657. package/node_modules/typebox/build/value/create/index.mjs +2 -0
  3658. package/node_modules/typebox/build/value/default/default.d.mts +13 -0
  3659. package/node_modules/typebox/build/value/default/default.mjs +15 -0
  3660. package/node_modules/typebox/build/value/default/from_array.d.mts +2 -0
  3661. package/node_modules/typebox/build/value/default/from_array.mjs +12 -0
  3662. package/node_modules/typebox/build/value/default/from_base.d.mts +2 -0
  3663. package/node_modules/typebox/build/value/default/from_base.mjs +5 -0
  3664. package/node_modules/typebox/build/value/default/from_cyclic.d.mts +2 -0
  3665. package/node_modules/typebox/build/value/default/from_cyclic.mjs +7 -0
  3666. package/node_modules/typebox/build/value/default/from_default.d.mts +3 -0
  3667. package/node_modules/typebox/build/value/default/from_default.mjs +13 -0
  3668. package/node_modules/typebox/build/value/default/from_intersect.d.mts +2 -0
  3669. package/node_modules/typebox/build/value/default/from_intersect.mjs +9 -0
  3670. package/node_modules/typebox/build/value/default/from_object.d.mts +2 -0
  3671. package/node_modules/typebox/build/value/default/from_object.mjs +32 -0
  3672. package/node_modules/typebox/build/value/default/from_record.d.mts +2 -0
  3673. package/node_modules/typebox/build/value/default/from_record.mjs +26 -0
  3674. package/node_modules/typebox/build/value/default/from_ref.d.mts +2 -0
  3675. package/node_modules/typebox/build/value/default/from_ref.mjs +9 -0
  3676. package/node_modules/typebox/build/value/default/from_tuple.d.mts +2 -0
  3677. package/node_modules/typebox/build/value/default/from_tuple.mjs +14 -0
  3678. package/node_modules/typebox/build/value/default/from_type.d.mts +2 -0
  3679. package/node_modules/typebox/build/value/default/from_type.mjs +27 -0
  3680. package/node_modules/typebox/build/value/default/from_union.d.mts +2 -0
  3681. package/node_modules/typebox/build/value/default/from_union.mjs +14 -0
  3682. package/node_modules/typebox/build/value/default/index.d.mts +1 -0
  3683. package/node_modules/typebox/build/value/default/index.mjs +1 -0
  3684. package/node_modules/typebox/build/value/delta/diff.d.mts +10 -0
  3685. package/node_modules/typebox/build/value/delta/diff.mjs +135 -0
  3686. package/node_modules/typebox/build/value/delta/edit.d.mts +24 -0
  3687. package/node_modules/typebox/build/value/delta/edit.mjs +17 -0
  3688. package/node_modules/typebox/build/value/delta/index.d.mts +3 -0
  3689. package/node_modules/typebox/build/value/delta/index.mjs +3 -0
  3690. package/node_modules/typebox/build/value/delta/patch.d.mts +8 -0
  3691. package/node_modules/typebox/build/value/delta/patch.mjs +42 -0
  3692. package/node_modules/typebox/build/value/equal/equal.d.mts +2 -0
  3693. package/node_modules/typebox/build/value/equal/equal.mjs +6 -0
  3694. package/node_modules/typebox/build/value/equal/index.d.mts +1 -0
  3695. package/node_modules/typebox/build/value/equal/index.mjs +1 -0
  3696. package/node_modules/typebox/build/value/errors/errors.d.mts +16 -0
  3697. package/node_modules/typebox/build/value/errors/errors.mjs +17 -0
  3698. package/node_modules/typebox/build/value/errors/index.d.mts +1 -0
  3699. package/node_modules/typebox/build/value/errors/index.mjs +1 -0
  3700. package/node_modules/typebox/build/value/hash/hash.d.mts +6 -0
  3701. package/node_modules/typebox/build/value/hash/hash.mjs +10 -0
  3702. package/node_modules/typebox/build/value/hash/index.d.mts +1 -0
  3703. package/node_modules/typebox/build/value/hash/index.mjs +1 -0
  3704. package/node_modules/typebox/build/value/index.d.mts +21 -0
  3705. package/node_modules/typebox/build/value/index.mjs +30 -0
  3706. package/node_modules/typebox/build/value/mutate/error.d.mts +3 -0
  3707. package/node_modules/typebox/build/value/mutate/error.mjs +6 -0
  3708. package/node_modules/typebox/build/value/mutate/from_array.d.mts +2 -0
  3709. package/node_modules/typebox/build/value/mutate/from_array.mjs +16 -0
  3710. package/node_modules/typebox/build/value/mutate/from_object.d.mts +2 -0
  3711. package/node_modules/typebox/build/value/mutate/from_object.mjs +40 -0
  3712. package/node_modules/typebox/build/value/mutate/from_unknown.d.mts +2 -0
  3713. package/node_modules/typebox/build/value/mutate/from_unknown.mjs +7 -0
  3714. package/node_modules/typebox/build/value/mutate/from_value.d.mts +2 -0
  3715. package/node_modules/typebox/build/value/mutate/from_value.mjs +12 -0
  3716. package/node_modules/typebox/build/value/mutate/index.d.mts +1 -0
  3717. package/node_modules/typebox/build/value/mutate/index.mjs +1 -0
  3718. package/node_modules/typebox/build/value/mutate/mutate.d.mts +11 -0
  3719. package/node_modules/typebox/build/value/mutate/mutate.mjs +41 -0
  3720. package/node_modules/typebox/build/value/parse/index.d.mts +1 -0
  3721. package/node_modules/typebox/build/value/parse/index.mjs +1 -0
  3722. package/node_modules/typebox/build/value/parse/parse.d.mts +11 -0
  3723. package/node_modules/typebox/build/value/parse/parse.mjs +47 -0
  3724. package/node_modules/typebox/build/value/pipeline/index.d.mts +1 -0
  3725. package/node_modules/typebox/build/value/pipeline/index.mjs +1 -0
  3726. package/node_modules/typebox/build/value/pipeline/pipeline.d.mts +10 -0
  3727. package/node_modules/typebox/build/value/pipeline/pipeline.mjs +15 -0
  3728. package/node_modules/typebox/build/value/pointer/index.d.mts +1 -0
  3729. package/node_modules/typebox/build/value/pointer/index.mjs +1 -0
  3730. package/node_modules/typebox/build/value/repair/error.d.mts +7 -0
  3731. package/node_modules/typebox/build/value/repair/error.mjs +8 -0
  3732. package/node_modules/typebox/build/value/repair/from_array.d.mts +2 -0
  3733. package/node_modules/typebox/build/value/repair/from_array.mjs +39 -0
  3734. package/node_modules/typebox/build/value/repair/from_base.d.mts +2 -0
  3735. package/node_modules/typebox/build/value/repair/from_base.mjs +8 -0
  3736. package/node_modules/typebox/build/value/repair/from_enum.d.mts +2 -0
  3737. package/node_modules/typebox/build/value/repair/from_enum.mjs +7 -0
  3738. package/node_modules/typebox/build/value/repair/from_intersect.d.mts +2 -0
  3739. package/node_modules/typebox/build/value/repair/from_intersect.mjs +8 -0
  3740. package/node_modules/typebox/build/value/repair/from_object.d.mts +2 -0
  3741. package/node_modules/typebox/build/value/repair/from_object.mjs +33 -0
  3742. package/node_modules/typebox/build/value/repair/from_record.d.mts +2 -0
  3743. package/node_modules/typebox/build/value/repair/from_record.mjs +33 -0
  3744. package/node_modules/typebox/build/value/repair/from_ref.d.mts +2 -0
  3745. package/node_modules/typebox/build/value/repair/from_ref.mjs +9 -0
  3746. package/node_modules/typebox/build/value/repair/from_template_literal.d.mts +2 -0
  3747. package/node_modules/typebox/build/value/repair/from_template_literal.mjs +7 -0
  3748. package/node_modules/typebox/build/value/repair/from_tuple.d.mts +2 -0
  3749. package/node_modules/typebox/build/value/repair/from_tuple.mjs +12 -0
  3750. package/node_modules/typebox/build/value/repair/from_type.d.mts +2 -0
  3751. package/node_modules/typebox/build/value/repair/from_type.mjs +86 -0
  3752. package/node_modules/typebox/build/value/repair/from_union.d.mts +2 -0
  3753. package/node_modules/typebox/build/value/repair/from_union.mjs +24 -0
  3754. package/node_modules/typebox/build/value/repair/from_unknown.d.mts +2 -0
  3755. package/node_modules/typebox/build/value/repair/from_unknown.mjs +12 -0
  3756. package/node_modules/typebox/build/value/repair/index.d.mts +1 -0
  3757. package/node_modules/typebox/build/value/repair/index.mjs +1 -0
  3758. package/node_modules/typebox/build/value/repair/repair.d.mts +17 -0
  3759. package/node_modules/typebox/build/value/repair/repair.mjs +20 -0
  3760. package/node_modules/typebox/build/value/shared/index.d.mts +3 -0
  3761. package/node_modules/typebox/build/value/shared/index.mjs +4 -0
  3762. package/node_modules/typebox/build/value/shared/optional_undefined.d.mts +2 -0
  3763. package/node_modules/typebox/build/value/shared/optional_undefined.mjs +15 -0
  3764. package/node_modules/typebox/build/value/shared/union_priority_sort.d.mts +3 -0
  3765. package/node_modules/typebox/build/value/shared/union_priority_sort.mjs +36 -0
  3766. package/node_modules/typebox/build/value/shared/union_score_select.d.mts +3 -0
  3767. package/node_modules/typebox/build/value/shared/union_score_select.mjs +51 -0
  3768. package/node_modules/typebox/build/value/value.d.mts +16 -0
  3769. package/node_modules/typebox/build/value/value.mjs +16 -0
  3770. package/node_modules/typebox/license +23 -0
  3771. package/node_modules/typebox/package.json +87 -0
  3772. package/node_modules/typebox/readme.md +356 -0
  3773. package/node_modules/uc.micro/LICENSE.txt +20 -0
  3774. package/node_modules/uc.micro/README.md +14 -0
  3775. package/node_modules/uc.micro/build/index.cjs.js +20 -0
  3776. package/node_modules/uc.micro/categories/Cc/regex.mjs +1 -0
  3777. package/node_modules/uc.micro/categories/Cf/regex.mjs +1 -0
  3778. package/node_modules/uc.micro/categories/P/regex.mjs +1 -0
  3779. package/node_modules/uc.micro/categories/S/regex.mjs +1 -0
  3780. package/node_modules/uc.micro/categories/Z/regex.mjs +1 -0
  3781. package/node_modules/uc.micro/index.mjs +8 -0
  3782. package/node_modules/uc.micro/package.json +37 -0
  3783. package/node_modules/uc.micro/properties/Any/regex.mjs +1 -0
  3784. package/node_modules/uint8array-extras/index.d.ts +331 -0
  3785. package/node_modules/uint8array-extras/index.js +318 -0
  3786. package/node_modules/uint8array-extras/license +9 -0
  3787. package/node_modules/uint8array-extras/package.json +54 -0
  3788. package/node_modules/uint8array-extras/readme.md +318 -0
  3789. package/node_modules/unhomoglyph/CHANGELOG.md +45 -0
  3790. package/node_modules/unhomoglyph/LICENSE +22 -0
  3791. package/node_modules/unhomoglyph/README.md +54 -0
  3792. package/node_modules/unhomoglyph/data.json +6313 -0
  3793. package/node_modules/unhomoglyph/index.d.ts +4 -0
  3794. package/node_modules/unhomoglyph/index.js +20 -0
  3795. package/node_modules/unhomoglyph/package.json +25 -0
  3796. package/node_modules/win-guid/LICENSE.txt +9 -0
  3797. package/node_modules/win-guid/README.md +113 -0
  3798. package/node_modules/win-guid/lib/guid.d.ts +20 -0
  3799. package/node_modules/win-guid/lib/guid.js +107 -0
  3800. package/node_modules/win-guid/package.json +55 -0
  3801. package/node_modules/zod/LICENSE +21 -0
  3802. package/node_modules/zod/README.md +191 -0
  3803. package/node_modules/zod/index.cjs +33 -0
  3804. package/node_modules/zod/index.d.cts +4 -0
  3805. package/node_modules/zod/index.d.ts +4 -0
  3806. package/node_modules/zod/index.js +4 -0
  3807. package/node_modules/zod/locales/index.cjs +17 -0
  3808. package/node_modules/zod/locales/index.d.cts +1 -0
  3809. package/node_modules/zod/locales/index.d.ts +1 -0
  3810. package/node_modules/zod/locales/index.js +1 -0
  3811. package/node_modules/zod/locales/package.json +7 -0
  3812. package/node_modules/zod/mini/index.cjs +32 -0
  3813. package/node_modules/zod/mini/index.d.cts +3 -0
  3814. package/node_modules/zod/mini/index.d.ts +3 -0
  3815. package/node_modules/zod/mini/index.js +3 -0
  3816. package/node_modules/zod/mini/package.json +7 -0
  3817. package/node_modules/zod/package.json +135 -0
  3818. package/node_modules/zod/src/index.ts +4 -0
  3819. package/node_modules/zod/src/locales/index.ts +1 -0
  3820. package/node_modules/zod/src/mini/index.ts +3 -0
  3821. package/node_modules/zod/src/v3/ZodError.ts +330 -0
  3822. package/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
  3823. package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
  3824. package/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
  3825. package/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
  3826. package/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
  3827. package/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
  3828. package/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
  3829. package/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
  3830. package/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
  3831. package/node_modules/zod/src/v3/errors.ts +13 -0
  3832. package/node_modules/zod/src/v3/external.ts +6 -0
  3833. package/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
  3834. package/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
  3835. package/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
  3836. package/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
  3837. package/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
  3838. package/node_modules/zod/src/v3/helpers/util.ts +224 -0
  3839. package/node_modules/zod/src/v3/index.ts +4 -0
  3840. package/node_modules/zod/src/v3/locales/en.ts +124 -0
  3841. package/node_modules/zod/src/v3/standard-schema.ts +113 -0
  3842. package/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
  3843. package/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
  3844. package/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
  3845. package/node_modules/zod/src/v3/tests/array.test.ts +71 -0
  3846. package/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
  3847. package/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
  3848. package/node_modules/zod/src/v3/tests/base.test.ts +29 -0
  3849. package/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
  3850. package/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
  3851. package/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
  3852. package/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
  3853. package/node_modules/zod/src/v3/tests/complex.test.ts +70 -0
  3854. package/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
  3855. package/node_modules/zod/src/v3/tests/date.test.ts +32 -0
  3856. package/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
  3857. package/node_modules/zod/src/v3/tests/default.test.ts +112 -0
  3858. package/node_modules/zod/src/v3/tests/description.test.ts +33 -0
  3859. package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
  3860. package/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
  3861. package/node_modules/zod/src/v3/tests/error.test.ts +551 -0
  3862. package/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
  3863. package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
  3864. package/node_modules/zod/src/v3/tests/function.test.ts +261 -0
  3865. package/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
  3866. package/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
  3867. package/node_modules/zod/src/v3/tests/intersection.test.ts +110 -0
  3868. package/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
  3869. package/node_modules/zod/src/v3/tests/language-server.test.ts +207 -0
  3870. package/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
  3871. package/node_modules/zod/src/v3/tests/map.test.ts +110 -0
  3872. package/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
  3873. package/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
  3874. package/node_modules/zod/src/v3/tests/nan.test.ts +24 -0
  3875. package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
  3876. package/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
  3877. package/node_modules/zod/src/v3/tests/number.test.ts +176 -0
  3878. package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
  3879. package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
  3880. package/node_modules/zod/src/v3/tests/object.test.ts +434 -0
  3881. package/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
  3882. package/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
  3883. package/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
  3884. package/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
  3885. package/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
  3886. package/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
  3887. package/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
  3888. package/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
  3889. package/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
  3890. package/node_modules/zod/src/v3/tests/readonly.test.ts +194 -0
  3891. package/node_modules/zod/src/v3/tests/record.test.ts +171 -0
  3892. package/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
  3893. package/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
  3894. package/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
  3895. package/node_modules/zod/src/v3/tests/set.test.ts +142 -0
  3896. package/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
  3897. package/node_modules/zod/src/v3/tests/string.test.ts +916 -0
  3898. package/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
  3899. package/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
  3900. package/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
  3901. package/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
  3902. package/node_modules/zod/src/v3/tests/void.test.ts +15 -0
  3903. package/node_modules/zod/src/v3/types.ts +5138 -0
  3904. package/node_modules/zod/src/v4/classic/checks.ts +32 -0
  3905. package/node_modules/zod/src/v4/classic/coerce.ts +27 -0
  3906. package/node_modules/zod/src/v4/classic/compat.ts +70 -0
  3907. package/node_modules/zod/src/v4/classic/errors.ts +82 -0
  3908. package/node_modules/zod/src/v4/classic/external.ts +52 -0
  3909. package/node_modules/zod/src/v4/classic/from-json-schema.ts +659 -0
  3910. package/node_modules/zod/src/v4/classic/index.ts +5 -0
  3911. package/node_modules/zod/src/v4/classic/iso.ts +90 -0
  3912. package/node_modules/zod/src/v4/classic/parse.ts +82 -0
  3913. package/node_modules/zod/src/v4/classic/schemas.ts +2672 -0
  3914. package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
  3915. package/node_modules/zod/src/v4/classic/tests/apply.test.ts +59 -0
  3916. package/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
  3917. package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +216 -0
  3918. package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
  3919. package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
  3920. package/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
  3921. package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +54 -0
  3922. package/node_modules/zod/src/v4/classic/tests/brand.test.ts +106 -0
  3923. package/node_modules/zod/src/v4/classic/tests/catch.test.ts +326 -0
  3924. package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
  3925. package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +573 -0
  3926. package/node_modules/zod/src/v4/classic/tests/codec.test.ts +703 -0
  3927. package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
  3928. package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +374 -0
  3929. package/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
  3930. package/node_modules/zod/src/v4/classic/tests/date.test.ts +62 -0
  3931. package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +302 -0
  3932. package/node_modules/zod/src/v4/classic/tests/default.test.ts +409 -0
  3933. package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +27 -0
  3934. package/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
  3935. package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +197 -0
  3936. package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +694 -0
  3937. package/node_modules/zod/src/v4/classic/tests/enum.test.ts +285 -0
  3938. package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +807 -0
  3939. package/node_modules/zod/src/v4/classic/tests/error.test.ts +711 -0
  3940. package/node_modules/zod/src/v4/classic/tests/file.test.ts +96 -0
  3941. package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +179 -0
  3942. package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +26 -0
  3943. package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +895 -0
  3944. package/node_modules/zod/src/v4/classic/tests/function.test.ts +360 -0
  3945. package/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
  3946. package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +39 -0
  3947. package/node_modules/zod/src/v4/classic/tests/hash.test.ts +68 -0
  3948. package/node_modules/zod/src/v4/classic/tests/index.test.ts +939 -0
  3949. package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +60 -0
  3950. package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +198 -0
  3951. package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +46 -0
  3952. package/node_modules/zod/src/v4/classic/tests/json.test.ts +109 -0
  3953. package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +227 -0
  3954. package/node_modules/zod/src/v4/classic/tests/literal.test.ts +117 -0
  3955. package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +29 -0
  3956. package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +24 -0
  3957. package/node_modules/zod/src/v4/classic/tests/map.test.ts +330 -0
  3958. package/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
  3959. package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
  3960. package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +101 -0
  3961. package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
  3962. package/node_modules/zod/src/v4/classic/tests/number.test.ts +325 -0
  3963. package/node_modules/zod/src/v4/classic/tests/object.test.ts +717 -0
  3964. package/node_modules/zod/src/v4/classic/tests/optional.test.ts +333 -0
  3965. package/node_modules/zod/src/v4/classic/tests/partial.test.ts +450 -0
  3966. package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +211 -0
  3967. package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +101 -0
  3968. package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +74 -0
  3969. package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +26 -0
  3970. package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +351 -0
  3971. package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
  3972. package/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
  3973. package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
  3974. package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +252 -0
  3975. package/node_modules/zod/src/v4/classic/tests/record.test.ts +717 -0
  3976. package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +631 -0
  3977. package/node_modules/zod/src/v4/classic/tests/refine.test.ts +633 -0
  3978. package/node_modules/zod/src/v4/classic/tests/registries.test.ts +243 -0
  3979. package/node_modules/zod/src/v4/classic/tests/set.test.ts +181 -0
  3980. package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +134 -0
  3981. package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +125 -0
  3982. package/node_modules/zod/src/v4/classic/tests/string.test.ts +1224 -0
  3983. package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +106 -0
  3984. package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +771 -0
  3985. package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +438 -0
  3986. package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +3125 -0
  3987. package/node_modules/zod/src/v4/classic/tests/transform.test.ts +378 -0
  3988. package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +496 -0
  3989. package/node_modules/zod/src/v4/classic/tests/union.test.ts +273 -0
  3990. package/node_modules/zod/src/v4/classic/tests/url.test.ts +13 -0
  3991. package/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
  3992. package/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
  3993. package/node_modules/zod/src/v4/core/api.ts +1823 -0
  3994. package/node_modules/zod/src/v4/core/checks.ts +1293 -0
  3995. package/node_modules/zod/src/v4/core/config.ts +15 -0
  3996. package/node_modules/zod/src/v4/core/core.ts +153 -0
  3997. package/node_modules/zod/src/v4/core/doc.ts +44 -0
  3998. package/node_modules/zod/src/v4/core/errors.ts +455 -0
  3999. package/node_modules/zod/src/v4/core/index.ts +16 -0
  4000. package/node_modules/zod/src/v4/core/json-schema-generator.ts +126 -0
  4001. package/node_modules/zod/src/v4/core/json-schema-processors.ts +666 -0
  4002. package/node_modules/zod/src/v4/core/json-schema.ts +147 -0
  4003. package/node_modules/zod/src/v4/core/parse.ts +195 -0
  4004. package/node_modules/zod/src/v4/core/regexes.ts +190 -0
  4005. package/node_modules/zod/src/v4/core/registries.ts +105 -0
  4006. package/node_modules/zod/src/v4/core/schemas.ts +4730 -0
  4007. package/node_modules/zod/src/v4/core/standard-schema.ts +159 -0
  4008. package/node_modules/zod/src/v4/core/tests/extend.test.ts +59 -0
  4009. package/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
  4010. package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
  4011. package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +215 -0
  4012. package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
  4013. package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +181 -0
  4014. package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +72 -0
  4015. package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +379 -0
  4016. package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +163 -0
  4017. package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +46 -0
  4018. package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
  4019. package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
  4020. package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +105 -0
  4021. package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +125 -0
  4022. package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +45 -0
  4023. package/node_modules/zod/src/v4/core/to-json-schema.ts +622 -0
  4024. package/node_modules/zod/src/v4/core/util.ts +983 -0
  4025. package/node_modules/zod/src/v4/core/versions.ts +5 -0
  4026. package/node_modules/zod/src/v4/core/zsf.ts +323 -0
  4027. package/node_modules/zod/src/v4/index.ts +4 -0
  4028. package/node_modules/zod/src/v4/locales/ar.ts +115 -0
  4029. package/node_modules/zod/src/v4/locales/az.ts +111 -0
  4030. package/node_modules/zod/src/v4/locales/be.ts +176 -0
  4031. package/node_modules/zod/src/v4/locales/bg.ts +128 -0
  4032. package/node_modules/zod/src/v4/locales/ca.ts +116 -0
  4033. package/node_modules/zod/src/v4/locales/cs.ts +118 -0
  4034. package/node_modules/zod/src/v4/locales/da.ts +123 -0
  4035. package/node_modules/zod/src/v4/locales/de.ts +116 -0
  4036. package/node_modules/zod/src/v4/locales/el.ts +121 -0
  4037. package/node_modules/zod/src/v4/locales/en.ts +123 -0
  4038. package/node_modules/zod/src/v4/locales/eo.ts +118 -0
  4039. package/node_modules/zod/src/v4/locales/es.ts +141 -0
  4040. package/node_modules/zod/src/v4/locales/fa.ts +126 -0
  4041. package/node_modules/zod/src/v4/locales/fi.ts +121 -0
  4042. package/node_modules/zod/src/v4/locales/fr-CA.ts +116 -0
  4043. package/node_modules/zod/src/v4/locales/fr.ts +132 -0
  4044. package/node_modules/zod/src/v4/locales/he.ts +246 -0
  4045. package/node_modules/zod/src/v4/locales/hr.ts +131 -0
  4046. package/node_modules/zod/src/v4/locales/hu.ts +117 -0
  4047. package/node_modules/zod/src/v4/locales/hy.ts +164 -0
  4048. package/node_modules/zod/src/v4/locales/id.ts +115 -0
  4049. package/node_modules/zod/src/v4/locales/index.ts +52 -0
  4050. package/node_modules/zod/src/v4/locales/is.ts +119 -0
  4051. package/node_modules/zod/src/v4/locales/it.ts +116 -0
  4052. package/node_modules/zod/src/v4/locales/ja.ts +114 -0
  4053. package/node_modules/zod/src/v4/locales/ka.ts +123 -0
  4054. package/node_modules/zod/src/v4/locales/kh.ts +7 -0
  4055. package/node_modules/zod/src/v4/locales/km.ts +119 -0
  4056. package/node_modules/zod/src/v4/locales/ko.ts +121 -0
  4057. package/node_modules/zod/src/v4/locales/lt.ts +239 -0
  4058. package/node_modules/zod/src/v4/locales/mk.ts +118 -0
  4059. package/node_modules/zod/src/v4/locales/ms.ts +115 -0
  4060. package/node_modules/zod/src/v4/locales/nl.ts +121 -0
  4061. package/node_modules/zod/src/v4/locales/no.ts +116 -0
  4062. package/node_modules/zod/src/v4/locales/ota.ts +117 -0
  4063. package/node_modules/zod/src/v4/locales/pl.ts +118 -0
  4064. package/node_modules/zod/src/v4/locales/ps.ts +126 -0
  4065. package/node_modules/zod/src/v4/locales/pt.ts +116 -0
  4066. package/node_modules/zod/src/v4/locales/ro.ts +129 -0
  4067. package/node_modules/zod/src/v4/locales/ru.ts +176 -0
  4068. package/node_modules/zod/src/v4/locales/sl.ts +118 -0
  4069. package/node_modules/zod/src/v4/locales/sv.ts +119 -0
  4070. package/node_modules/zod/src/v4/locales/ta.ts +118 -0
  4071. package/node_modules/zod/src/v4/locales/th.ts +119 -0
  4072. package/node_modules/zod/src/v4/locales/tr.ts +111 -0
  4073. package/node_modules/zod/src/v4/locales/ua.ts +7 -0
  4074. package/node_modules/zod/src/v4/locales/uk.ts +117 -0
  4075. package/node_modules/zod/src/v4/locales/ur.ts +119 -0
  4076. package/node_modules/zod/src/v4/locales/uz.ts +117 -0
  4077. package/node_modules/zod/src/v4/locales/vi.ts +117 -0
  4078. package/node_modules/zod/src/v4/locales/yo.ts +124 -0
  4079. package/node_modules/zod/src/v4/locales/zh-CN.ts +116 -0
  4080. package/node_modules/zod/src/v4/locales/zh-TW.ts +115 -0
  4081. package/node_modules/zod/src/v4/mini/checks.ts +32 -0
  4082. package/node_modules/zod/src/v4/mini/coerce.ts +27 -0
  4083. package/node_modules/zod/src/v4/mini/external.ts +41 -0
  4084. package/node_modules/zod/src/v4/mini/index.ts +3 -0
  4085. package/node_modules/zod/src/v4/mini/iso.ts +66 -0
  4086. package/node_modules/zod/src/v4/mini/parse.ts +14 -0
  4087. package/node_modules/zod/src/v4/mini/schemas.ts +1947 -0
  4088. package/node_modules/zod/src/v4/mini/tests/apply.test.ts +24 -0
  4089. package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +129 -0
  4090. package/node_modules/zod/src/v4/mini/tests/brand.test.ts +94 -0
  4091. package/node_modules/zod/src/v4/mini/tests/checks.test.ts +144 -0
  4092. package/node_modules/zod/src/v4/mini/tests/codec.test.ts +548 -0
  4093. package/node_modules/zod/src/v4/mini/tests/computed.test.ts +36 -0
  4094. package/node_modules/zod/src/v4/mini/tests/error.test.ts +22 -0
  4095. package/node_modules/zod/src/v4/mini/tests/functions.test.ts +5 -0
  4096. package/node_modules/zod/src/v4/mini/tests/index.test.ts +993 -0
  4097. package/node_modules/zod/src/v4/mini/tests/number.test.ts +95 -0
  4098. package/node_modules/zod/src/v4/mini/tests/object.test.ts +227 -0
  4099. package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
  4100. package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +325 -0
  4101. package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +50 -0
  4102. package/node_modules/zod/src/v4/mini/tests/string.test.ts +352 -0
  4103. package/node_modules/zod/src/v4-mini/index.ts +3 -0
  4104. package/node_modules/zod/v3/ZodError.cjs +138 -0
  4105. package/node_modules/zod/v3/ZodError.d.cts +164 -0
  4106. package/node_modules/zod/v3/ZodError.d.ts +164 -0
  4107. package/node_modules/zod/v3/ZodError.js +133 -0
  4108. package/node_modules/zod/v3/errors.cjs +17 -0
  4109. package/node_modules/zod/v3/errors.d.cts +5 -0
  4110. package/node_modules/zod/v3/errors.d.ts +5 -0
  4111. package/node_modules/zod/v3/errors.js +9 -0
  4112. package/node_modules/zod/v3/external.cjs +22 -0
  4113. package/node_modules/zod/v3/external.d.cts +6 -0
  4114. package/node_modules/zod/v3/external.d.ts +6 -0
  4115. package/node_modules/zod/v3/external.js +6 -0
  4116. package/node_modules/zod/v3/helpers/enumUtil.cjs +2 -0
  4117. package/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
  4118. package/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
  4119. package/node_modules/zod/v3/helpers/enumUtil.js +1 -0
  4120. package/node_modules/zod/v3/helpers/errorUtil.cjs +9 -0
  4121. package/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
  4122. package/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
  4123. package/node_modules/zod/v3/helpers/errorUtil.js +6 -0
  4124. package/node_modules/zod/v3/helpers/parseUtil.cjs +124 -0
  4125. package/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
  4126. package/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
  4127. package/node_modules/zod/v3/helpers/parseUtil.js +109 -0
  4128. package/node_modules/zod/v3/helpers/partialUtil.cjs +2 -0
  4129. package/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
  4130. package/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
  4131. package/node_modules/zod/v3/helpers/partialUtil.js +1 -0
  4132. package/node_modules/zod/v3/helpers/typeAliases.cjs +2 -0
  4133. package/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
  4134. package/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
  4135. package/node_modules/zod/v3/helpers/typeAliases.js +1 -0
  4136. package/node_modules/zod/v3/helpers/util.cjs +137 -0
  4137. package/node_modules/zod/v3/helpers/util.d.cts +85 -0
  4138. package/node_modules/zod/v3/helpers/util.d.ts +85 -0
  4139. package/node_modules/zod/v3/helpers/util.js +133 -0
  4140. package/node_modules/zod/v3/index.cjs +33 -0
  4141. package/node_modules/zod/v3/index.d.cts +4 -0
  4142. package/node_modules/zod/v3/index.d.ts +4 -0
  4143. package/node_modules/zod/v3/index.js +4 -0
  4144. package/node_modules/zod/v3/locales/en.cjs +112 -0
  4145. package/node_modules/zod/v3/locales/en.d.cts +3 -0
  4146. package/node_modules/zod/v3/locales/en.d.ts +3 -0
  4147. package/node_modules/zod/v3/locales/en.js +109 -0
  4148. package/node_modules/zod/v3/package.json +7 -0
  4149. package/node_modules/zod/v3/standard-schema.cjs +2 -0
  4150. package/node_modules/zod/v3/standard-schema.d.cts +102 -0
  4151. package/node_modules/zod/v3/standard-schema.d.ts +102 -0
  4152. package/node_modules/zod/v3/standard-schema.js +1 -0
  4153. package/node_modules/zod/v3/types.cjs +3777 -0
  4154. package/node_modules/zod/v3/types.d.cts +1034 -0
  4155. package/node_modules/zod/v3/types.d.ts +1034 -0
  4156. package/node_modules/zod/v3/types.js +3695 -0
  4157. package/node_modules/zod/v4/classic/checks.cjs +33 -0
  4158. package/node_modules/zod/v4/classic/checks.d.cts +1 -0
  4159. package/node_modules/zod/v4/classic/checks.d.ts +1 -0
  4160. package/node_modules/zod/v4/classic/checks.js +1 -0
  4161. package/node_modules/zod/v4/classic/coerce.cjs +47 -0
  4162. package/node_modules/zod/v4/classic/coerce.d.cts +17 -0
  4163. package/node_modules/zod/v4/classic/coerce.d.ts +17 -0
  4164. package/node_modules/zod/v4/classic/coerce.js +17 -0
  4165. package/node_modules/zod/v4/classic/compat.cjs +61 -0
  4166. package/node_modules/zod/v4/classic/compat.d.cts +50 -0
  4167. package/node_modules/zod/v4/classic/compat.d.ts +50 -0
  4168. package/node_modules/zod/v4/classic/compat.js +31 -0
  4169. package/node_modules/zod/v4/classic/errors.cjs +74 -0
  4170. package/node_modules/zod/v4/classic/errors.d.cts +30 -0
  4171. package/node_modules/zod/v4/classic/errors.d.ts +30 -0
  4172. package/node_modules/zod/v4/classic/errors.js +48 -0
  4173. package/node_modules/zod/v4/classic/external.cjs +73 -0
  4174. package/node_modules/zod/v4/classic/external.d.cts +16 -0
  4175. package/node_modules/zod/v4/classic/external.d.ts +16 -0
  4176. package/node_modules/zod/v4/classic/external.js +20 -0
  4177. package/node_modules/zod/v4/classic/from-json-schema.cjs +625 -0
  4178. package/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
  4179. package/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
  4180. package/node_modules/zod/v4/classic/from-json-schema.js +599 -0
  4181. package/node_modules/zod/v4/classic/index.cjs +33 -0
  4182. package/node_modules/zod/v4/classic/index.d.cts +4 -0
  4183. package/node_modules/zod/v4/classic/index.d.ts +4 -0
  4184. package/node_modules/zod/v4/classic/index.js +4 -0
  4185. package/node_modules/zod/v4/classic/iso.cjs +60 -0
  4186. package/node_modules/zod/v4/classic/iso.d.cts +22 -0
  4187. package/node_modules/zod/v4/classic/iso.d.ts +22 -0
  4188. package/node_modules/zod/v4/classic/iso.js +30 -0
  4189. package/node_modules/zod/v4/classic/package.json +7 -0
  4190. package/node_modules/zod/v4/classic/parse.cjs +41 -0
  4191. package/node_modules/zod/v4/classic/parse.d.cts +31 -0
  4192. package/node_modules/zod/v4/classic/parse.d.ts +31 -0
  4193. package/node_modules/zod/v4/classic/parse.js +15 -0
  4194. package/node_modules/zod/v4/classic/schemas.cjs +1511 -0
  4195. package/node_modules/zod/v4/classic/schemas.d.cts +767 -0
  4196. package/node_modules/zod/v4/classic/schemas.d.ts +767 -0
  4197. package/node_modules/zod/v4/classic/schemas.js +1395 -0
  4198. package/node_modules/zod/v4/core/api.cjs +1227 -0
  4199. package/node_modules/zod/v4/core/api.d.cts +325 -0
  4200. package/node_modules/zod/v4/core/api.d.ts +325 -0
  4201. package/node_modules/zod/v4/core/api.js +1087 -0
  4202. package/node_modules/zod/v4/core/checks.cjs +601 -0
  4203. package/node_modules/zod/v4/core/checks.d.cts +278 -0
  4204. package/node_modules/zod/v4/core/checks.d.ts +278 -0
  4205. package/node_modules/zod/v4/core/checks.js +575 -0
  4206. package/node_modules/zod/v4/core/core.cjs +85 -0
  4207. package/node_modules/zod/v4/core/core.d.cts +70 -0
  4208. package/node_modules/zod/v4/core/core.d.ts +70 -0
  4209. package/node_modules/zod/v4/core/core.js +78 -0
  4210. package/node_modules/zod/v4/core/doc.cjs +39 -0
  4211. package/node_modules/zod/v4/core/doc.d.cts +14 -0
  4212. package/node_modules/zod/v4/core/doc.d.ts +14 -0
  4213. package/node_modules/zod/v4/core/doc.js +35 -0
  4214. package/node_modules/zod/v4/core/errors.cjs +216 -0
  4215. package/node_modules/zod/v4/core/errors.d.cts +221 -0
  4216. package/node_modules/zod/v4/core/errors.d.ts +221 -0
  4217. package/node_modules/zod/v4/core/errors.js +185 -0
  4218. package/node_modules/zod/v4/core/index.cjs +47 -0
  4219. package/node_modules/zod/v4/core/index.d.cts +16 -0
  4220. package/node_modules/zod/v4/core/index.d.ts +16 -0
  4221. package/node_modules/zod/v4/core/index.js +16 -0
  4222. package/node_modules/zod/v4/core/json-schema-generator.cjs +99 -0
  4223. package/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
  4224. package/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
  4225. package/node_modules/zod/v4/core/json-schema-generator.js +95 -0
  4226. package/node_modules/zod/v4/core/json-schema-processors.cjs +644 -0
  4227. package/node_modules/zod/v4/core/json-schema-processors.d.cts +49 -0
  4228. package/node_modules/zod/v4/core/json-schema-processors.d.ts +49 -0
  4229. package/node_modules/zod/v4/core/json-schema-processors.js +601 -0
  4230. package/node_modules/zod/v4/core/json-schema.cjs +2 -0
  4231. package/node_modules/zod/v4/core/json-schema.d.cts +88 -0
  4232. package/node_modules/zod/v4/core/json-schema.d.ts +88 -0
  4233. package/node_modules/zod/v4/core/json-schema.js +1 -0
  4234. package/node_modules/zod/v4/core/package.json +7 -0
  4235. package/node_modules/zod/v4/core/parse.cjs +131 -0
  4236. package/node_modules/zod/v4/core/parse.d.cts +49 -0
  4237. package/node_modules/zod/v4/core/parse.d.ts +49 -0
  4238. package/node_modules/zod/v4/core/parse.js +93 -0
  4239. package/node_modules/zod/v4/core/regexes.cjs +172 -0
  4240. package/node_modules/zod/v4/core/regexes.d.cts +85 -0
  4241. package/node_modules/zod/v4/core/regexes.d.ts +85 -0
  4242. package/node_modules/zod/v4/core/regexes.js +139 -0
  4243. package/node_modules/zod/v4/core/registries.cjs +56 -0
  4244. package/node_modules/zod/v4/core/registries.d.cts +35 -0
  4245. package/node_modules/zod/v4/core/registries.d.ts +35 -0
  4246. package/node_modules/zod/v4/core/registries.js +51 -0
  4247. package/node_modules/zod/v4/core/schemas.cjs +2270 -0
  4248. package/node_modules/zod/v4/core/schemas.d.cts +1184 -0
  4249. package/node_modules/zod/v4/core/schemas.d.ts +1184 -0
  4250. package/node_modules/zod/v4/core/schemas.js +2239 -0
  4251. package/node_modules/zod/v4/core/standard-schema.cjs +2 -0
  4252. package/node_modules/zod/v4/core/standard-schema.d.cts +126 -0
  4253. package/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
  4254. package/node_modules/zod/v4/core/standard-schema.js +1 -0
  4255. package/node_modules/zod/v4/core/to-json-schema.cjs +457 -0
  4256. package/node_modules/zod/v4/core/to-json-schema.d.cts +114 -0
  4257. package/node_modules/zod/v4/core/to-json-schema.d.ts +114 -0
  4258. package/node_modules/zod/v4/core/to-json-schema.js +448 -0
  4259. package/node_modules/zod/v4/core/util.cjs +734 -0
  4260. package/node_modules/zod/v4/core/util.d.cts +200 -0
  4261. package/node_modules/zod/v4/core/util.d.ts +200 -0
  4262. package/node_modules/zod/v4/core/util.js +674 -0
  4263. package/node_modules/zod/v4/core/versions.cjs +8 -0
  4264. package/node_modules/zod/v4/core/versions.d.cts +5 -0
  4265. package/node_modules/zod/v4/core/versions.d.ts +5 -0
  4266. package/node_modules/zod/v4/core/versions.js +5 -0
  4267. package/node_modules/zod/v4/index.cjs +22 -0
  4268. package/node_modules/zod/v4/index.d.cts +3 -0
  4269. package/node_modules/zod/v4/index.d.ts +3 -0
  4270. package/node_modules/zod/v4/index.js +3 -0
  4271. package/node_modules/zod/v4/locales/ar.cjs +133 -0
  4272. package/node_modules/zod/v4/locales/ar.d.cts +5 -0
  4273. package/node_modules/zod/v4/locales/ar.d.ts +4 -0
  4274. package/node_modules/zod/v4/locales/ar.js +106 -0
  4275. package/node_modules/zod/v4/locales/az.cjs +132 -0
  4276. package/node_modules/zod/v4/locales/az.d.cts +5 -0
  4277. package/node_modules/zod/v4/locales/az.d.ts +4 -0
  4278. package/node_modules/zod/v4/locales/az.js +105 -0
  4279. package/node_modules/zod/v4/locales/be.cjs +183 -0
  4280. package/node_modules/zod/v4/locales/be.d.cts +5 -0
  4281. package/node_modules/zod/v4/locales/be.d.ts +4 -0
  4282. package/node_modules/zod/v4/locales/be.js +156 -0
  4283. package/node_modules/zod/v4/locales/bg.cjs +147 -0
  4284. package/node_modules/zod/v4/locales/bg.d.cts +5 -0
  4285. package/node_modules/zod/v4/locales/bg.d.ts +4 -0
  4286. package/node_modules/zod/v4/locales/bg.js +120 -0
  4287. package/node_modules/zod/v4/locales/ca.cjs +134 -0
  4288. package/node_modules/zod/v4/locales/ca.d.cts +5 -0
  4289. package/node_modules/zod/v4/locales/ca.d.ts +4 -0
  4290. package/node_modules/zod/v4/locales/ca.js +107 -0
  4291. package/node_modules/zod/v4/locales/cs.cjs +138 -0
  4292. package/node_modules/zod/v4/locales/cs.d.cts +5 -0
  4293. package/node_modules/zod/v4/locales/cs.d.ts +4 -0
  4294. package/node_modules/zod/v4/locales/cs.js +111 -0
  4295. package/node_modules/zod/v4/locales/da.cjs +142 -0
  4296. package/node_modules/zod/v4/locales/da.d.cts +5 -0
  4297. package/node_modules/zod/v4/locales/da.d.ts +4 -0
  4298. package/node_modules/zod/v4/locales/da.js +115 -0
  4299. package/node_modules/zod/v4/locales/de.cjs +135 -0
  4300. package/node_modules/zod/v4/locales/de.d.cts +5 -0
  4301. package/node_modules/zod/v4/locales/de.d.ts +4 -0
  4302. package/node_modules/zod/v4/locales/de.js +108 -0
  4303. package/node_modules/zod/v4/locales/el.cjs +136 -0
  4304. package/node_modules/zod/v4/locales/el.d.cts +5 -0
  4305. package/node_modules/zod/v4/locales/el.d.ts +4 -0
  4306. package/node_modules/zod/v4/locales/el.js +109 -0
  4307. package/node_modules/zod/v4/locales/en.cjs +140 -0
  4308. package/node_modules/zod/v4/locales/en.d.cts +5 -0
  4309. package/node_modules/zod/v4/locales/en.d.ts +4 -0
  4310. package/node_modules/zod/v4/locales/en.js +113 -0
  4311. package/node_modules/zod/v4/locales/eo.cjs +136 -0
  4312. package/node_modules/zod/v4/locales/eo.d.cts +5 -0
  4313. package/node_modules/zod/v4/locales/eo.d.ts +4 -0
  4314. package/node_modules/zod/v4/locales/eo.js +109 -0
  4315. package/node_modules/zod/v4/locales/es.cjs +159 -0
  4316. package/node_modules/zod/v4/locales/es.d.cts +5 -0
  4317. package/node_modules/zod/v4/locales/es.d.ts +4 -0
  4318. package/node_modules/zod/v4/locales/es.js +132 -0
  4319. package/node_modules/zod/v4/locales/fa.cjs +141 -0
  4320. package/node_modules/zod/v4/locales/fa.d.cts +5 -0
  4321. package/node_modules/zod/v4/locales/fa.d.ts +4 -0
  4322. package/node_modules/zod/v4/locales/fa.js +114 -0
  4323. package/node_modules/zod/v4/locales/fi.cjs +139 -0
  4324. package/node_modules/zod/v4/locales/fi.d.cts +5 -0
  4325. package/node_modules/zod/v4/locales/fi.d.ts +4 -0
  4326. package/node_modules/zod/v4/locales/fi.js +112 -0
  4327. package/node_modules/zod/v4/locales/fr-CA.cjs +134 -0
  4328. package/node_modules/zod/v4/locales/fr-CA.d.cts +5 -0
  4329. package/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
  4330. package/node_modules/zod/v4/locales/fr-CA.js +107 -0
  4331. package/node_modules/zod/v4/locales/fr.cjs +152 -0
  4332. package/node_modules/zod/v4/locales/fr.d.cts +5 -0
  4333. package/node_modules/zod/v4/locales/fr.d.ts +4 -0
  4334. package/node_modules/zod/v4/locales/fr.js +125 -0
  4335. package/node_modules/zod/v4/locales/he.cjs +241 -0
  4336. package/node_modules/zod/v4/locales/he.d.cts +5 -0
  4337. package/node_modules/zod/v4/locales/he.d.ts +4 -0
  4338. package/node_modules/zod/v4/locales/he.js +214 -0
  4339. package/node_modules/zod/v4/locales/hr.cjs +149 -0
  4340. package/node_modules/zod/v4/locales/hr.d.cts +5 -0
  4341. package/node_modules/zod/v4/locales/hr.d.ts +4 -0
  4342. package/node_modules/zod/v4/locales/hr.js +122 -0
  4343. package/node_modules/zod/v4/locales/hu.cjs +135 -0
  4344. package/node_modules/zod/v4/locales/hu.d.cts +5 -0
  4345. package/node_modules/zod/v4/locales/hu.d.ts +4 -0
  4346. package/node_modules/zod/v4/locales/hu.js +108 -0
  4347. package/node_modules/zod/v4/locales/hy.cjs +174 -0
  4348. package/node_modules/zod/v4/locales/hy.d.cts +5 -0
  4349. package/node_modules/zod/v4/locales/hy.d.ts +4 -0
  4350. package/node_modules/zod/v4/locales/hy.js +147 -0
  4351. package/node_modules/zod/v4/locales/id.cjs +133 -0
  4352. package/node_modules/zod/v4/locales/id.d.cts +5 -0
  4353. package/node_modules/zod/v4/locales/id.d.ts +4 -0
  4354. package/node_modules/zod/v4/locales/id.js +106 -0
  4355. package/node_modules/zod/v4/locales/index.cjs +111 -0
  4356. package/node_modules/zod/v4/locales/index.d.cts +52 -0
  4357. package/node_modules/zod/v4/locales/index.d.ts +52 -0
  4358. package/node_modules/zod/v4/locales/index.js +52 -0
  4359. package/node_modules/zod/v4/locales/is.cjs +136 -0
  4360. package/node_modules/zod/v4/locales/is.d.cts +5 -0
  4361. package/node_modules/zod/v4/locales/is.d.ts +4 -0
  4362. package/node_modules/zod/v4/locales/is.js +109 -0
  4363. package/node_modules/zod/v4/locales/it.cjs +135 -0
  4364. package/node_modules/zod/v4/locales/it.d.cts +5 -0
  4365. package/node_modules/zod/v4/locales/it.d.ts +4 -0
  4366. package/node_modules/zod/v4/locales/it.js +108 -0
  4367. package/node_modules/zod/v4/locales/ja.cjs +134 -0
  4368. package/node_modules/zod/v4/locales/ja.d.cts +5 -0
  4369. package/node_modules/zod/v4/locales/ja.d.ts +4 -0
  4370. package/node_modules/zod/v4/locales/ja.js +107 -0
  4371. package/node_modules/zod/v4/locales/ka.cjs +139 -0
  4372. package/node_modules/zod/v4/locales/ka.d.cts +5 -0
  4373. package/node_modules/zod/v4/locales/ka.d.ts +4 -0
  4374. package/node_modules/zod/v4/locales/ka.js +112 -0
  4375. package/node_modules/zod/v4/locales/kh.cjs +12 -0
  4376. package/node_modules/zod/v4/locales/kh.d.cts +5 -0
  4377. package/node_modules/zod/v4/locales/kh.d.ts +5 -0
  4378. package/node_modules/zod/v4/locales/kh.js +5 -0
  4379. package/node_modules/zod/v4/locales/km.cjs +137 -0
  4380. package/node_modules/zod/v4/locales/km.d.cts +5 -0
  4381. package/node_modules/zod/v4/locales/km.d.ts +4 -0
  4382. package/node_modules/zod/v4/locales/km.js +110 -0
  4383. package/node_modules/zod/v4/locales/ko.cjs +138 -0
  4384. package/node_modules/zod/v4/locales/ko.d.cts +5 -0
  4385. package/node_modules/zod/v4/locales/ko.d.ts +4 -0
  4386. package/node_modules/zod/v4/locales/ko.js +111 -0
  4387. package/node_modules/zod/v4/locales/lt.cjs +230 -0
  4388. package/node_modules/zod/v4/locales/lt.d.cts +5 -0
  4389. package/node_modules/zod/v4/locales/lt.d.ts +4 -0
  4390. package/node_modules/zod/v4/locales/lt.js +203 -0
  4391. package/node_modules/zod/v4/locales/mk.cjs +136 -0
  4392. package/node_modules/zod/v4/locales/mk.d.cts +5 -0
  4393. package/node_modules/zod/v4/locales/mk.d.ts +4 -0
  4394. package/node_modules/zod/v4/locales/mk.js +109 -0
  4395. package/node_modules/zod/v4/locales/ms.cjs +134 -0
  4396. package/node_modules/zod/v4/locales/ms.d.cts +5 -0
  4397. package/node_modules/zod/v4/locales/ms.d.ts +4 -0
  4398. package/node_modules/zod/v4/locales/ms.js +107 -0
  4399. package/node_modules/zod/v4/locales/nl.cjs +137 -0
  4400. package/node_modules/zod/v4/locales/nl.d.cts +5 -0
  4401. package/node_modules/zod/v4/locales/nl.d.ts +4 -0
  4402. package/node_modules/zod/v4/locales/nl.js +110 -0
  4403. package/node_modules/zod/v4/locales/no.cjs +135 -0
  4404. package/node_modules/zod/v4/locales/no.d.cts +5 -0
  4405. package/node_modules/zod/v4/locales/no.d.ts +4 -0
  4406. package/node_modules/zod/v4/locales/no.js +108 -0
  4407. package/node_modules/zod/v4/locales/ota.cjs +136 -0
  4408. package/node_modules/zod/v4/locales/ota.d.cts +5 -0
  4409. package/node_modules/zod/v4/locales/ota.d.ts +4 -0
  4410. package/node_modules/zod/v4/locales/ota.js +109 -0
  4411. package/node_modules/zod/v4/locales/package.json +7 -0
  4412. package/node_modules/zod/v4/locales/pl.cjs +136 -0
  4413. package/node_modules/zod/v4/locales/pl.d.cts +5 -0
  4414. package/node_modules/zod/v4/locales/pl.d.ts +4 -0
  4415. package/node_modules/zod/v4/locales/pl.js +109 -0
  4416. package/node_modules/zod/v4/locales/ps.cjs +141 -0
  4417. package/node_modules/zod/v4/locales/ps.d.cts +5 -0
  4418. package/node_modules/zod/v4/locales/ps.d.ts +4 -0
  4419. package/node_modules/zod/v4/locales/ps.js +114 -0
  4420. package/node_modules/zod/v4/locales/pt.cjs +135 -0
  4421. package/node_modules/zod/v4/locales/pt.d.cts +5 -0
  4422. package/node_modules/zod/v4/locales/pt.d.ts +4 -0
  4423. package/node_modules/zod/v4/locales/pt.js +108 -0
  4424. package/node_modules/zod/v4/locales/ro.cjs +146 -0
  4425. package/node_modules/zod/v4/locales/ro.d.cts +5 -0
  4426. package/node_modules/zod/v4/locales/ro.d.ts +4 -0
  4427. package/node_modules/zod/v4/locales/ro.js +119 -0
  4428. package/node_modules/zod/v4/locales/ru.cjs +183 -0
  4429. package/node_modules/zod/v4/locales/ru.d.cts +5 -0
  4430. package/node_modules/zod/v4/locales/ru.d.ts +4 -0
  4431. package/node_modules/zod/v4/locales/ru.js +156 -0
  4432. package/node_modules/zod/v4/locales/sl.cjs +136 -0
  4433. package/node_modules/zod/v4/locales/sl.d.cts +5 -0
  4434. package/node_modules/zod/v4/locales/sl.d.ts +4 -0
  4435. package/node_modules/zod/v4/locales/sl.js +109 -0
  4436. package/node_modules/zod/v4/locales/sv.cjs +137 -0
  4437. package/node_modules/zod/v4/locales/sv.d.cts +5 -0
  4438. package/node_modules/zod/v4/locales/sv.d.ts +4 -0
  4439. package/node_modules/zod/v4/locales/sv.js +110 -0
  4440. package/node_modules/zod/v4/locales/ta.cjs +137 -0
  4441. package/node_modules/zod/v4/locales/ta.d.cts +5 -0
  4442. package/node_modules/zod/v4/locales/ta.d.ts +4 -0
  4443. package/node_modules/zod/v4/locales/ta.js +110 -0
  4444. package/node_modules/zod/v4/locales/th.cjs +137 -0
  4445. package/node_modules/zod/v4/locales/th.d.cts +5 -0
  4446. package/node_modules/zod/v4/locales/th.d.ts +4 -0
  4447. package/node_modules/zod/v4/locales/th.js +110 -0
  4448. package/node_modules/zod/v4/locales/tr.cjs +132 -0
  4449. package/node_modules/zod/v4/locales/tr.d.cts +5 -0
  4450. package/node_modules/zod/v4/locales/tr.d.ts +4 -0
  4451. package/node_modules/zod/v4/locales/tr.js +105 -0
  4452. package/node_modules/zod/v4/locales/ua.cjs +12 -0
  4453. package/node_modules/zod/v4/locales/ua.d.cts +5 -0
  4454. package/node_modules/zod/v4/locales/ua.d.ts +5 -0
  4455. package/node_modules/zod/v4/locales/ua.js +5 -0
  4456. package/node_modules/zod/v4/locales/uk.cjs +135 -0
  4457. package/node_modules/zod/v4/locales/uk.d.cts +5 -0
  4458. package/node_modules/zod/v4/locales/uk.d.ts +4 -0
  4459. package/node_modules/zod/v4/locales/uk.js +108 -0
  4460. package/node_modules/zod/v4/locales/ur.cjs +137 -0
  4461. package/node_modules/zod/v4/locales/ur.d.cts +5 -0
  4462. package/node_modules/zod/v4/locales/ur.d.ts +4 -0
  4463. package/node_modules/zod/v4/locales/ur.js +110 -0
  4464. package/node_modules/zod/v4/locales/uz.cjs +137 -0
  4465. package/node_modules/zod/v4/locales/uz.d.cts +5 -0
  4466. package/node_modules/zod/v4/locales/uz.d.ts +4 -0
  4467. package/node_modules/zod/v4/locales/uz.js +110 -0
  4468. package/node_modules/zod/v4/locales/vi.cjs +135 -0
  4469. package/node_modules/zod/v4/locales/vi.d.cts +5 -0
  4470. package/node_modules/zod/v4/locales/vi.d.ts +4 -0
  4471. package/node_modules/zod/v4/locales/vi.js +108 -0
  4472. package/node_modules/zod/v4/locales/yo.cjs +134 -0
  4473. package/node_modules/zod/v4/locales/yo.d.cts +5 -0
  4474. package/node_modules/zod/v4/locales/yo.d.ts +4 -0
  4475. package/node_modules/zod/v4/locales/yo.js +107 -0
  4476. package/node_modules/zod/v4/locales/zh-CN.cjs +136 -0
  4477. package/node_modules/zod/v4/locales/zh-CN.d.cts +5 -0
  4478. package/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
  4479. package/node_modules/zod/v4/locales/zh-CN.js +109 -0
  4480. package/node_modules/zod/v4/locales/zh-TW.cjs +134 -0
  4481. package/node_modules/zod/v4/locales/zh-TW.d.cts +5 -0
  4482. package/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
  4483. package/node_modules/zod/v4/locales/zh-TW.js +107 -0
  4484. package/node_modules/zod/v4/mini/checks.cjs +34 -0
  4485. package/node_modules/zod/v4/mini/checks.d.cts +1 -0
  4486. package/node_modules/zod/v4/mini/checks.d.ts +1 -0
  4487. package/node_modules/zod/v4/mini/checks.js +1 -0
  4488. package/node_modules/zod/v4/mini/coerce.cjs +52 -0
  4489. package/node_modules/zod/v4/mini/coerce.d.cts +7 -0
  4490. package/node_modules/zod/v4/mini/coerce.d.ts +7 -0
  4491. package/node_modules/zod/v4/mini/coerce.js +22 -0
  4492. package/node_modules/zod/v4/mini/external.cjs +63 -0
  4493. package/node_modules/zod/v4/mini/external.d.cts +13 -0
  4494. package/node_modules/zod/v4/mini/external.d.ts +13 -0
  4495. package/node_modules/zod/v4/mini/external.js +14 -0
  4496. package/node_modules/zod/v4/mini/index.cjs +32 -0
  4497. package/node_modules/zod/v4/mini/index.d.cts +3 -0
  4498. package/node_modules/zod/v4/mini/index.d.ts +3 -0
  4499. package/node_modules/zod/v4/mini/index.js +3 -0
  4500. package/node_modules/zod/v4/mini/iso.cjs +64 -0
  4501. package/node_modules/zod/v4/mini/iso.d.cts +22 -0
  4502. package/node_modules/zod/v4/mini/iso.d.ts +22 -0
  4503. package/node_modules/zod/v4/mini/iso.js +34 -0
  4504. package/node_modules/zod/v4/mini/package.json +7 -0
  4505. package/node_modules/zod/v4/mini/parse.cjs +16 -0
  4506. package/node_modules/zod/v4/mini/parse.d.cts +1 -0
  4507. package/node_modules/zod/v4/mini/parse.d.ts +1 -0
  4508. package/node_modules/zod/v4/mini/parse.js +1 -0
  4509. package/node_modules/zod/v4/mini/schemas.cjs +1083 -0
  4510. package/node_modules/zod/v4/mini/schemas.d.cts +445 -0
  4511. package/node_modules/zod/v4/mini/schemas.d.ts +445 -0
  4512. package/node_modules/zod/v4/mini/schemas.js +961 -0
  4513. package/node_modules/zod/v4/package.json +7 -0
  4514. package/node_modules/zod/v4-mini/index.cjs +32 -0
  4515. package/node_modules/zod/v4-mini/index.d.cts +3 -0
  4516. package/node_modules/zod/v4-mini/index.d.ts +3 -0
  4517. package/node_modules/zod/v4-mini/index.js +3 -0
  4518. package/node_modules/zod/v4-mini/package.json +7 -0
  4519. package/npm-shrinkwrap.json +532 -0
  4520. package/package.json +16 -9
@@ -0,0 +1,3508 @@
1
+ /**
2
+ * This is an internal module. See {@link MatrixClient} for the public class.
3
+ */
4
+ import type { IDeviceKeys, IOneTimeKey } from "./@types/crypto.ts";
5
+ import { type ISyncStateData, type SetPresence, SyncApi, type SyncApiOptions, SyncState } from "./sync.ts";
6
+ import { EventStatus, type IDecryptOptions, type IEvent, MatrixEvent, MatrixEventEvent, type MatrixEventHandlerMap, type PushDetails } from "./models/event.ts";
7
+ import { type CallEvent, type CallEventHandlerMap, type MatrixCall } from "./webrtc/call.ts";
8
+ import { Filter, type IFilterDefinition } from "./filter.ts";
9
+ import { CallEventHandler, type CallEventHandlerEvent, type CallEventHandlerEventHandlerMap } from "./webrtc/callEventHandler.ts";
10
+ import { GroupCallEventHandler, type GroupCallEventHandlerEvent, type GroupCallEventHandlerEventHandlerMap } from "./webrtc/groupCallEventHandler.ts";
11
+ import { type QueryDict } from "./utils.ts";
12
+ import { Direction, EventTimeline } from "./models/event-timeline.ts";
13
+ import { type IActionsObject, PushProcessor } from "./pushprocessor.ts";
14
+ import { type AutoDiscoveryAction } from "./autodiscovery.ts";
15
+ import { TypedReEmitter } from "./ReEmitter.ts";
16
+ import { type Logger } from "./logger.ts";
17
+ import { SERVICE_TYPES } from "./service-types.ts";
18
+ import { type FileType, type HttpApiEvent, type HttpApiEventHandlerMap, type IHttpOpts, type IRequestOpts, MatrixError, MatrixHttpApi, type TokenRefreshFunction, type Upload, type UploadOpts, type UploadResponse } from "./http-api/index.ts";
19
+ import { User, UserEvent, type UserEventHandlerMap } from "./models/user.ts";
20
+ import { type IIdentityServerProvider } from "./@types/IIdentityServerProvider.ts";
21
+ import { type MatrixScheduler } from "./scheduler.ts";
22
+ import { type BeaconEvent, type BeaconEventHandlerMap } from "./models/beacon.ts";
23
+ import { type AuthDict } from "./interactive-auth.ts";
24
+ import { type IMinimalEvent, type IRoomEvent, type IStateEvent, type ReceivedToDeviceMessage } from "./sync-accumulator.ts";
25
+ import type { EventTimelineSet } from "./models/event-timeline-set.ts";
26
+ import { type Room, type RoomEvent, type RoomEventHandlerMap, type RoomNameState } from "./models/room.ts";
27
+ import { RoomMemberEvent, type RoomMemberEventHandlerMap } from "./models/room-member.ts";
28
+ import { RoomStateEvent, type RoomStateEventHandlerMap } from "./models/room-state.ts";
29
+ import { UpdateDelayedEventAction, type DelayedEventInfo, type IAddThreePidOnlyBody, type IBindThreePidBody, type ICreateRoomOpts, type IEventSearchOpts, type IGuestAccessOpts, type IJoinRoomOpts, type InviteOpts, type IPaginateOpts, type IPresenceOpts, type IRedactOpts, type IRelationsRequestOpts, type IRelationsResponse, type IRoomDirectoryOptions, type ISearchOpts, type ISendEventResponse, type IStatusResponse, type ITagsResponse, type KnockRoomOpts, type SendDelayedEventRequestOpts, type SendDelayedEventResponse } from "./@types/requests.ts";
30
+ import { type AccountDataEvents, EventType, RelationType, type RoomAccountDataEvents, RoomType, type StateEvents, type TimelineEvents, type WritableAccountDataEvents } from "./@types/event.ts";
31
+ import { type IdServerUnbindResult, type JoinRule, Preset, type Terms, type Visibility } from "./@types/partials.ts";
32
+ import { type EventMapper, type MapperOpts } from "./event-mapper.ts";
33
+ import { MSC3089TreeSpace } from "./models/MSC3089TreeSpace.ts";
34
+ import { type ISignatures } from "./@types/signed.ts";
35
+ import { type IStore } from "./store/index.ts";
36
+ import { type IEventWithRoomId, type ISearchRequestBody, type ISearchResponse, type ISearchResults, type IStateEventWithRoomId } from "./@types/search.ts";
37
+ import { type ISynapseAdminDeactivateResponse, type ISynapseAdminWhoisResponse } from "./@types/synapse.ts";
38
+ import { type IHierarchyRoom } from "./@types/spaces.ts";
39
+ import { type IPusher, type IPusherRequest, type IPushRule, type IPushRules, type PushRuleAction, PushRuleKind, type RuleId } from "./@types/PushRules.ts";
40
+ import { type IThreepid } from "./@types/threepids.ts";
41
+ import { type CryptoStore } from "./crypto/store/base.ts";
42
+ import { GroupCall, type GroupCallIntent, type GroupCallType, type IGroupCallDataChannelOptions } from "./webrtc/groupCall.ts";
43
+ import { MediaHandler } from "./webrtc/mediaHandler.ts";
44
+ import { type ILoginFlowsResponse, type IRefreshTokenResponse, type LoginRequest, type LoginResponse, type LoginTokenPostResponse, type SSOAction } from "./@types/auth.ts";
45
+ import { TypedEventEmitter } from "./models/typed-event-emitter.ts";
46
+ import { ReceiptType } from "./@types/read_receipts.ts";
47
+ import { type MSC3575SlidingSyncRequest, type MSC3575SlidingSyncResponse, type SlidingSync } from "./sliding-sync.ts";
48
+ import { SlidingSyncSdk } from "./sliding-sync-sdk.ts";
49
+ import { FeatureSupport, ThreadFilterType } from "./models/thread.ts";
50
+ import { type MBeaconInfoEventContent } from "./@types/beacon.ts";
51
+ import { NamespacedValue, UnstableValue } from "./NamespacedValue.ts";
52
+ import { type ToDeviceBatch, type ToDevicePayload } from "./models/ToDeviceMessage.ts";
53
+ import { IgnoredInvites } from "./models/invites-ignorer.ts";
54
+ import { type LocalNotificationSettings } from "./@types/local_notifications.ts";
55
+ import { Feature, ServerSupport } from "./feature.ts";
56
+ import { type CrossSigningKeyInfo, type CryptoApi, type CryptoCallbacks, CryptoEvent, type CryptoEventHandlerMap } from "./crypto-api/index.ts";
57
+ import { type SecretStorageKeyDescription, type ServerSideSecretStorage } from "./secret-storage.ts";
58
+ import { type RegisterRequest, type RegisterResponse } from "./@types/registration.ts";
59
+ import { MatrixRTCSessionManager } from "./matrixrtc/MatrixRTCSessionManager.ts";
60
+ import { type Membership } from "./@types/membership.ts";
61
+ import { type RoomMessageEventContent } from "./@types/events.ts";
62
+ import { type ImageInfo } from "./@types/media.ts";
63
+ import { type Capabilities } from "./serverCapabilities.ts";
64
+ import { type OidcClientConfig } from "./oidc/index.ts";
65
+ import { type EmptyObject } from "./@types/common.ts";
66
+ import { type Transport } from "./matrixrtc/index.ts";
67
+ export type Store = IStore;
68
+ export type ResetTimelineCallback = (roomId: string) => boolean;
69
+ export declare const UNSTABLE_MSC3852_LAST_SEEN_UA: UnstableValue<"last_seen_user_agent", "org.matrix.msc3852.last_seen_user_agent">;
70
+ export interface IKeysUploadResponse {
71
+ one_time_key_counts: {
72
+ [algorithm: string]: number;
73
+ };
74
+ }
75
+ export interface ICreateClientOpts {
76
+ baseUrl: string;
77
+ idBaseUrl?: string;
78
+ /**
79
+ * The data store used for sync data from the homeserver. If not specified,
80
+ * this client will not store any HTTP responses. The `createClient` helper
81
+ * will create a default store if needed.
82
+ */
83
+ store?: Store;
84
+ /**
85
+ * A store to be used for end-to-end crypto session data.
86
+ * The `createClient` helper will create a default store if needed. Calls the factory supplied to
87
+ * {@link setCryptoStoreFactory} if unspecified; or if no factory has been
88
+ * specified, uses a default implementation (indexeddb in the browser,
89
+ * in-memory otherwise).
90
+ *
91
+ * This is only used for the legacy crypto implementation,
92
+ * but if you use the rust crypto implementation ({@link MatrixClient#initRustCrypto}) and the device
93
+ * previously used legacy crypto (so must be migrated), then this must still be provided, so that the
94
+ * data can be migrated from the legacy store.
95
+ */
96
+ cryptoStore?: CryptoStore;
97
+ /**
98
+ * The scheduler to use. If not
99
+ * specified, this client will not retry requests on failure. This client
100
+ * will supply its own processing function to
101
+ * {@link MatrixScheduler#setProcessFunction}.
102
+ */
103
+ scheduler?: MatrixScheduler;
104
+ /**
105
+ * The function to invoke for HTTP requests.
106
+ * Most supported environments have a global `fetch` registered to which this will fall back.
107
+ */
108
+ fetchFn?: typeof globalThis.fetch;
109
+ userId?: string;
110
+ /**
111
+ * A unique identifier for this device; used for tracking things like crypto
112
+ * keys and access tokens. If not specified, end-to-end encryption will be
113
+ * disabled.
114
+ */
115
+ deviceId?: string;
116
+ accessToken?: string;
117
+ refreshToken?: string;
118
+ /**
119
+ * Function used to attempt refreshing access and refresh tokens
120
+ * Called by http-api when a possibly expired token is encountered
121
+ * and a refreshToken is found
122
+ */
123
+ tokenRefreshFunction?: TokenRefreshFunction;
124
+ /**
125
+ * Identity server provider to retrieve the user's access token when accessing
126
+ * the identity server. See also https://github.com/vector-im/element-web/issues/10615
127
+ * which seeks to replace the previous approach of manual access tokens params
128
+ * with this callback throughout the SDK.
129
+ */
130
+ identityServer?: IIdentityServerProvider;
131
+ /**
132
+ * The default maximum amount of
133
+ * time to wait before timing out HTTP requests. If not specified, there is no timeout.
134
+ */
135
+ localTimeoutMs?: number;
136
+ /**
137
+ * Set to false to send the access token to the server via a query parameter rather
138
+ * than the Authorization HTTP header.
139
+ *
140
+ * Note that as of v1.11 of the Matrix spec, sending the access token via a query
141
+ * is deprecated.
142
+ *
143
+ * Default true.
144
+ */
145
+ useAuthorizationHeader?: boolean;
146
+ /**
147
+ * Set to true to enable
148
+ * improved timeline support, see {@link MatrixClient#getEventTimeline}.
149
+ * It is disabled by default for compatibility with older clients - in particular to
150
+ * maintain support for back-paginating the live timeline after a '/sync'
151
+ * result with a gap.
152
+ */
153
+ timelineSupport?: boolean;
154
+ /**
155
+ * Extra query parameters to append
156
+ * to all requests with this client. Useful for application services which require
157
+ * `?user_id=`.
158
+ */
159
+ queryParams?: QueryDict;
160
+ /**
161
+ * Encryption key used for encrypting sensitive data (such as e2ee keys) in {@link ICreateClientOpts#cryptoStore}.
162
+ *
163
+ * This must be set to the same value every time the client is initialised for the same device.
164
+ *
165
+ * This is only used for the legacy crypto implementation,
166
+ * but if you use the rust crypto implementation ({@link MatrixClient#initRustCrypto}) and the device
167
+ * previously used legacy crypto (so must be migrated), then this must still be provided, so that the
168
+ * data can be migrated from the legacy store.
169
+ */
170
+ pickleKey?: string;
171
+ /**
172
+ * Verification methods we should offer to the other side when performing an interactive verification.
173
+ * If unset, we will offer all known methods. Currently these are: showing a QR code, scanning a QR code, and SAS
174
+ * (aka "emojis").
175
+ *
176
+ * See {@link types.VerificationMethod} for a set of useful constants for this parameter.
177
+ */
178
+ verificationMethods?: Array<string>;
179
+ /**
180
+ * Whether relaying calls through a TURN server should be forced. Default false.
181
+ */
182
+ forceTURN?: boolean;
183
+ /**
184
+ * Up to this many ICE candidates will be gathered when an incoming call arrives.
185
+ * Gathering does not send data to the caller, but will communicate with the configured TURN
186
+ * server. Default 0.
187
+ */
188
+ iceCandidatePoolSize?: number;
189
+ /**
190
+ * True to advertise support for call transfers to other parties on Matrix calls. Default false.
191
+ */
192
+ supportsCallTransfer?: boolean;
193
+ /**
194
+ * Whether to allow a fallback ICE server should be used for negotiating a
195
+ * WebRTC connection if the homeserver doesn't provide any servers. Defaults to false.
196
+ */
197
+ fallbackICEServerAllowed?: boolean;
198
+ /**
199
+ * If true, to-device signalling for group calls will be encrypted
200
+ * with Olm. Default: true.
201
+ */
202
+ useE2eForGroupCall?: boolean;
203
+ livekitServiceURL?: string;
204
+ /**
205
+ * Crypto callbacks provided by the application
206
+ */
207
+ cryptoCallbacks?: CryptoCallbacks;
208
+ /**
209
+ * Enable encrypted state events.
210
+ */
211
+ enableEncryptedStateEvents?: boolean;
212
+ /**
213
+ * Method to generate room names for empty rooms and rooms names based on membership.
214
+ * Defaults to a built-in English handler with basic pluralisation.
215
+ */
216
+ roomNameGenerator?: (roomId: string, state: RoomNameState) => string | null;
217
+ /**
218
+ * If true, participant can join group call without video and audio this has to be allowed. By default, a local
219
+ * media stream is needed to establish a group call.
220
+ * Default: false.
221
+ */
222
+ isVoipWithNoMediaAllowed?: boolean;
223
+ /**
224
+ * Disable VoIP support (prevents fetching TURN servers, etc.)
225
+ * Default: false (VoIP enabled)
226
+ */
227
+ disableVoip?: boolean;
228
+ /**
229
+ * If true, group calls will not establish media connectivity and only create the signaling events,
230
+ * so that livekit media can be used in the application layer (js-sdk contains no livekit code).
231
+ */
232
+ useLivekitForGroupCalls?: boolean;
233
+ /**
234
+ * A logger to associate with this MatrixClient.
235
+ * Defaults to the built-in global logger; see {@link DebugLogger} for an alternative.
236
+ */
237
+ logger?: Logger;
238
+ }
239
+ export interface IMatrixClientCreateOpts extends ICreateClientOpts {
240
+ /**
241
+ * Whether to allow sending messages to encrypted rooms when encryption
242
+ * is not available internally within this SDK. This is useful if you are using an external
243
+ * E2E proxy, for example. Defaults to false.
244
+ */
245
+ usingExternalCrypto?: boolean;
246
+ }
247
+ export declare enum PendingEventOrdering {
248
+ Chronological = "chronological",
249
+ Detached = "detached"
250
+ }
251
+ export interface IStartClientOpts {
252
+ /**
253
+ * The event `limit=` to apply to initial sync. Default: 8.
254
+ */
255
+ initialSyncLimit?: number;
256
+ /**
257
+ * True to put `archived=true</code> on the <code>/initialSync` request. Default: false.
258
+ */
259
+ includeArchivedRooms?: boolean;
260
+ /**
261
+ * True to do /profile requests on every invite event if the displayname/avatar_url is not known for this user ID. Default: false.
262
+ */
263
+ resolveInvitesToProfiles?: boolean;
264
+ /**
265
+ * Controls where pending messages appear in a room's timeline. If "<b>chronological</b>", messages will
266
+ * appear in the timeline when the call to `sendEvent` was made. If "<b>detached</b>",
267
+ * pending messages will appear in a separate list, accessible via {@link Room#getPendingEvents}.
268
+ * Default: "chronological".
269
+ */
270
+ pendingEventOrdering?: PendingEventOrdering;
271
+ /**
272
+ * The number of milliseconds to wait on /sync. Default: 30000 (30 seconds).
273
+ */
274
+ pollTimeout?: number;
275
+ /**
276
+ * The filter to apply to /sync calls.
277
+ */
278
+ filter?: Filter;
279
+ /**
280
+ * True to perform syncing without automatically updating presence.
281
+ */
282
+ disablePresence?: boolean;
283
+ /**
284
+ * True to not load all membership events during initial sync but fetch them when needed by calling
285
+ * `loadOutOfBandMembers` This will override the filter option at this moment.
286
+ */
287
+ lazyLoadMembers?: boolean;
288
+ /**
289
+ * The number of seconds between polls to /.well-known/matrix/client, undefined to disable.
290
+ * This should be in the order of hours. Default: undefined.
291
+ */
292
+ clientWellKnownPollPeriod?: number;
293
+ /**
294
+ * Will organises events in threaded conversations when
295
+ * a thread relation is encountered
296
+ */
297
+ threadSupport?: boolean;
298
+ /**
299
+ * @experimental
300
+ */
301
+ slidingSync?: SlidingSync;
302
+ /**
303
+ * Include user profiles in sync responses.
304
+ * Will only work if the server supports MSC4429.
305
+ */
306
+ unstableMSC4429SyncUserProfileFields?: string[];
307
+ }
308
+ export interface IStoredClientOpts extends IStartClientOpts {
309
+ }
310
+ export declare const GET_LOGIN_TOKEN_CAPABILITY: NamespacedValue<"m.get_login_token", "org.matrix.msc3882.get_login_token">;
311
+ export declare const UNSTABLE_MSC2666_SHARED_ROOMS = "uk.half-shot.msc2666";
312
+ export declare const UNSTABLE_MSC2666_MUTUAL_ROOMS = "uk.half-shot.msc2666.mutual_rooms";
313
+ export declare const UNSTABLE_MSC2666_QUERY_MUTUAL_ROOMS = "uk.half-shot.msc2666.query_mutual_rooms";
314
+ export declare const UNSTABLE_MSC4140_DELAYED_EVENTS = "org.matrix.msc4140";
315
+ export declare const UNSTABLE_MSC4354_STICKY_EVENTS = "org.matrix.msc4354";
316
+ export declare const UNSTABLE_MSC4133_EXTENDED_PROFILES = "uk.tcpip.msc4133";
317
+ export declare const STABLE_MSC4133_EXTENDED_PROFILES = "uk.tcpip.msc4133.stable";
318
+ declare enum CrossSigningKeyType {
319
+ MasterKey = "master_key",
320
+ SelfSigningKey = "self_signing_key",
321
+ UserSigningKey = "user_signing_key"
322
+ }
323
+ export type CrossSigningKeys = Record<CrossSigningKeyType, CrossSigningKeyInfo>;
324
+ export type SendToDeviceContentMap = Map<string, Map<string, Record<string, any>>>;
325
+ export interface ISignedKey {
326
+ keys: Record<string, string>;
327
+ signatures: ISignatures;
328
+ user_id: string;
329
+ algorithms: string[];
330
+ device_id: string;
331
+ }
332
+ export type KeySignatures = Record<string, Record<string, CrossSigningKeyInfo | ISignedKey>>;
333
+ export interface IUploadKeySignaturesResponse {
334
+ failures: Record<string, Record<string, {
335
+ errcode: string;
336
+ error: string;
337
+ }>>;
338
+ }
339
+ export interface IPreviewUrlResponse {
340
+ [key: string]: undefined | string | number;
341
+ "og:title": string;
342
+ "og:type": string;
343
+ "og:url": string;
344
+ "og:image"?: string;
345
+ "og:image:type"?: string;
346
+ "og:image:height"?: number;
347
+ "og:image:width"?: number;
348
+ "og:description"?: string;
349
+ "matrix:image:size"?: number;
350
+ }
351
+ export interface ITurnServerResponse {
352
+ uris: string[];
353
+ username: string;
354
+ password: string;
355
+ ttl: number;
356
+ }
357
+ export interface ITurnServer {
358
+ urls: string[];
359
+ username: string;
360
+ credential: string;
361
+ }
362
+ export interface IServerVersions {
363
+ versions: string[];
364
+ unstable_features: Record<string, boolean>;
365
+ }
366
+ export interface IClientWellKnown {
367
+ [key: string]: any;
368
+ "m.homeserver"?: IWellKnownConfig;
369
+ "m.identity_server"?: IWellKnownConfig;
370
+ }
371
+ export interface IWellKnownConfig<T = IClientWellKnown> {
372
+ raw?: T;
373
+ action?: AutoDiscoveryAction;
374
+ reason?: string;
375
+ error?: Error | string;
376
+ base_url?: string | null;
377
+ server_name?: string;
378
+ }
379
+ interface IMediaConfig {
380
+ [key: string]: any;
381
+ "m.upload.size"?: number;
382
+ }
383
+ interface ITagMetadata {
384
+ [key: string]: any;
385
+ order?: number;
386
+ }
387
+ interface IMessagesResponse {
388
+ start?: string;
389
+ end?: string;
390
+ chunk: IRoomEvent[];
391
+ state?: IStateEvent[];
392
+ }
393
+ export interface IRequestTokenResponse {
394
+ sid: string;
395
+ submit_url?: string;
396
+ }
397
+ export interface IRequestMsisdnTokenResponse extends IRequestTokenResponse {
398
+ msisdn: string;
399
+ success: boolean;
400
+ intl_fmt: string;
401
+ }
402
+ export interface IUploadKeysRequest {
403
+ "device_keys"?: Required<IDeviceKeys>;
404
+ "one_time_keys"?: Record<string, IOneTimeKey>;
405
+ "org.matrix.msc2732.fallback_keys"?: Record<string, IOneTimeKey>;
406
+ }
407
+ export interface IQueryKeysRequest {
408
+ device_keys: {
409
+ [userId: string]: string[];
410
+ };
411
+ timeout?: number;
412
+ token?: string;
413
+ }
414
+ export interface IClaimKeysRequest {
415
+ one_time_keys: {
416
+ [userId: string]: {
417
+ [deviceId: string]: string;
418
+ };
419
+ };
420
+ timeout?: number;
421
+ }
422
+ export interface IOpenIDToken {
423
+ access_token: string;
424
+ token_type: "Bearer" | string;
425
+ matrix_server_name: string;
426
+ expires_in: number;
427
+ }
428
+ interface IRoomInitialSyncResponse {
429
+ room_id: string;
430
+ membership: Membership;
431
+ messages?: {
432
+ start?: string;
433
+ end?: string;
434
+ chunk: IEventWithRoomId[];
435
+ };
436
+ state?: IStateEventWithRoomId[];
437
+ visibility: Visibility;
438
+ account_data?: IMinimalEvent[];
439
+ presence: Partial<IEvent>;
440
+ }
441
+ interface IJoinedRoomsResponse {
442
+ joined_rooms: string[];
443
+ }
444
+ interface IJoinedMembersResponse {
445
+ joined: {
446
+ [userId: string]: {
447
+ display_name: string;
448
+ avatar_url: string;
449
+ };
450
+ };
451
+ }
452
+ export type IRegisterRequestParams = RegisterRequest;
453
+ export interface IPublicRoomsChunkRoom {
454
+ room_id: string;
455
+ name?: string;
456
+ avatar_url?: string;
457
+ topic?: string;
458
+ canonical_alias?: string;
459
+ aliases?: string[];
460
+ world_readable: boolean;
461
+ guest_can_join: boolean;
462
+ num_joined_members: number;
463
+ room_type?: RoomType | string;
464
+ join_rule?: JoinRule.Knock | JoinRule.Public;
465
+ }
466
+ interface IPublicRoomsResponse {
467
+ chunk: IPublicRoomsChunkRoom[];
468
+ next_batch?: string;
469
+ prev_batch?: string;
470
+ total_room_count_estimate?: number;
471
+ }
472
+ interface IUserDirectoryResponse {
473
+ results: {
474
+ user_id: string;
475
+ display_name?: string;
476
+ avatar_url?: string;
477
+ }[];
478
+ limited: boolean;
479
+ }
480
+ export interface IMyDevice {
481
+ "device_id": string;
482
+ "display_name"?: string;
483
+ "last_seen_ip"?: string;
484
+ "last_seen_ts"?: number;
485
+ "last_seen_user_agent"?: string;
486
+ "org.matrix.msc3852.last_seen_user_agent"?: string;
487
+ }
488
+ export interface Keys {
489
+ keys: {
490
+ [keyId: string]: string;
491
+ };
492
+ usage: string[];
493
+ user_id: string;
494
+ }
495
+ export interface SigningKeys extends Keys {
496
+ signatures: ISignatures;
497
+ }
498
+ export interface DeviceKeys {
499
+ [deviceId: string]: IDeviceKeys & {
500
+ unsigned?: {
501
+ device_display_name: string;
502
+ };
503
+ };
504
+ }
505
+ export interface IDownloadKeyResult {
506
+ failures: {
507
+ [serverName: string]: object;
508
+ };
509
+ device_keys: {
510
+ [userId: string]: DeviceKeys;
511
+ };
512
+ master_keys?: {
513
+ [userId: string]: Keys;
514
+ };
515
+ self_signing_keys?: {
516
+ [userId: string]: SigningKeys;
517
+ };
518
+ user_signing_keys?: {
519
+ [userId: string]: SigningKeys;
520
+ };
521
+ }
522
+ export interface IClaimOTKsResult {
523
+ failures: {
524
+ [serverName: string]: object;
525
+ };
526
+ one_time_keys: {
527
+ [userId: string]: {
528
+ [deviceId: string]: {
529
+ [keyId: string]: {
530
+ key: string;
531
+ signatures: ISignatures;
532
+ };
533
+ };
534
+ };
535
+ };
536
+ }
537
+ export interface IFieldType {
538
+ regexp: string;
539
+ placeholder: string;
540
+ }
541
+ export interface IInstance {
542
+ desc: string;
543
+ icon?: string;
544
+ fields: object;
545
+ network_id: string;
546
+ instance_id: string;
547
+ }
548
+ export interface IProtocol {
549
+ user_fields: string[];
550
+ location_fields: string[];
551
+ icon: string;
552
+ field_types: Record<string, IFieldType>;
553
+ instances: IInstance[];
554
+ }
555
+ interface IThirdPartyLocation {
556
+ alias: string;
557
+ protocol: string;
558
+ fields: object;
559
+ }
560
+ interface IThirdPartyUser {
561
+ userid: string;
562
+ protocol: string;
563
+ fields: object;
564
+ }
565
+ /**
566
+ * The summary of a room as defined by an initial version of MSC3266 and implemented in Synapse
567
+ * Proposed at https://github.com/matrix-org/matrix-doc/pull/3266
568
+ */
569
+ export interface RoomSummary extends Omit<IPublicRoomsChunkRoom, "canonical_alias" | "aliases"> {
570
+ /**
571
+ * The current membership of this user in the room.
572
+ * Usually "leave" if the room is fetched over federation.
573
+ */
574
+ "membership"?: Membership;
575
+ /**
576
+ * Version of the room.
577
+ */
578
+ "im.nheko.summary.room_version"?: string;
579
+ /**
580
+ * The encryption algorithm used for this room, if the room is encrypted.
581
+ */
582
+ "im.nheko.summary.encryption"?: string;
583
+ }
584
+ interface IRoomHierarchy {
585
+ rooms: IHierarchyRoom[];
586
+ next_batch?: string;
587
+ }
588
+ export interface TimestampToEventResponse {
589
+ event_id: string;
590
+ origin_server_ts: number;
591
+ }
592
+ interface IWhoamiResponse {
593
+ user_id: string;
594
+ device_id?: string;
595
+ is_guest?: boolean;
596
+ }
597
+ export declare enum ClientEvent {
598
+ /**
599
+ * Fires whenever the SDK's syncing state is updated. The state can be one of:
600
+ * <ul>
601
+ *
602
+ * <li>PREPARED: The client has synced with the server at least once and is
603
+ * ready for methods to be called on it. This will be immediately followed by
604
+ * a state of SYNCING. <i>This is the equivalent of "syncComplete" in the
605
+ * previous API.</i></li>
606
+ *
607
+ * <li>CATCHUP: The client has detected the connection to the server might be
608
+ * available again and will now try to do a sync again. As this sync might take
609
+ * a long time (depending how long ago was last synced, and general server
610
+ * performance) the client is put in this mode so the UI can reflect trying
611
+ * to catch up with the server after losing connection.</li>
612
+ *
613
+ * <li>SYNCING : The client is currently polling for new events from the server.
614
+ * This will be called <i>after</i> processing latest events from a sync.</li>
615
+ *
616
+ * <li>ERROR : The client has had a problem syncing with the server. If this is
617
+ * called <i>before</i> PREPARED then there was a problem performing the initial
618
+ * sync. If this is called <i>after</i> PREPARED then there was a problem polling
619
+ * the server for updates. This may be called multiple times even if the state is
620
+ * already ERROR. <i>This is the equivalent of "syncError" in the previous
621
+ * API.</i></li>
622
+ *
623
+ * <li>RECONNECTING: The sync connection has dropped, but not (yet) in a way that
624
+ * should be considered erroneous.
625
+ * </li>
626
+ *
627
+ * <li>STOPPED: The client has stopped syncing with server due to stopClient
628
+ * being called.
629
+ * </li>
630
+ * </ul>
631
+ * State transition diagram:
632
+ * ```
633
+ * +---->STOPPED
634
+ * |
635
+ * +----->PREPARED -------> SYNCING <--+
636
+ * | ^ | ^ |
637
+ * | CATCHUP ----------+ | | |
638
+ * | ^ V | |
639
+ * null ------+ | +------- RECONNECTING |
640
+ * | V V |
641
+ * +------->ERROR ---------------------+
642
+ *
643
+ * NB: 'null' will never be emitted by this event.
644
+ *
645
+ * ```
646
+ * Transitions:
647
+ * <ul>
648
+ *
649
+ * <li>`null -> PREPARED` : Occurs when the initial sync is completed
650
+ * first time. This involves setting up filters and obtaining push rules.
651
+ *
652
+ * <li>`null -> ERROR` : Occurs when the initial sync failed first time.
653
+ *
654
+ * <li>`ERROR -> PREPARED` : Occurs when the initial sync succeeds
655
+ * after previously failing.
656
+ *
657
+ * <li>`PREPARED -> SYNCING` : Occurs immediately after transitioning
658
+ * to PREPARED. Starts listening for live updates rather than catching up.
659
+ *
660
+ * <li>`SYNCING -> RECONNECTING` : Occurs when the live update fails.
661
+ *
662
+ * <li>`RECONNECTING -> RECONNECTING` : Can occur if the update calls
663
+ * continue to fail, but the keepalive calls (to /versions) succeed.
664
+ *
665
+ * <li>`RECONNECTING -> ERROR` : Occurs when the keepalive call also fails
666
+ *
667
+ * <li>`ERROR -> SYNCING` : Occurs when the client has performed a
668
+ * live update after having previously failed.
669
+ *
670
+ * <li>`ERROR -> ERROR` : Occurs when the client has failed to keepalive
671
+ * for a second time or more.</li>
672
+ *
673
+ * <li>`SYNCING -> SYNCING` : Occurs when the client has performed a live
674
+ * update. This is called <i>after</i> processing.</li>
675
+ *
676
+ * <li>`* -> STOPPED` : Occurs once the client has stopped syncing or
677
+ * trying to sync after stopClient has been called.</li>
678
+ * </ul>
679
+ *
680
+ * The payloads consits of the following 3 parameters:
681
+ *
682
+ * - state - An enum representing the syncing state. One of "PREPARED",
683
+ * "SYNCING", "ERROR", "STOPPED".
684
+ *
685
+ * - prevState - An enum representing the previous syncing state.
686
+ * One of "PREPARED", "SYNCING", "ERROR", "STOPPED" <b>or null</b>.
687
+ *
688
+ * - data - Data about this transition.
689
+ *
690
+ * @example
691
+ * ```
692
+ * matrixClient.on("sync", function(state, prevState, data) {
693
+ * switch (state) {
694
+ * case "ERROR":
695
+ * // update UI to say "Connection Lost"
696
+ * break;
697
+ * case "SYNCING":
698
+ * // update UI to remove any "Connection Lost" message
699
+ * break;
700
+ * case "PREPARED":
701
+ * // the client instance is ready to be queried.
702
+ * var rooms = matrixClient.getRooms();
703
+ * break;
704
+ * }
705
+ * });
706
+ * ```
707
+ */
708
+ Sync = "sync",
709
+ /**
710
+ * Fires whenever the SDK receives a new event.
711
+ * <p>
712
+ * This is only fired for live events received via /sync - it is not fired for
713
+ * events received over context, search, or pagination APIs.
714
+ *
715
+ * The payload is the matrix event which caused this event to fire.
716
+ * @example
717
+ * ```
718
+ * matrixClient.on("event", function(event){
719
+ * var sender = event.getSender();
720
+ * });
721
+ * ```
722
+ */
723
+ Event = "event",
724
+ /** @deprecated Use {@link ReceivedToDeviceMessage}.
725
+ * Fires whenever the SDK receives a new to-device event.
726
+ * The payload is the matrix event ({@link MatrixEvent}) which caused this event to fire.
727
+ * @example
728
+ * ```
729
+ * matrixClient.on("toDeviceEvent", function(event){
730
+ * var sender = event.getSender();
731
+ * });
732
+ * ```
733
+ */
734
+ ToDeviceEvent = "toDeviceEvent",
735
+ /**
736
+ * Fires whenever the SDK receives a new (potentially decrypted) to-device message.
737
+ * The payload is the to-device message and the encryption info for that message ({@link ReceivedToDeviceMessage}).
738
+ * @example
739
+ * ```
740
+ * matrixClient.on("receivedToDeviceMessage", function(payload){
741
+ * const { message, encryptionInfo } = payload;
742
+ * var claimed_sender = encryptionInfo ? encryptionInfo.sender : message.sender;
743
+ * var isVerified = encryptionInfo ? encryptionInfo.verified : false;
744
+ * var type = message.type;
745
+ * });
746
+ */
747
+ ReceivedToDeviceMessage = "receivedToDeviceMessage",
748
+ /**
749
+ * Fires whenever new user-scoped account_data is added.
750
+ * The payload is a pair of event ({@link MatrixEvent}) describing the account_data just added, and the previous event, if known:
751
+ * - event: The event describing the account_data just added
752
+ * - oldEvent: The previous account data, if known.
753
+ * @example
754
+ * ```
755
+ * matrixClient.on("accountData", function(event, oldEvent){
756
+ * myAccountData[event.type] = event.content;
757
+ * });
758
+ * ```
759
+ */
760
+ AccountData = "accountData",
761
+ /**
762
+ * Fires whenever a new Room is added. This will fire when you are invited to a
763
+ * room, as well as when you join a room. <strong>This event is experimental and
764
+ * may change.</strong>
765
+ *
766
+ * The payload is the newly created room, fully populated.
767
+ * @example
768
+ * ```
769
+ * matrixClient.on("Room", function(room){
770
+ * var roomId = room.roomId;
771
+ * });
772
+ * ```
773
+ */
774
+ Room = "Room",
775
+ /**
776
+ * Fires whenever a Room is removed. This will fire when you forget a room.
777
+ * <strong>This event is experimental and may change.</strong>
778
+ * The payload is the roomId of the deleted room.
779
+ * @example
780
+ * ```
781
+ * matrixClient.on("deleteRoom", function(roomId){
782
+ * // update UI from getRooms()
783
+ * });
784
+ * ```
785
+ */
786
+ DeleteRoom = "deleteRoom",
787
+ SyncUnexpectedError = "sync.unexpectedError",
788
+ /**
789
+ * Fires when the client .well-known info is fetched.
790
+ * The payload is the JSON object (see {@link IClientWellKnown}) returned by the server
791
+ */
792
+ ClientWellKnown = "WellKnown.client",
793
+ ReceivedVoipEvent = "received_voip_event",
794
+ TurnServers = "turnServers",
795
+ TurnServersError = "turnServers.error",
796
+ UserProfileUpdate = "userProfileUpdate"
797
+ }
798
+ type RoomEvents = RoomEvent.Name | RoomEvent.Redaction | RoomEvent.RedactionCancelled | RoomEvent.Receipt | RoomEvent.Tags | RoomEvent.LocalEchoUpdated | RoomEvent.HistoryImportedWithinTimeline | RoomEvent.AccountData | RoomEvent.MyMembership | RoomEvent.Timeline | RoomEvent.TimelineReset;
799
+ type RoomStateEvents = RoomStateEvent.Events | RoomStateEvent.Members | RoomStateEvent.NewMember | RoomStateEvent.Update | RoomStateEvent.Marker;
800
+ type CryptoEvents = (typeof CryptoEvent)[keyof typeof CryptoEvent];
801
+ type MatrixEventEvents = MatrixEventEvent.Decrypted | MatrixEventEvent.Replaced | MatrixEventEvent.VisibilityChange;
802
+ type RoomMemberEvents = RoomMemberEvent.Name | RoomMemberEvent.Typing | RoomMemberEvent.PowerLevel | RoomMemberEvent.Membership;
803
+ type UserEvents = UserEvent.AvatarUrl | UserEvent.DisplayName | UserEvent.Presence | UserEvent.CurrentlyActive | UserEvent.LastPresenceTs;
804
+ export type EmittedEvents = ClientEvent | RoomEvents | RoomStateEvents | CryptoEvents | MatrixEventEvents | RoomMemberEvents | UserEvents | CallEvent | CallEventHandlerEvent.Incoming | GroupCallEventHandlerEvent.Incoming | GroupCallEventHandlerEvent.Outgoing | GroupCallEventHandlerEvent.Ended | GroupCallEventHandlerEvent.Participants | HttpApiEvent.SessionLoggedOut | HttpApiEvent.NoConsent | BeaconEvent;
805
+ export type ClientEventHandlerMap = {
806
+ [ClientEvent.Sync]: (state: SyncState, prevState: SyncState | null, data?: ISyncStateData) => void;
807
+ [ClientEvent.Event]: (event: MatrixEvent) => void;
808
+ [ClientEvent.ToDeviceEvent]: (event: MatrixEvent) => void;
809
+ [ClientEvent.ReceivedToDeviceMessage]: (payload: ReceivedToDeviceMessage) => void;
810
+ [ClientEvent.AccountData]: (event: MatrixEvent, lastEvent?: MatrixEvent) => void;
811
+ [ClientEvent.Room]: (room: Room) => void;
812
+ [ClientEvent.DeleteRoom]: (roomId: string) => void;
813
+ [ClientEvent.SyncUnexpectedError]: (error: Error) => void;
814
+ [ClientEvent.ClientWellKnown]: (data: IClientWellKnown) => void;
815
+ [ClientEvent.ReceivedVoipEvent]: (event: MatrixEvent) => void;
816
+ [ClientEvent.TurnServers]: (servers: ITurnServer[]) => void;
817
+ [ClientEvent.TurnServersError]: (error: Error, fatal: boolean) => void;
818
+ /**
819
+ *
820
+ * @param userId - the user ID of the profile which was updated
821
+ * @param profile - the updated profile information
822
+ */
823
+ [ClientEvent.UserProfileUpdate]: (userId: string, profile: Record<string, unknown> | null) => void;
824
+ } & RoomEventHandlerMap & RoomStateEventHandlerMap & CryptoEventHandlerMap & MatrixEventHandlerMap & RoomMemberEventHandlerMap & UserEventHandlerMap & CallEventHandlerEventHandlerMap & GroupCallEventHandlerEventHandlerMap & CallEventHandlerMap & HttpApiEventHandlerMap & BeaconEventHandlerMap;
825
+ /**
826
+ * Represents a Matrix Client. Only directly construct this if you want to use
827
+ * custom modules. Normally, {@link createClient} should be used
828
+ * as it specifies 'sensible' defaults for these modules.
829
+ */
830
+ export declare class MatrixClient extends TypedEventEmitter<EmittedEvents, ClientEventHandlerMap> {
831
+ static readonly RESTORE_BACKUP_ERROR_BAD_KEY = "RESTORE_BACKUP_ERROR_BAD_KEY";
832
+ private readonly logger;
833
+ reEmitter: TypedReEmitter<EmittedEvents, ClientEventHandlerMap>;
834
+ olmVersion: [number, number, number] | null;
835
+ usingExternalCrypto: boolean;
836
+ private _store;
837
+ deviceId: string | null;
838
+ credentials: {
839
+ userId: string | null;
840
+ };
841
+ /**
842
+ * Encryption key used for encrypting sensitive data (such as e2ee keys) in storage.
843
+ *
844
+ * As supplied in the constructor via {@link IMatrixClientCreateOpts#pickleKey}.
845
+ * Used for migration from the legacy crypto to the rust crypto
846
+ */
847
+ private readonly legacyPickleKey?;
848
+ scheduler?: MatrixScheduler;
849
+ clientRunning: boolean;
850
+ timelineSupport: boolean;
851
+ urlPreviewCache: {
852
+ [key: string]: Promise<IPreviewUrlResponse>;
853
+ };
854
+ identityServer?: IIdentityServerProvider;
855
+ http: MatrixHttpApi<IHttpOpts & {
856
+ onlyData: true;
857
+ }>;
858
+ private cryptoBackend?;
859
+ /**
860
+ * Support MSC4362: Simplified Encrypted State Events.
861
+ *
862
+ * The client must be recreated for changes to this setting to take effect
863
+ * reliably.
864
+ *
865
+ * When this setting is true, if we find a state event that is encrypted
866
+ * (within a room that supports encrypted state), we will attempt to decrypt
867
+ * it as specified in MSC4362. If the user was in the room at the time an
868
+ * encrypted state event was received (meaning we have the key), even if
869
+ * this setting was set to false at the time it was received, recreating the
870
+ * client with this setting set to true will allow decrypting that event.
871
+ *
872
+ * When this setting is false, any state event that is encrypted will not be
873
+ * decrypted, meaning it will have no effect. This matched the behaviour of
874
+ * a client that does not support MSC4362.
875
+ */
876
+ enableEncryptedStateEvents: boolean;
877
+ cryptoCallbacks: CryptoCallbacks;
878
+ callEventHandler?: CallEventHandler;
879
+ groupCallEventHandler?: GroupCallEventHandler;
880
+ supportsCallTransfer: boolean;
881
+ forceTURN: boolean;
882
+ iceCandidatePoolSize: number;
883
+ idBaseUrl?: string;
884
+ baseUrl: string;
885
+ readonly isVoipWithNoMediaAllowed: boolean;
886
+ disableVoip: boolean;
887
+ useLivekitForGroupCalls: boolean;
888
+ protected canSupportVoip: boolean;
889
+ protected peekSync: SyncApi | null;
890
+ protected isGuestAccount: boolean;
891
+ protected ongoingScrollbacks: {
892
+ [roomId: string]: {
893
+ promise?: Promise<Room>;
894
+ errorTs?: number;
895
+ };
896
+ };
897
+ protected notifTimelineSet: EventTimelineSet | null;
898
+ /**
899
+ * Legacy crypto store used for migration from the legacy crypto to the rust crypto
900
+ * @private
901
+ */
902
+ private readonly legacyCryptoStore?;
903
+ protected verificationMethods?: string[];
904
+ protected fallbackICEServerAllowed: boolean;
905
+ protected syncApi?: SlidingSyncSdk | SyncApi;
906
+ roomNameGenerator?: ICreateClientOpts["roomNameGenerator"];
907
+ pushRules?: IPushRules;
908
+ protected syncLeftRoomsPromise?: Promise<Room[]>;
909
+ protected syncedLeftRooms: boolean;
910
+ protected clientOpts?: IStoredClientOpts;
911
+ protected clientWellKnownIntervalID?: ReturnType<typeof setInterval>;
912
+ protected canResetTimelineCallback?: ResetTimelineCallback;
913
+ canSupport: Map<Feature, ServerSupport>;
914
+ readonly pushProcessor: PushProcessor;
915
+ protected serverVersionsPromise?: Promise<IServerVersions>;
916
+ protected clientWellKnown?: IClientWellKnown;
917
+ protected clientWellKnownPromise?: Promise<IClientWellKnown>;
918
+ protected turnServers: ITurnServer[];
919
+ protected turnServersExpiry: number;
920
+ protected checkTurnServersIntervalID?: ReturnType<typeof setInterval>;
921
+ protected txnCtr: number;
922
+ protected mediaHandler: MediaHandler;
923
+ protected sessionId: string;
924
+ /** IDs of events which are currently being encrypted.
925
+ *
926
+ * This is part of the cancellation mechanism: if the event is no longer listed here when encryption completes,
927
+ * that tells us that it has been cancelled, and we should not send it.
928
+ */
929
+ private eventsBeingEncrypted;
930
+ private useE2eForGroupCall;
931
+ private toDeviceMessageQueue;
932
+ livekitServiceURL?: string;
933
+ private _secretStorage;
934
+ readonly ignoredInvites: IgnoredInvites;
935
+ readonly matrixRTC: MatrixRTCSessionManager;
936
+ private serverCapabilitiesService;
937
+ constructor(opts: IMatrixClientCreateOpts);
938
+ set store(newStore: Store);
939
+ get store(): Store;
940
+ /**
941
+ * High level helper method to begin syncing and poll for new events. To listen for these
942
+ * events, add a listener for {@link ClientEvent.Event}
943
+ * via {@link MatrixClient#on}. Alternatively, listen for specific
944
+ * state change events.
945
+ * @param opts - Options to apply when syncing.
946
+ */
947
+ startClient(opts?: IStartClientOpts): Promise<void>;
948
+ /**
949
+ * Construct a SyncApiOptions for this client, suitable for passing into the SyncApi constructor
950
+ */
951
+ protected buildSyncApiOptions(): SyncApiOptions;
952
+ /**
953
+ * High level helper method to stop the client from polling and allow a
954
+ * clean shutdown.
955
+ */
956
+ stopClient(): void;
957
+ /**
958
+ * Clear any data out of the persistent stores used by the client.
959
+ *
960
+ * @param args.cryptoDatabasePrefix - The database name to use for indexeddb, defaults to 'matrix-js-sdk'.
961
+ * @returns Promise which resolves when the stores have been cleared.
962
+ */
963
+ clearStores(args?: {
964
+ cryptoDatabasePrefix?: string;
965
+ }): Promise<void>;
966
+ /**
967
+ * Get the user-id of the logged-in user
968
+ *
969
+ * @returns MXID for the logged-in user, or null if not logged in
970
+ */
971
+ getUserId(): string | null;
972
+ /**
973
+ * Get the user-id of the logged-in user
974
+ *
975
+ * @returns MXID for the logged-in user
976
+ * @throws Error if not logged in
977
+ */
978
+ getSafeUserId(): string;
979
+ /**
980
+ * Get the domain for this client's MXID
981
+ * @returns Domain of this MXID
982
+ */
983
+ getDomain(): string | null;
984
+ /**
985
+ * Get the local part of the current user ID e.g. "foo" in "\@foo:bar".
986
+ * @returns The user ID localpart or null.
987
+ */
988
+ getUserIdLocalpart(): string | null;
989
+ /**
990
+ * Get the device ID of this client
991
+ * @returns device ID
992
+ */
993
+ getDeviceId(): string | null;
994
+ /**
995
+ * Get the session ID of this client
996
+ * @returns session ID
997
+ */
998
+ getSessionId(): string;
999
+ /**
1000
+ * Check if the runtime environment supports VoIP calling.
1001
+ * @returns True if VoIP is supported.
1002
+ */
1003
+ supportsVoip(): boolean;
1004
+ /**
1005
+ * @returns
1006
+ */
1007
+ getMediaHandler(): MediaHandler;
1008
+ /**
1009
+ * Set whether VoIP calls are forced to use only TURN
1010
+ * candidates. This is the same as the forceTURN option
1011
+ * when creating the client.
1012
+ * @param force - True to force use of TURN servers
1013
+ */
1014
+ setForceTURN(force: boolean): void;
1015
+ /**
1016
+ * Set whether to advertise transfer support to other parties on Matrix calls.
1017
+ * @param support - True to advertise the 'm.call.transferee' capability
1018
+ */
1019
+ setSupportsCallTransfer(support: boolean): void;
1020
+ /**
1021
+ * Returns true if to-device signalling for group calls will be encrypted with Olm.
1022
+ * If false, it will be sent unencrypted.
1023
+ * @returns boolean Whether group call signalling will be encrypted
1024
+ */
1025
+ getUseE2eForGroupCall(): boolean;
1026
+ /**
1027
+ * Creates a new call.
1028
+ * The place*Call methods on the returned call can be used to actually place a call
1029
+ *
1030
+ * @param roomId - The room the call is to be placed in.
1031
+ * @returns the call or null if the browser doesn't support calling.
1032
+ */
1033
+ createCall(roomId: string): MatrixCall | null;
1034
+ /**
1035
+ * Creates a new group call and sends the associated state event
1036
+ * to alert other members that the room now has a group call.
1037
+ *
1038
+ * @param roomId - The room the call is to be placed in.
1039
+ */
1040
+ createGroupCall(roomId: string, type: GroupCallType, isPtt: boolean, intent: GroupCallIntent, dataChannelsEnabled?: boolean, dataChannelOptions?: IGroupCallDataChannelOptions): Promise<GroupCall>;
1041
+ getLivekitServiceURL(): string | undefined;
1042
+ setLivekitServiceURL(newURL: string): void;
1043
+ /**
1044
+ * Wait until an initial state for the given room has been processed by the
1045
+ * client and the client is aware of any ongoing group calls. Awaiting on
1046
+ * the promise returned by this method before calling getGroupCallForRoom()
1047
+ * avoids races where getGroupCallForRoom is called before the state for that
1048
+ * room has been processed. It does not, however, fix other races, eg. two
1049
+ * clients both creating a group call at the same time.
1050
+ * @param roomId - The room ID to wait for
1051
+ * @returns A promise that resolves once existing group calls in the room
1052
+ * have been processed.
1053
+ */
1054
+ waitUntilRoomReadyForGroupCalls(roomId: string): Promise<void>;
1055
+ /**
1056
+ * Get an existing group call for the provided room.
1057
+ * @returns The group call or null if it doesn't already exist.
1058
+ */
1059
+ getGroupCallForRoom(roomId: string): GroupCall | null;
1060
+ /**
1061
+ * Get the current sync state.
1062
+ * @returns the sync state, which may be null.
1063
+ * @see MatrixClient#event:"sync"
1064
+ */
1065
+ getSyncState(): SyncState | null;
1066
+ /**
1067
+ * Returns the additional data object associated with
1068
+ * the current sync state, or null if there is no
1069
+ * such data.
1070
+ * Sync errors, if available, are put in the 'error' key of
1071
+ * this object.
1072
+ */
1073
+ getSyncStateData(): ISyncStateData | null;
1074
+ /**
1075
+ * Whether the initial sync has completed.
1076
+ * @returns True if at least one sync has happened.
1077
+ */
1078
+ isInitialSyncComplete(): boolean;
1079
+ /**
1080
+ * Return whether the client is configured for a guest account.
1081
+ * @returns True if this is a guest access_token (or no token is supplied).
1082
+ */
1083
+ isGuest(): boolean;
1084
+ /**
1085
+ * Set whether this client is a guest account. <b>This method is experimental
1086
+ * and may change without warning.</b>
1087
+ * @param guest - True if this is a guest account.
1088
+ * @experimental if the token is a macaroon, it should be encoded in it that it is a 'guest'
1089
+ * access token, which means that the SDK can determine this entirely without
1090
+ * the dev manually flipping this flag.
1091
+ */
1092
+ setGuest(guest: boolean): void;
1093
+ /**
1094
+ * Return the provided scheduler, if any.
1095
+ * @returns The scheduler or undefined
1096
+ */
1097
+ getScheduler(): MatrixScheduler | undefined;
1098
+ /**
1099
+ * Retry a backed off syncing request immediately. This should only be used when
1100
+ * the user <b>explicitly</b> attempts to retry their lost connection.
1101
+ * Will also retry any outbound to-device messages currently in the queue to be sent
1102
+ * (retries of regular outgoing events are handled separately, per-event).
1103
+ * @returns True if this resulted in a request being retried.
1104
+ */
1105
+ retryImmediately(): boolean;
1106
+ /**
1107
+ * Return the global notification EventTimelineSet, if any
1108
+ *
1109
+ * @returns the globl notification EventTimelineSet
1110
+ */
1111
+ getNotifTimelineSet(): EventTimelineSet | null;
1112
+ /**
1113
+ * Set the global notification EventTimelineSet
1114
+ *
1115
+ */
1116
+ setNotifTimelineSet(set: EventTimelineSet): void;
1117
+ /**
1118
+ * Gets the cached capabilities of the homeserver, returning cached ones if available.
1119
+ * If there are no cached capabilities and none can be fetched, throw an exception.
1120
+ *
1121
+ * @returns Promise resolving with The capabilities of the homeserver
1122
+ */
1123
+ getCapabilities(): Promise<Capabilities>;
1124
+ /**
1125
+ * Gets the cached capabilities of the homeserver. If none have been fetched yet,
1126
+ * return undefined.
1127
+ *
1128
+ * @returns The capabilities of the homeserver
1129
+ */
1130
+ getCachedCapabilities(): Capabilities | undefined;
1131
+ /**
1132
+ * Fetches the latest capabilities from the homeserver, ignoring any cached
1133
+ * versions. The newly returned version is cached.
1134
+ *
1135
+ * @returns A promise which resolves to the capabilities of the homeserver
1136
+ */
1137
+ fetchCapabilities(): Promise<Capabilities>;
1138
+ /**
1139
+ * Initialise support for end-to-end encryption in this client, using the rust matrix-sdk-crypto.
1140
+ *
1141
+ * **WARNING**: the cryptography stack is not thread-safe. Having multiple `MatrixClient` instances connected to
1142
+ * the same Indexed DB will cause data corruption and decryption failures. The application layer is responsible for
1143
+ * ensuring that only one `MatrixClient` issue is instantiated at a time.
1144
+ *
1145
+ * @param args.useIndexedDB - True to use an indexeddb store, false to use an in-memory store. Defaults to 'true'.
1146
+ * @param args.cryptoDatabasePrefix - The database name to use for indexeddb, defaults to 'matrix-js-sdk'.
1147
+ * Unused if useIndexedDB is 'false'.
1148
+ * @param args.storageKey - A key with which to encrypt the indexeddb store. If provided, it must be exactly
1149
+ * 32 bytes of data, and must be the same each time the client is initialised for a given device.
1150
+ * If both this and `storagePassword` are unspecified, the store will be unencrypted.
1151
+ * @param args.storagePassword - An alternative to `storageKey`. A password which will be used to derive a key to
1152
+ * encrypt the store with. Deriving a key from a password is (deliberately) a slow operation, so prefer
1153
+ * to pass a `storageKey` directly where possible.
1154
+ *
1155
+ * @returns a Promise which will resolve when the crypto layer has been
1156
+ * successfully initialised.
1157
+ */
1158
+ initRustCrypto(args?: {
1159
+ useIndexedDB?: boolean;
1160
+ cryptoDatabasePrefix?: string;
1161
+ storageKey?: Uint8Array;
1162
+ storagePassword?: string;
1163
+ }): Promise<void>;
1164
+ /**
1165
+ * Access the server-side secret storage API for this client.
1166
+ */
1167
+ get secretStorage(): ServerSideSecretStorage;
1168
+ /**
1169
+ * Access the crypto API for this client.
1170
+ *
1171
+ * If end-to-end encryption has been enabled for this client (via {@link initRustCrypto}),
1172
+ * returns an object giving access to the crypto API. Otherwise, returns `undefined`.
1173
+ */
1174
+ getCrypto(): CryptoApi | undefined;
1175
+ /**
1176
+ * Whether encryption is enabled for a room.
1177
+ * @param roomId - the room id to query.
1178
+ * @returns whether encryption is enabled.
1179
+ *
1180
+ * @deprecated Not correctly supported for Rust Cryptography. Use {@link CryptoApi.isEncryptionEnabledInRoom} and/or
1181
+ * {@link Room.hasEncryptionStateEvent}.
1182
+ */
1183
+ isRoomEncrypted(roomId: string): boolean;
1184
+ /**
1185
+ * Check whether the key backup private key is stored in secret storage.
1186
+ * @returns map of key name to key info the secret is
1187
+ * encrypted with, or null if it is not present or not encrypted with a
1188
+ * trusted key
1189
+ */
1190
+ isKeyBackupKeyStored(): Promise<Record<string, SecretStorageKeyDescription> | null>;
1191
+ private makeKeyBackupPath;
1192
+ deleteKeysFromBackup(roomId: undefined, sessionId: undefined, version?: string): Promise<void>;
1193
+ deleteKeysFromBackup(roomId: string, sessionId: undefined, version?: string): Promise<void>;
1194
+ deleteKeysFromBackup(roomId: string, sessionId: string, version?: string): Promise<void>;
1195
+ /**
1196
+ * Get the config for the media repository.
1197
+ *
1198
+ * @param useAuthenticatedMedia - If true, the caller supports authenticated
1199
+ * media and wants an authentication-required URL. Note that server support
1200
+ * for authenticated media will *not* be checked - it is the caller's responsibility
1201
+ * to do so before calling this function.
1202
+ *
1203
+ * @returns Promise which resolves with an object containing the config.
1204
+ */
1205
+ getMediaConfig(useAuthenticatedMedia?: boolean): Promise<IMediaConfig>;
1206
+ /**
1207
+ * Get the room for the given room ID.
1208
+ * This function will return a valid room for any room for which a Room event
1209
+ * has been emitted. Note in particular that other events, eg. RoomState.members
1210
+ * will be emitted for a room before this function will return the given room.
1211
+ * @param roomId - The room ID
1212
+ * @returns The Room or null if it doesn't exist or there is no data store.
1213
+ */
1214
+ getRoom(roomId: string | undefined): Room | null;
1215
+ /**
1216
+ * Retrieve all known rooms.
1217
+ * @returns A list of rooms, or an empty list if there is no data store.
1218
+ */
1219
+ getRooms(): Room[];
1220
+ /**
1221
+ * Retrieve all rooms that should be displayed to the user
1222
+ * This is essentially getRooms() with some rooms filtered out, eg. old versions
1223
+ * of rooms that have been replaced or (in future) other rooms that have been
1224
+ * marked at the protocol level as not to be displayed to the user.
1225
+ *
1226
+ * @param msc3946ProcessDynamicPredecessor - if true, look for an
1227
+ * m.room.predecessor state event and
1228
+ * use it if found (MSC3946).
1229
+ * @returns A list of rooms, or an empty list if there is no data store.
1230
+ */
1231
+ getVisibleRooms(msc3946ProcessDynamicPredecessor?: boolean): Room[];
1232
+ /**
1233
+ * Retrieve a user.
1234
+ * @param userId - The user ID to retrieve.
1235
+ * @returns A user or null if there is no data store or the user does
1236
+ * not exist.
1237
+ */
1238
+ getUser(userId: string): User | null;
1239
+ /**
1240
+ * Retrieve all known users.
1241
+ * @returns A list of users, or an empty list if there is no data store.
1242
+ */
1243
+ getUsers(): User[];
1244
+ /**
1245
+ * Set account data event for the current user, and wait for the result to be echoed over `/sync`.
1246
+ *
1247
+ * Waiting for the remote echo ensures that a subsequent call to {@link getAccountData} will return the updated
1248
+ * value.
1249
+ *
1250
+ * If called before the client is started with {@link startClient}, logs a warning and falls back to
1251
+ * {@link setAccountDataRaw}.
1252
+ *
1253
+ * Retries the request up to 5 times in the case of an {@link ConnectionError}.
1254
+ *
1255
+ * @param eventType - The event type
1256
+ * @param content - the contents object for the event
1257
+ */
1258
+ setAccountData<K extends keyof WritableAccountDataEvents>(eventType: K, content: AccountDataEvents[K] | Record<string, never>): Promise<EmptyObject>;
1259
+ /**
1260
+ * Set account data event for the current user, without waiting for the remote echo.
1261
+ *
1262
+ * @param eventType - The event type
1263
+ * @param content - the contents object for the event
1264
+ */
1265
+ setAccountDataRaw<K extends keyof WritableAccountDataEvents>(eventType: K, content: AccountDataEvents[K] | Record<string, never>): Promise<EmptyObject>;
1266
+ /**
1267
+ * Get account data event of given type for the current user.
1268
+ * @param eventType - The event type
1269
+ * @returns The contents of the given account data event
1270
+ */
1271
+ getAccountData<K extends keyof AccountDataEvents>(eventType: K): MatrixEvent | undefined;
1272
+ /**
1273
+ * Get account data event of given type for the current user. This variant
1274
+ * gets account data directly from the homeserver if the local store is not
1275
+ * ready, which can be useful very early in startup before the initial sync.
1276
+ * @param eventType - The event type
1277
+ * @returns Promise which resolves: The contents of the given account data event.
1278
+ * @returns Rejects: with an error response.
1279
+ */
1280
+ getAccountDataFromServer<K extends keyof AccountDataEvents>(eventType: K): Promise<AccountDataEvents[K] | null>;
1281
+ deleteAccountData(eventType: keyof WritableAccountDataEvents): Promise<void>;
1282
+ /**
1283
+ * Gets the users that are ignored by this client
1284
+ * @returns The array of users that are ignored (empty if none)
1285
+ */
1286
+ getIgnoredUsers(): string[];
1287
+ /**
1288
+ * Sets the users that the current user should ignore.
1289
+ * @param userIds - the user IDs to ignore
1290
+ * @returns Promise which resolves: an empty object
1291
+ * @returns Rejects: with an error response.
1292
+ */
1293
+ setIgnoredUsers(userIds: string[]): Promise<EmptyObject>;
1294
+ /**
1295
+ * Gets whether or not a specific user is being ignored by this client.
1296
+ * @param userId - the user ID to check
1297
+ * @returns true if the user is ignored, false otherwise
1298
+ */
1299
+ isUserIgnored(userId: string): boolean;
1300
+ /**
1301
+ * Join a room. If you have already joined the room, this will no-op.
1302
+ * @param roomIdOrAlias - The room ID or room alias to join.
1303
+ * @param opts - Options when joining the room.
1304
+ * @returns Promise which resolves: Room object.
1305
+ * @returns Rejects: with an error response.
1306
+ */
1307
+ joinRoom(roomIdOrAlias: string, opts?: IJoinRoomOpts): Promise<Room>;
1308
+ /**
1309
+ * Knock a room. If you have already knocked the room, this will no-op.
1310
+ * @param roomIdOrAlias - The room ID or room alias to knock.
1311
+ * @param opts - Options when knocking the room.
1312
+ * @returns Promise which resolves: `{room_id: {string}}`
1313
+ * @returns Rejects: with an error response.
1314
+ */
1315
+ knockRoom(roomIdOrAlias: string, opts?: KnockRoomOpts): Promise<{
1316
+ room_id: string;
1317
+ }>;
1318
+ /**
1319
+ * Resend an event. Will also retry any to-device messages waiting to be sent.
1320
+ * @param event - The event to resend.
1321
+ * @param room - Optional. The room the event is in. Will update the
1322
+ * timeline entry if provided.
1323
+ * @throws May throw a `MatrixSafetyError` if content is deemed unsafe.
1324
+ * @see MatrixSafetyError
1325
+ */
1326
+ resendEvent(event: MatrixEvent, room: Room): Promise<ISendEventResponse>;
1327
+ /**
1328
+ * Cancel a queued or unsent event.
1329
+ *
1330
+ * @param event - Event to cancel
1331
+ * @throws Error if the event is not in QUEUED, NOT_SENT or ENCRYPTING state
1332
+ */
1333
+ cancelPendingEvent(event: MatrixEvent): void;
1334
+ /**
1335
+ * @returns Promise which resolves: TODO
1336
+ * @returns Rejects: with an error response.
1337
+ * @throws May throw a `MatrixSafetyError` if content is deemed unsafe.
1338
+ * @see MatrixSafetyError
1339
+ */
1340
+ setRoomName(roomId: string, name: string): Promise<ISendEventResponse>;
1341
+ /**
1342
+ * @param roomId - The room to update the topic in.
1343
+ * @param topic - The plaintext topic. May be empty to remove the topic.
1344
+ * @param htmlTopic - Optional.
1345
+ * @returns Promise which resolves: TODO
1346
+ * @returns Rejects: with an error response.
1347
+ * @throws May throw a `MatrixSafetyError` if content is deemed unsafe.
1348
+ * @see MatrixSafetyError
1349
+ */
1350
+ setRoomTopic(roomId: string, topic?: string, htmlTopic?: string): Promise<ISendEventResponse>;
1351
+ /**
1352
+ * @returns Promise which resolves: to an object keyed by tagId with objects containing a numeric order field.
1353
+ * @returns Rejects: with an error response.
1354
+ */
1355
+ getRoomTags(roomId: string): Promise<ITagsResponse>;
1356
+ /**
1357
+ * @param tagName - name of room tag to be set
1358
+ * @param metadata - associated with that tag to be stored
1359
+ * @returns Promise which resolves: to an empty object
1360
+ * @returns Rejects: with an error response.
1361
+ */
1362
+ setRoomTag(roomId: string, tagName: string, metadata?: ITagMetadata): Promise<EmptyObject>;
1363
+ /**
1364
+ * @param tagName - name of room tag to be removed
1365
+ * @returns Promise which resolves: to an empty object
1366
+ * @returns Rejects: with an error response.
1367
+ */
1368
+ deleteRoomTag(roomId: string, tagName: string): Promise<EmptyObject>;
1369
+ /**
1370
+ * @param roomId - the ID of the room this event should be stored within
1371
+ * @param eventType - event type to be set
1372
+ * @param content - event content
1373
+ * @returns Promise which resolves: to an empty object `{}`
1374
+ * @returns Rejects: with an error response.
1375
+ */
1376
+ setRoomAccountData<K extends keyof RoomAccountDataEvents>(roomId: string, eventType: K, content: RoomAccountDataEvents[K] | Record<string, never>): Promise<EmptyObject>;
1377
+ /**
1378
+ * Set a power level to one or multiple users.
1379
+ * Will apply changes atop of current power level event from local state if running & synced, falling back
1380
+ * to fetching latest from the `/state/` API.
1381
+ * @param roomId - the room to update power levels in
1382
+ * @param userId - the ID of the user or users to update power levels of
1383
+ * @param powerLevel - the numeric power level to update given users to
1384
+ * @returns Promise which resolves: to an ISendEventResponse object
1385
+ * @returns Rejects: with an error response.
1386
+ * @throws May throw a `MatrixSafetyError` if content is deemed unsafe.
1387
+ * @see MatrixSafetyError
1388
+ */
1389
+ setPowerLevel(roomId: string, userId: string | string[], powerLevel: number | undefined): Promise<ISendEventResponse>;
1390
+ /**
1391
+ * Create an m.beacon_info event
1392
+ * @returns
1393
+ * @throws May throw a `MatrixSafetyError` if content is deemed unsafe.
1394
+ * @see MatrixSafetyError
1395
+ */
1396
+ unstable_createLiveBeacon(roomId: Room["roomId"], beaconInfoContent: MBeaconInfoEventContent): Promise<ISendEventResponse>;
1397
+ /**
1398
+ * Upsert a live beacon event
1399
+ * using a specific m.beacon_info.* event variable type
1400
+ * @param roomId - string
1401
+ * @returns
1402
+ * @throws May throw a `MatrixSafetyError` if content is deemed unsafe.
1403
+ * @see MatrixSafetyError
1404
+ */
1405
+ unstable_setLiveBeacon(roomId: string, beaconInfoContent: MBeaconInfoEventContent): Promise<ISendEventResponse>;
1406
+ /**
1407
+ * Send a Matrix timeline event.
1408
+ * @param roomId The room to send to.
1409
+ * @param eventType The event type.
1410
+ * @param content The event content.
1411
+ * @param txnId An optional ID to deduplicate requests in case of repeated attempts.
1412
+ * @throws May throw a `MatrixSafetyError` if content is deemed unsafe.
1413
+ * @see MatrixSafetyError
1414
+ */
1415
+ sendEvent<K extends keyof TimelineEvents>(roomId: string, eventType: K, content: TimelineEvents[K], txnId?: string): Promise<ISendEventResponse>;
1416
+ sendEvent<K extends keyof TimelineEvents>(roomId: string, threadId: string | null, eventType: K, content: TimelineEvents[K], txnId?: string): Promise<ISendEventResponse>;
1417
+ /**
1418
+ * If we expect that an event is part of a thread but is missing the relation
1419
+ * we need to add it manually, as well as the reply fallback
1420
+ */
1421
+ private addThreadRelationIfNeeded;
1422
+ /**
1423
+ * @param eventObject - An object with the partial structure of an event, to which event_id, user_id, room_id and origin_server_ts will be added.
1424
+ * @param txnId - Optional.
1425
+ * @returns Promise which resolves: to an empty object `{}`
1426
+ * @returns Rejects: with an error response.
1427
+ */
1428
+ private sendCompleteEvent;
1429
+ /**
1430
+ * encrypts the event if necessary; adds the event to the queue, or sends it; marks the event as sent/unsent
1431
+ * @returns returns a promise which resolves with the result of the send request
1432
+ */
1433
+ protected encryptAndSendEvent(room: Room | null, event: MatrixEvent, queryDict?: QueryDict): Promise<ISendEventResponse>;
1434
+ /**
1435
+ * Simply sends a delayed event without encrypting it.
1436
+ * TODO: Allow encrypted delayed events, and encrypt them properly
1437
+ * @param delayOpts - Properties of the delay for this event.
1438
+ * @returns returns a promise which resolves with the result of the delayed send request
1439
+ */
1440
+ protected encryptAndSendEvent(room: Room | null, event: MatrixEvent, delayOpts: SendDelayedEventRequestOpts, queryDict?: QueryDict): Promise<ISendEventResponse>;
1441
+ private encryptEventIfNeeded;
1442
+ /**
1443
+ * Determine whether a given event should be encrypted when we send it to the given room.
1444
+ *
1445
+ * This takes into account event type and room configuration.
1446
+ */
1447
+ private shouldEncryptEventForRoom;
1448
+ /**
1449
+ * Returns the eventType that should be used taking encryption into account
1450
+ * for a given eventType.
1451
+ * @param roomId - the room for the events `eventType` relates to
1452
+ * @param eventType - the event type
1453
+ * @returns the event type taking encryption into account
1454
+ */
1455
+ private getEncryptedIfNeededEventType;
1456
+ protected updatePendingEventStatus(room: Room | null, event: MatrixEvent, newStatus: EventStatus): void;
1457
+ private sendEventHttpRequest;
1458
+ /**
1459
+ * @param txnId - transaction id. One will be made up if not supplied.
1460
+ * @param opts - Redact options
1461
+ * @returns Promise which resolves: TODO
1462
+ * @returns Rejects: with an error response.
1463
+ * @throws Error if called with `with_rel_types` (MSC3912) but the server does not support it.
1464
+ * Callers should check whether the server supports MSC3912 via `MatrixClient.canSupport`.
1465
+ * @throws May throw a `MatrixSafetyError` if content is deemed unsafe.
1466
+ * @see MatrixSafetyError
1467
+ */
1468
+ redactEvent(roomId: string, eventId: string, txnId?: string | undefined, opts?: IRedactOpts): Promise<ISendEventResponse>;
1469
+ redactEvent(roomId: string, threadId: string | null, eventId: string, txnId?: string | undefined, opts?: IRedactOpts): Promise<ISendEventResponse>;
1470
+ /**
1471
+ * @param txnId - Optional.
1472
+ * @returns Promise which resolves: to an ISendEventResponse object
1473
+ * @returns Rejects: with an error response.
1474
+ */
1475
+ sendMessage(roomId: string, content: RoomMessageEventContent, txnId?: string): Promise<ISendEventResponse>;
1476
+ sendMessage(roomId: string, threadId: string | null, content: RoomMessageEventContent, txnId?: string): Promise<ISendEventResponse>;
1477
+ /**
1478
+ * @param txnId - Optional.
1479
+ * @returns
1480
+ * @returns Rejects: with an error response.
1481
+ */
1482
+ sendTextMessage(roomId: string, body: string, txnId?: string): Promise<ISendEventResponse>;
1483
+ sendTextMessage(roomId: string, threadId: string | null, body: string, txnId?: string): Promise<ISendEventResponse>;
1484
+ /**
1485
+ * @param txnId - Optional.
1486
+ * @returns Promise which resolves: to a ISendEventResponse object
1487
+ * @returns Rejects: with an error response.
1488
+ */
1489
+ sendNotice(roomId: string, body: string, txnId?: string): Promise<ISendEventResponse>;
1490
+ sendNotice(roomId: string, threadId: string | null, body: string, txnId?: string): Promise<ISendEventResponse>;
1491
+ /**
1492
+ * @param txnId - Optional.
1493
+ * @returns Promise which resolves: to a ISendEventResponse object
1494
+ * @returns Rejects: with an error response.
1495
+ * @throws May throw a `MatrixSafetyError` if content is deemed unsafe.
1496
+ * @see MatrixSafetyError
1497
+ */
1498
+ sendEmoteMessage(roomId: string, body: string, txnId?: string): Promise<ISendEventResponse>;
1499
+ sendEmoteMessage(roomId: string, threadId: string | null, body: string, txnId?: string): Promise<ISendEventResponse>;
1500
+ /**
1501
+ * @returns Promise which resolves: to a ISendEventResponse object
1502
+ * @returns Rejects: with an error response.
1503
+ * @throws May throw a `MatrixSafetyError` if content is deemed unsafe.
1504
+ * @see MatrixSafetyError
1505
+ */
1506
+ sendImageMessage(roomId: string, url: string, info?: ImageInfo, text?: string): Promise<ISendEventResponse>;
1507
+ sendImageMessage(roomId: string, threadId: string | null, url: string, info?: ImageInfo, text?: string): Promise<ISendEventResponse>;
1508
+ /**
1509
+ * @returns Promise which resolves: to a ISendEventResponse object
1510
+ * @returns Rejects: with an error response.
1511
+ * @throws May throw a `MatrixSafetyError` if content is deemed unsafe.
1512
+ * @see MatrixSafetyError
1513
+ */
1514
+ sendStickerMessage(roomId: string, url: string, info?: ImageInfo, text?: string): Promise<ISendEventResponse>;
1515
+ sendStickerMessage(roomId: string, threadId: string | null, url: string, info?: ImageInfo, text?: string): Promise<ISendEventResponse>;
1516
+ /**
1517
+ * @returns Promise which resolves: to a ISendEventResponse object
1518
+ * @returns Rejects: with an error response.
1519
+ * @throws May throw a `MatrixSafetyError` if content is deemed unsafe.
1520
+ * @see MatrixSafetyError
1521
+ */
1522
+ sendHtmlMessage(roomId: string, body: string, htmlBody: string): Promise<ISendEventResponse>;
1523
+ sendHtmlMessage(roomId: string, threadId: string | null, body: string, htmlBody: string): Promise<ISendEventResponse>;
1524
+ /**
1525
+ * @returns Promise which resolves: to a ISendEventResponse object
1526
+ * @returns Rejects: with an error response.
1527
+ * @throws May throw a `MatrixSafetyError` if content is deemed unsafe.
1528
+ * @see MatrixSafetyError
1529
+ */
1530
+ sendHtmlNotice(roomId: string, body: string, htmlBody: string): Promise<ISendEventResponse>;
1531
+ sendHtmlNotice(roomId: string, threadId: string | null, body: string, htmlBody: string): Promise<ISendEventResponse>;
1532
+ /**
1533
+ * @returns Promise which resolves: to a ISendEventResponse object
1534
+ * @returns Rejects: with an error response.
1535
+ * @throws May throw a `MatrixSafetyError` if content is deemed unsafe.
1536
+ * @see MatrixSafetyError
1537
+ */
1538
+ sendHtmlEmote(roomId: string, body: string, htmlBody: string): Promise<ISendEventResponse>;
1539
+ sendHtmlEmote(roomId: string, threadId: string | null, body: string, htmlBody: string): Promise<ISendEventResponse>;
1540
+ /**
1541
+ * Send a delayed timeline event.
1542
+ *
1543
+ * Note: This endpoint is unstable, and can throw an `Error`.
1544
+ * Check progress on [MSC4140](https://github.com/matrix-org/matrix-spec-proposals/pull/4140) for more details.
1545
+ * @throws May throw a `MatrixSafetyError` if content is deemed unsafe.
1546
+ * @see MatrixSafetyError
1547
+ */
1548
+ _unstable_sendDelayedEvent<K extends keyof TimelineEvents>(roomId: string, delayOpts: SendDelayedEventRequestOpts, threadId: string | null, eventType: K, content: TimelineEvents[K], txnId?: string): Promise<SendDelayedEventResponse>;
1549
+ /**
1550
+ * Send a delayed sticky timeline event.
1551
+ *
1552
+ * Note: This endpoint is unstable, and can throw an `Error`.
1553
+ * Check progress on [MSC4140](https://github.com/matrix-org/matrix-spec-proposals/pull/4140) and
1554
+ * [MSC4354](https://github.com/matrix-org/matrix-spec-proposals/pull/4354) for more details.
1555
+ * @throws May throw a `MatrixSafetyError` if content is deemed unsafe.
1556
+ * @see MatrixSafetyError
1557
+ */
1558
+ _unstable_sendStickyDelayedEvent<K extends keyof TimelineEvents>(roomId: string, stickDuration: number, delayOpts: SendDelayedEventRequestOpts, threadId: string | null, eventType: K, content: TimelineEvents[K] & {
1559
+ msc4354_sticky_key?: string;
1560
+ }, txnId?: string): Promise<SendDelayedEventResponse>;
1561
+ /**
1562
+ * Send a delayed state event.
1563
+ *
1564
+ * Note: This endpoint is unstable, and can throw an `Error`.
1565
+ * Check progress on [MSC4140](https://github.com/matrix-org/matrix-spec-proposals/pull/4140) for more details.
1566
+ * @throws May throw a `MatrixSafetyError` if content is deemed unsafe.
1567
+ * @see MatrixSafetyError
1568
+ */
1569
+ _unstable_sendDelayedStateEvent<K extends keyof StateEvents>(roomId: string, delayOpts: SendDelayedEventRequestOpts, eventType: K, content: StateEvents[K], stateKey?: string, opts?: IRequestOpts): Promise<SendDelayedEventResponse>;
1570
+ /**
1571
+ * Send a sticky timeline event.
1572
+ *
1573
+ * Note: This endpoint is unstable, and can throw an `Error`.
1574
+ * Check progress on [MSC4354](https://github.com/matrix-org/matrix-spec-proposals/pull/4354) for more details.
1575
+ * @throws May throw a `MatrixSafetyError` if content is deemed unsafe.
1576
+ * @see MatrixSafetyError
1577
+ */
1578
+ _unstable_sendStickyEvent<K extends keyof TimelineEvents>(roomId: string, stickDuration: number, threadId: string | null, eventType: K, content: TimelineEvents[K] & {
1579
+ msc4354_sticky_key?: string;
1580
+ }, txnId?: string): Promise<ISendEventResponse>;
1581
+ /**
1582
+ * Get information about delayed events owned by the requesting user.
1583
+ *
1584
+ * Note: This endpoint is unstable, and can throw an `Error`.
1585
+ * Check progress on [MSC4140](https://github.com/matrix-org/matrix-spec-proposals/pull/4140) for more details.
1586
+ */
1587
+ _unstable_getDelayedEvents(status?: "scheduled" | "finalised", delayId?: string | string[], fromToken?: string): Promise<DelayedEventInfo>;
1588
+ /**
1589
+ * Manage a delayed event associated with the given delay_id.
1590
+ *
1591
+ * Note: This endpoint is unstable, and can throw an `Error`.
1592
+ * Check progress on [MSC4140](https://github.com/matrix-org/matrix-spec-proposals/pull/4140) for more details.
1593
+ *
1594
+ * @deprecated Instead use one of:
1595
+ * - {@link _unstable_cancelScheduledDelayedEvent}
1596
+ * - {@link _unstable_restartScheduledDelayedEvent}
1597
+ * - {@link _unstable_sendScheduledDelayedEvent}
1598
+ */
1599
+ _unstable_updateDelayedEvent(delayId: string, action: UpdateDelayedEventAction, requestOptions?: IRequestOpts): Promise<EmptyObject>;
1600
+ /**
1601
+ * Cancel the scheduled delivery of the delayed event matching the provided delayId.
1602
+ *
1603
+ * Note: This endpoint is unstable, and can throw an `Error`.
1604
+ * Check progress on [MSC4140](https://github.com/matrix-org/matrix-spec-proposals/pull/4140) for more details.
1605
+ *
1606
+ * @throws A M_NOT_FOUND error if no matching delayed event could be found.
1607
+ */
1608
+ _unstable_cancelScheduledDelayedEvent(delayId: string, requestOptions?: IRequestOpts): Promise<EmptyObject>;
1609
+ /**
1610
+ * Restart the scheduled delivery of the delayed event matching the given delayId.
1611
+ *
1612
+ * Note: This endpoint is unstable, and can throw an `Error`.
1613
+ * Check progress on [MSC4140](https://github.com/matrix-org/matrix-spec-proposals/pull/4140) for more details.
1614
+ *
1615
+ * @throws A M_NOT_FOUND error if no matching delayed event could be found.
1616
+ */
1617
+ _unstable_restartScheduledDelayedEvent(delayId: string, requestOptions?: IRequestOpts): Promise<EmptyObject>;
1618
+ /**
1619
+ * Immediately send the delayed event matching the given delayId,
1620
+ * instead of waiting for its scheduled delivery.
1621
+ *
1622
+ * Note: This endpoint is unstable, and can throw an `Error`.
1623
+ * Check progress on [MSC4140](https://github.com/matrix-org/matrix-spec-proposals/pull/4140) for more details.
1624
+ *
1625
+ * @throws A M_NOT_FOUND error if no matching delayed event could be found.
1626
+ * @throws May throw a `MatrixSafetyError` if content is deemed unsafe.
1627
+ * @see MatrixSafetyError
1628
+ */
1629
+ _unstable_sendScheduledDelayedEvent(delayId: string, requestOptions?: IRequestOpts): Promise<EmptyObject>;
1630
+ private updateScheduledDelayedEvent;
1631
+ /**
1632
+ * @deprecated Present for backwards compatibility with an older version of MSC4140
1633
+ * which had a single, authenticated endpoint for updating a delayed event, instead
1634
+ * of one unauthenticated endpoint per update action.
1635
+ */
1636
+ private updateScheduledDelayedEventWithActionInBody;
1637
+ /**
1638
+ * Send a receipt.
1639
+ * @param event - The event being acknowledged
1640
+ * @param receiptType - The kind of receipt e.g. "m.read". Other than
1641
+ * ReceiptType.Read are experimental!
1642
+ * @param body - Additional content to send alongside the receipt.
1643
+ * @param unthreaded - An unthreaded receipt will clear room+thread notifications
1644
+ * @returns Promise which resolves: to an empty object `{}`
1645
+ * @returns Rejects: with an error response.
1646
+ */
1647
+ sendReceipt(event: MatrixEvent, receiptType: ReceiptType, body?: Record<string, any>, unthreaded?: boolean): Promise<EmptyObject>;
1648
+ /**
1649
+ * Send a read receipt.
1650
+ * @param event - The event that has been read.
1651
+ * @param receiptType - other than ReceiptType.Read are experimental! Optional.
1652
+ * @returns Promise which resolves: to an empty object `{}`
1653
+ * @returns Rejects: with an error response.
1654
+ */
1655
+ sendReadReceipt(event: MatrixEvent | null, receiptType?: ReceiptType, unthreaded?: boolean): Promise<EmptyObject | undefined>;
1656
+ /**
1657
+ * Set a marker to indicate the point in a room before which the user has read every
1658
+ * event. This can be retrieved from room account data (the event type is `m.fully_read`)
1659
+ * and displayed as a horizontal line in the timeline that is visually distinct to the
1660
+ * position of the user's own read receipt.
1661
+ * @param roomId - ID of the room that has been read
1662
+ * @param rmEventId - ID of the event that has been read
1663
+ * @param rrEvent - the event tracked by the read receipt. This is here for
1664
+ * convenience because the RR and the RM are commonly updated at the same time as each
1665
+ * other. The local echo of this receipt will be done if set. Optional.
1666
+ * @param rpEvent - the m.read.private read receipt event for when we don't
1667
+ * want other users to see the read receipts. This is experimental. Optional.
1668
+ * @returns Promise which resolves: the empty object, `{}`.
1669
+ */
1670
+ setRoomReadMarkers(roomId: string, rmEventId: string, rrEvent?: MatrixEvent, rpEvent?: MatrixEvent): Promise<EmptyObject>;
1671
+ /**
1672
+ *
1673
+ * @param roomId
1674
+ * @param notificationEventId
1675
+ * @returns
1676
+ * @throws May throw a `MatrixSafetyError` if content is deemed unsafe.
1677
+ * @see MatrixSafetyError
1678
+ */
1679
+ sendRtcDecline(roomId: string, notificationEventId: string): Promise<ISendEventResponse>;
1680
+ /**
1681
+ * Get a preview of the given URL as of (roughly) the given point in time,
1682
+ * described as an object with OpenGraph keys and associated values.
1683
+ * Attributes may be synthesized where actual OG metadata is lacking.
1684
+ * Caches results to prevent hammering the server.
1685
+ * @param url - The URL to get preview data for
1686
+ * @param ts - The preferred point in time that the preview should
1687
+ * describe (ms since epoch). The preview returned will either be the most
1688
+ * recent one preceding this timestamp if available, or failing that the next
1689
+ * most recent available preview.
1690
+ * @returns Promise which resolves: Object of OG metadata.
1691
+ * @returns Rejects: with an error response.
1692
+ * May return synthesized attributes if the URL lacked OG meta.
1693
+ */
1694
+ getUrlPreview(url: string, ts: number): Promise<IPreviewUrlResponse>;
1695
+ /**
1696
+ * @returns Promise which resolves: to an empty object `{}`
1697
+ * @returns Rejects: with an error response.
1698
+ */
1699
+ sendTyping(roomId: string, isTyping: boolean, timeoutMs: number): Promise<EmptyObject>;
1700
+ /**
1701
+ * Determines the history of room upgrades for a given room, as far as the
1702
+ * client can see. Returns an array of Rooms where the first entry is the
1703
+ * oldest and the last entry is the newest (likely current) room. If the
1704
+ * provided room is not found, this returns an empty list. This works in
1705
+ * both directions, looking for older and newer rooms of the given room.
1706
+ * @param roomId - The room ID to search from
1707
+ * @param verifyLinks - If true, the function will only return rooms
1708
+ * which can be proven to be linked. For example, rooms which have a create
1709
+ * event pointing to an old room which the client is not aware of or doesn't
1710
+ * have a matching tombstone would not be returned.
1711
+ * @param msc3946ProcessDynamicPredecessor - if true, look for
1712
+ * m.room.predecessor state events as well as create events, and prefer
1713
+ * predecessor events where they exist (MSC3946).
1714
+ * @returns An array of rooms representing the upgrade
1715
+ * history.
1716
+ */
1717
+ getRoomUpgradeHistory(roomId: string, verifyLinks?: boolean, msc3946ProcessDynamicPredecessor?: boolean): Room[];
1718
+ private findPredecessorRooms;
1719
+ private findSuccessorRooms;
1720
+ /**
1721
+ * Send an invite to the given user to join the given room.
1722
+ *
1723
+ * @param roomId - The ID of the room to which the user should be invited.
1724
+ * @param userId - The ID of the user that should be invited.
1725
+ * @param opts - Optional reason object. For backwards compatibility, a string is also accepted, and will be interpreted as a reason.
1726
+ *
1727
+ * @returns An empty object.
1728
+ * @throws May throw a `MatrixSafetyError` if content is deemed unsafe.
1729
+ * @see MatrixSafetyError
1730
+ */
1731
+ invite(roomId: string, userId: string, opts?: InviteOpts | string): Promise<EmptyObject>;
1732
+ /**
1733
+ * Invite a user to a room based on their email address.
1734
+ * @param roomId - The room to invite the user to.
1735
+ * @param email - The email address to invite.
1736
+ * @returns Promise which resolves: `{}` an empty object.
1737
+ * @returns Rejects: with an error response.
1738
+ * @throws May throw a `MatrixSafetyError` if content is deemed unsafe.
1739
+ * @see MatrixSafetyError
1740
+ */
1741
+ inviteByEmail(roomId: string, email: string): Promise<EmptyObject>;
1742
+ /**
1743
+ * Invite a user to a room based on a third-party identifier.
1744
+ * @param roomId - The room to invite the user to.
1745
+ * @param medium - The medium to invite the user e.g. "email".
1746
+ * @param address - The address for the specified medium.
1747
+ * @returns Promise which resolves: `{}` an empty object.
1748
+ * @returns Rejects: with an error response.
1749
+ * @throws May throw a `MatrixSafetyError` if content is deemed unsafe.
1750
+ * @see MatrixSafetyError
1751
+ */
1752
+ inviteByThreePid(roomId: string, medium: string, address: string): Promise<EmptyObject>;
1753
+ /**
1754
+ * @returns Promise which resolves: `{}` an empty object.
1755
+ * @returns Rejects: with an error response.
1756
+ */
1757
+ leave(roomId: string): Promise<EmptyObject>;
1758
+ /**
1759
+ * Leaves all rooms in the chain of room upgrades based on the given room. By
1760
+ * default, this will leave all the previous and upgraded rooms, including the
1761
+ * given room. To only leave the given room and any previous rooms, keeping the
1762
+ * upgraded (modern) rooms untouched supply `false` to `includeFuture`.
1763
+ * @param roomId - The room ID to start leaving at
1764
+ * @param includeFuture - If true, the whole chain (past and future) of
1765
+ * upgraded rooms will be left.
1766
+ * @returns Promise which resolves when completed with an object keyed
1767
+ * by room ID and value of the error encountered when leaving or null.
1768
+ */
1769
+ leaveRoomChain(roomId: string, includeFuture?: boolean): Promise<{
1770
+ [roomId: string]: Error | MatrixError | null;
1771
+ }>;
1772
+ /**
1773
+ * @param reason - Optional.
1774
+ * @returns Promise which resolves: TODO
1775
+ * @returns Rejects: with an error response.
1776
+ */
1777
+ ban(roomId: string, userId: string, reason?: string): Promise<EmptyObject>;
1778
+ /**
1779
+ * @param deleteRoom - True to delete the room from the store on success.
1780
+ * Default: true.
1781
+ * @returns Promise which resolves: `{}` an empty object.
1782
+ * @returns Rejects: with an error response.
1783
+ */
1784
+ forget(roomId: string, deleteRoom?: boolean): Promise<EmptyObject>;
1785
+ /**
1786
+ * @returns Promise which resolves: Object (currently empty)
1787
+ * @returns Rejects: with an error response.
1788
+ */
1789
+ unban(roomId: string, userId: string): Promise<EmptyObject>;
1790
+ /**
1791
+ * @param reason - Optional.
1792
+ * @returns Promise which resolves: `{}` an empty object.
1793
+ * @returns Rejects: with an error response.
1794
+ */
1795
+ kick(roomId: string, userId: string, reason?: string): Promise<EmptyObject>;
1796
+ private membershipChange;
1797
+ /**
1798
+ * Obtain a dict of actions which should be performed for this event according
1799
+ * to the push rules for this user. Caches the dict on the event.
1800
+ * @param event - The event to get push actions for.
1801
+ * @param forceRecalculate - forces to recalculate actions for an event
1802
+ * Useful when an event just got decrypted
1803
+ * @returns A dict of actions to perform.
1804
+ */
1805
+ getPushActionsForEvent(event: MatrixEvent, forceRecalculate?: boolean): IActionsObject | null;
1806
+ /**
1807
+ * Obtain a dict of actions which should be performed for this event according
1808
+ * to the push rules for this user. Caches the dict on the event.
1809
+ * @param event - The event to get push actions for.
1810
+ * @param forceRecalculate - forces to recalculate actions for an event
1811
+ * Useful when an event just got decrypted
1812
+ * @returns A dict of actions to perform.
1813
+ */
1814
+ getPushDetailsForEvent(event: MatrixEvent, forceRecalculate?: boolean): PushDetails | null;
1815
+ /**
1816
+ * @param info - The kind of info to set (e.g. 'avatar_url')
1817
+ * @param data - The JSON object to set.
1818
+ * @returns
1819
+ * @returns Rejects: with an error response.
1820
+ * @throws May throw a `MatrixSafetyError` if content is deemed unsafe.
1821
+ * @see MatrixSafetyError
1822
+ */
1823
+ setProfileInfo(info: "avatar_url", data: {
1824
+ avatar_url: string;
1825
+ }): Promise<EmptyObject>;
1826
+ setProfileInfo(info: "displayname", data: {
1827
+ displayname: string;
1828
+ }): Promise<EmptyObject>;
1829
+ /**
1830
+ * @returns Promise which resolves: `{}` an empty object.
1831
+ * @returns Rejects: with an error response.
1832
+ * @throws May throw a `MatrixSafetyError` if content is deemed unsafe.
1833
+ * @see MatrixSafetyError
1834
+ */
1835
+ setDisplayName(name: string): Promise<EmptyObject>;
1836
+ /**
1837
+ * @returns Promise which resolves: `{}` an empty object.
1838
+ * @returns Rejects: with an error response.
1839
+ * @throws May throw a `MatrixSafetyError` if content is deemed unsafe.
1840
+ * @see MatrixSafetyError
1841
+ */
1842
+ setAvatarUrl(url: string): Promise<EmptyObject>;
1843
+ /**
1844
+ * Turn an MXC URL into an HTTP one. <strong>This method is experimental and
1845
+ * may change.</strong>
1846
+ * @param mxcUrl - The MXC URL
1847
+ * @param width - The desired width of the thumbnail.
1848
+ * @param height - The desired height of the thumbnail.
1849
+ * @param resizeMethod - The thumbnail resize method to use, either
1850
+ * "crop" or "scale".
1851
+ * @param allowDirectLinks - If true, return any non-mxc URLs
1852
+ * directly. Fetching such URLs will leak information about the user to
1853
+ * anyone they share a room with. If false, will return null for such URLs.
1854
+ * @param allowRedirects - If true, the caller supports the URL being 307 or
1855
+ * 308 redirected to another resource upon request. If false, redirects
1856
+ * are not expected. Implied `true` when `useAuthentication` is `true`.
1857
+ * @param useAuthentication - If true, the caller supports authenticated
1858
+ * media and wants an authentication-required URL. Note that server support
1859
+ * for authenticated media will *not* be checked - it is the caller's responsibility
1860
+ * to do so before calling this function. Note also that `useAuthentication`
1861
+ * implies `allowRedirects`. Defaults to false (unauthenticated endpoints).
1862
+ * @returns the avatar URL or null.
1863
+ */
1864
+ mxcUrlToHttp(mxcUrl: string, width?: number, height?: number, resizeMethod?: string, allowDirectLinks?: boolean, allowRedirects?: boolean, useAuthentication?: boolean): string | null;
1865
+ /**
1866
+ * Specify the set_presence value to be used for subsequent calls to the Sync API.
1867
+ * This has an advantage over calls to the PUT /presence API in that it
1868
+ * doesn't clobber status_msg set by other devices.
1869
+ * @param presence - the presence to specify to set_presence of sync calls
1870
+ */
1871
+ setSyncPresence(presence?: SetPresence): Promise<void>;
1872
+ /**
1873
+ * @param opts - Options to apply
1874
+ * @returns Promise which resolves
1875
+ * @returns Rejects: with an error response.
1876
+ * @throws If 'presence' isn't a valid presence enum value.
1877
+ */
1878
+ setPresence(opts: IPresenceOpts): Promise<void>;
1879
+ /**
1880
+ * @param userId - The user to get presence for
1881
+ * @returns Promise which resolves: The presence state for this user.
1882
+ * @returns Rejects: with an error response.
1883
+ */
1884
+ getPresence(userId: string): Promise<IStatusResponse>;
1885
+ /**
1886
+ * Retrieve older messages from the given room and put them in the timeline.
1887
+ *
1888
+ * If this is called multiple times whilst a request is ongoing, the <i>same</i>
1889
+ * Promise will be returned. If there was a problem requesting scrollback, there
1890
+ * will be a small delay before another request can be made (to prevent tight-looping
1891
+ * when there is no connection).
1892
+ *
1893
+ * @param room - The room to get older messages in.
1894
+ * @param limit - Optional. The maximum number of previous events to
1895
+ * pull in. Default: 30.
1896
+ * @returns Promise which resolves: Room. If you are at the beginning
1897
+ * of the timeline, `Room.oldState.paginationToken` will be
1898
+ * `null`.
1899
+ * @returns Rejects: with an error response.
1900
+ */
1901
+ scrollback(room: Room, limit?: number): Promise<Room>;
1902
+ getEventMapper(options?: MapperOpts): EventMapper;
1903
+ /**
1904
+ * Calls the `/context` API for the given room ID & event ID.
1905
+ * Returns the response, with `event` asserted and all optional arrays defaulted to an empty array.
1906
+ * @param roomId - the room ID to request a context for
1907
+ * @param eventId - the event ID to request a context for
1908
+ * @throws if `event` in the response is missing
1909
+ * @private
1910
+ */
1911
+ private getEventContext;
1912
+ /**
1913
+ * Get an EventTimeline for the given event
1914
+ *
1915
+ * <p>If the EventTimelineSet object already has the given event in its store, the
1916
+ * corresponding timeline will be returned. Otherwise, a /context request is
1917
+ * made, and used to construct an EventTimeline.
1918
+ * If the event does not belong to this EventTimelineSet then undefined will be returned.
1919
+ *
1920
+ * @param timelineSet - The timelineSet to look for the event in, must be bound to a room
1921
+ * @param eventId - The ID of the event to look for
1922
+ *
1923
+ * @returns Promise which resolves:
1924
+ * {@link EventTimeline} including the given event
1925
+ */
1926
+ getEventTimeline(timelineSet: EventTimelineSet, eventId: string): Promise<EventTimeline | null>;
1927
+ getThreadTimeline(timelineSet: EventTimelineSet, eventId: string): Promise<EventTimeline | undefined>;
1928
+ /**
1929
+ * Get an EventTimeline for the latest events in the room. This will just
1930
+ * call `/messages` to get the latest message in the room, then use
1931
+ * `client.getEventTimeline(...)` to construct a new timeline from it.
1932
+ *
1933
+ * @param timelineSet - The timelineSet to find or add the timeline to
1934
+ *
1935
+ * @returns Promise which resolves:
1936
+ * {@link EventTimeline} timeline with the latest events in the room
1937
+ */
1938
+ getLatestTimeline(timelineSet: EventTimelineSet): Promise<EventTimeline | null>;
1939
+ /**
1940
+ * Makes a request to /messages with the appropriate lazy loading filter set.
1941
+ * XXX: if we do get rid of scrollback (as it's not used at the moment),
1942
+ * we could inline this method again in paginateEventTimeline as that would
1943
+ * then be the only call-site
1944
+ * @param limit - the maximum amount of events the retrieve
1945
+ * @param dir - 'f' or 'b'
1946
+ * @param timelineFilter - the timeline filter to pass
1947
+ */
1948
+ createMessagesRequest(roomId: string, fromToken: string | null, limit: number | undefined, dir: Direction, timelineFilter?: Filter): Promise<IMessagesResponse>;
1949
+ /**
1950
+ * Makes a request to /messages with the appropriate lazy loading filter set.
1951
+ * XXX: if we do get rid of scrollback (as it's not used at the moment),
1952
+ * we could inline this method again in paginateEventTimeline as that would
1953
+ * then be the only call-site
1954
+ * @param limit - the maximum amount of events the retrieve
1955
+ * @param dir - 'f' or 'b'
1956
+ * @param timelineFilter - the timeline filter to pass
1957
+ */
1958
+ createThreadListMessagesRequest(roomId: string, fromToken: string | null, limit?: number, dir?: Direction, threadListType?: ThreadFilterType | null, timelineFilter?: Filter): Promise<IMessagesResponse>;
1959
+ /**
1960
+ * Take an EventTimeline, and back/forward-fill results.
1961
+ *
1962
+ * @param eventTimeline - timeline object to be updated
1963
+ *
1964
+ * @returns Promise which resolves to a boolean: false if there are no
1965
+ * events and we reached either end of the timeline; else true.
1966
+ */
1967
+ paginateEventTimeline(eventTimeline: EventTimeline, opts: IPaginateOpts): Promise<boolean>;
1968
+ /**
1969
+ * Reset the notifTimelineSet entirely, paginating in some historical notifs as
1970
+ * a starting point for subsequent pagination.
1971
+ */
1972
+ resetNotifTimelineSet(): void;
1973
+ /**
1974
+ * Peek into a room and receive updates about the room. This only works if the
1975
+ * history visibility for the room is world_readable.
1976
+ * @param roomId - The room to attempt to peek into.
1977
+ * @param limit - The number of timeline events to initially retrieve.
1978
+ * @returns Promise which resolves: Room object
1979
+ * @returns Rejects: with an error response.
1980
+ */
1981
+ peekInRoom(roomId: string, limit?: number): Promise<Room>;
1982
+ /**
1983
+ * Stop any ongoing room peeking.
1984
+ */
1985
+ stopPeeking(): void;
1986
+ /**
1987
+ * Set r/w flags for guest access in a room.
1988
+ * @param roomId - The room to configure guest access in.
1989
+ * @param opts - Options
1990
+ * @returns Promise which resolves
1991
+ * @returns Rejects: with an error response.
1992
+ */
1993
+ setGuestAccess(roomId: string, opts: IGuestAccessOpts): Promise<void>;
1994
+ /**
1995
+ * Requests an email verification token for the purposes of registration.
1996
+ * This API requests a token from the homeserver.
1997
+ * The doesServerRequireIdServerParam() method can be used to determine if
1998
+ * the server requires the id_server parameter to be provided.
1999
+ *
2000
+ * Parameters and return value are as for requestEmailToken
2001
+
2002
+ * @param email - As requestEmailToken
2003
+ * @param clientSecret - As requestEmailToken
2004
+ * @param sendAttempt - As requestEmailToken
2005
+ * @param nextLink - As requestEmailToken
2006
+ * @returns Promise which resolves: As requestEmailToken
2007
+ */
2008
+ requestRegisterEmailToken(email: string, clientSecret: string, sendAttempt: number, nextLink?: string): Promise<IRequestTokenResponse>;
2009
+ /**
2010
+ * Requests a text message verification token for the purposes of registration.
2011
+ * This API requests a token from the homeserver.
2012
+ * The doesServerRequireIdServerParam() method can be used to determine if
2013
+ * the server requires the id_server parameter to be provided.
2014
+ *
2015
+ * @param phoneCountry - The ISO 3166-1 alpha-2 code for the country in which
2016
+ * phoneNumber should be parsed relative to.
2017
+ * @param phoneNumber - The phone number, in national or international format
2018
+ * @param clientSecret - As requestEmailToken
2019
+ * @param sendAttempt - As requestEmailToken
2020
+ * @param nextLink - As requestEmailToken
2021
+ * @returns Promise which resolves: As requestEmailToken
2022
+ */
2023
+ requestRegisterMsisdnToken(phoneCountry: string, phoneNumber: string, clientSecret: string, sendAttempt: number, nextLink?: string): Promise<IRequestMsisdnTokenResponse>;
2024
+ /**
2025
+ * Requests an email verification token for the purposes of adding a
2026
+ * third party identifier to an account.
2027
+ * This API requests a token from the homeserver.
2028
+ * The doesServerRequireIdServerParam() method can be used to determine if
2029
+ * the server requires the id_server parameter to be provided.
2030
+ * If an account with the given email address already exists and is
2031
+ * associated with an account other than the one the user is authed as,
2032
+ * it will either send an email to the address informing them of this
2033
+ * or return M_THREEPID_IN_USE (which one is up to the homeserver).
2034
+ *
2035
+ * @param email - As requestEmailToken
2036
+ * @param clientSecret - As requestEmailToken
2037
+ * @param sendAttempt - As requestEmailToken
2038
+ * @param nextLink - As requestEmailToken
2039
+ * @returns Promise which resolves: As requestEmailToken
2040
+ */
2041
+ requestAdd3pidEmailToken(email: string, clientSecret: string, sendAttempt: number, nextLink?: string): Promise<IRequestTokenResponse>;
2042
+ /**
2043
+ * Requests a text message verification token for the purposes of adding a
2044
+ * third party identifier to an account.
2045
+ * This API proxies the identity server /validate/email/requestToken API,
2046
+ * adding specific behaviour for the addition of phone numbers to an
2047
+ * account, as requestAdd3pidEmailToken.
2048
+ *
2049
+ * @param phoneCountry - As requestRegisterMsisdnToken
2050
+ * @param phoneNumber - As requestRegisterMsisdnToken
2051
+ * @param clientSecret - As requestEmailToken
2052
+ * @param sendAttempt - As requestEmailToken
2053
+ * @param nextLink - As requestEmailToken
2054
+ * @returns Promise which resolves: As requestEmailToken
2055
+ */
2056
+ requestAdd3pidMsisdnToken(phoneCountry: string, phoneNumber: string, clientSecret: string, sendAttempt: number, nextLink?: string): Promise<IRequestMsisdnTokenResponse>;
2057
+ /**
2058
+ * Requests an email verification token for the purposes of resetting
2059
+ * the password on an account.
2060
+ * This API proxies the identity server /validate/email/requestToken API,
2061
+ * adding specific behaviour for the password resetting. Specifically,
2062
+ * if no account with the given email address exists, it may either
2063
+ * return M_THREEPID_NOT_FOUND or send an email
2064
+ * to the address informing them of this (which one is up to the homeserver).
2065
+ *
2066
+ * requestEmailToken calls the equivalent API directly on the identity server,
2067
+ * therefore bypassing the password reset specific logic.
2068
+ *
2069
+ * @param email - As requestEmailToken
2070
+ * @param clientSecret - As requestEmailToken
2071
+ * @param sendAttempt - As requestEmailToken
2072
+ * @param nextLink - As requestEmailToken
2073
+ * @returns Promise which resolves: As requestEmailToken
2074
+ */
2075
+ requestPasswordEmailToken(email: string, clientSecret: string, sendAttempt: number, nextLink?: string): Promise<IRequestTokenResponse>;
2076
+ /**
2077
+ * Requests a text message verification token for the purposes of resetting
2078
+ * the password on an account.
2079
+ * This API proxies the identity server /validate/email/requestToken API,
2080
+ * adding specific behaviour for the password resetting, as requestPasswordEmailToken.
2081
+ *
2082
+ * @param phoneCountry - As requestRegisterMsisdnToken
2083
+ * @param phoneNumber - As requestRegisterMsisdnToken
2084
+ * @param clientSecret - As requestEmailToken
2085
+ * @param sendAttempt - As requestEmailToken
2086
+ * @param nextLink - As requestEmailToken
2087
+ * @returns Promise which resolves: As requestEmailToken
2088
+ */
2089
+ requestPasswordMsisdnToken(phoneCountry: string, phoneNumber: string, clientSecret: string, sendAttempt: number, nextLink: string): Promise<IRequestMsisdnTokenResponse>;
2090
+ /**
2091
+ * Internal utility function for requesting validation tokens from usage-specific
2092
+ * requestToken endpoints.
2093
+ *
2094
+ * @param endpoint - The endpoint to send the request to
2095
+ * @param params - Parameters for the POST request
2096
+ * @returns Promise which resolves: As requestEmailToken
2097
+ */
2098
+ private requestTokenFromEndpoint;
2099
+ /**
2100
+ * Get the room-kind push rule associated with a room.
2101
+ * @param scope - "global" or device-specific.
2102
+ * @param roomId - the id of the room.
2103
+ * @returns the rule or undefined.
2104
+ */
2105
+ getRoomPushRule(scope: "global" | "device", roomId: string): IPushRule | undefined;
2106
+ /**
2107
+ * Set a room-kind muting push rule in a room.
2108
+ * The operation also updates MatrixClient.pushRules at the end.
2109
+ * @param scope - "global" or device-specific.
2110
+ * @param roomId - the id of the room.
2111
+ * @param mute - the mute state.
2112
+ * @returns Promise which resolves: result object
2113
+ * @returns Rejects: with an error response.
2114
+ */
2115
+ setRoomMutePushRule(scope: "global" | "device", roomId: string, mute: boolean): Promise<void> | undefined;
2116
+ searchMessageText(opts: ISearchOpts): Promise<ISearchResponse>;
2117
+ /**
2118
+ * Perform a server-side search for room events.
2119
+ *
2120
+ * The returned promise resolves to an object containing the fields:
2121
+ *
2122
+ * * count: estimate of the number of results
2123
+ * * next_batch: token for back-pagination; if undefined, there are no more results
2124
+ * * highlights: a list of words to highlight from the stemming algorithm
2125
+ * * results: a list of results
2126
+ *
2127
+ * Each entry in the results list is a SearchResult.
2128
+ *
2129
+ * @returns Promise which resolves: result object
2130
+ * @returns Rejects: with an error response.
2131
+ */
2132
+ searchRoomEvents(opts: IEventSearchOpts): Promise<ISearchResults>;
2133
+ /**
2134
+ * Take a result from an earlier searchRoomEvents call, and backfill results.
2135
+ *
2136
+ * @param searchResults - the results object to be updated
2137
+ * @returns Promise which resolves: updated result object
2138
+ * @returns Rejects: with an error response.
2139
+ */
2140
+ backPaginateRoomEventsSearch<T extends ISearchResults>(searchResults: T): Promise<T>;
2141
+ /**
2142
+ * helper for searchRoomEvents and backPaginateRoomEventsSearch. Processes the
2143
+ * response from the API call and updates the searchResults
2144
+ *
2145
+ * @returns searchResults
2146
+ * @internal
2147
+ */
2148
+ processRoomEventsSearch<T extends ISearchResults>(searchResults: T, response: ISearchResponse): T;
2149
+ /**
2150
+ * Populate the store with rooms the user has left.
2151
+ * @returns Promise which resolves: TODO - Resolved when the rooms have
2152
+ * been added to the data store.
2153
+ * @returns Rejects: with an error response.
2154
+ */
2155
+ syncLeftRooms(): Promise<Room[]>;
2156
+ /**
2157
+ * Create a new filter.
2158
+ * @param content - The HTTP body for the request
2159
+ * @returns Promise which resolves to a Filter object.
2160
+ * @returns Rejects: with an error response.
2161
+ */
2162
+ createFilter(content: IFilterDefinition): Promise<Filter>;
2163
+ /**
2164
+ * Retrieve a filter.
2165
+ * @param userId - The user ID of the filter owner
2166
+ * @param filterId - The filter ID to retrieve
2167
+ * @param allowCached - True to allow cached filters to be returned.
2168
+ * Default: True.
2169
+ * @returns Promise which resolves: a Filter object
2170
+ * @returns Rejects: with an error response.
2171
+ */
2172
+ getFilter(userId: string, filterId: string, allowCached: boolean): Promise<Filter>;
2173
+ /**
2174
+ * @returns Filter ID
2175
+ */
2176
+ getOrCreateFilter(filterName: string, filter: Filter): Promise<string>;
2177
+ /**
2178
+ * Gets a bearer token from the homeserver that the user can
2179
+ * present to a third party in order to prove their ownership
2180
+ * of the Matrix account they are logged into.
2181
+ * @returns Promise which resolves: Token object
2182
+ * @returns Rejects: with an error response.
2183
+ */
2184
+ getOpenIdToken(): Promise<IOpenIDToken>;
2185
+ private startCallEventHandler;
2186
+ private startMatrixRTC;
2187
+ /**
2188
+ * Once the client has been initialised, we want to clear notifications we
2189
+ * know for a fact should be here.
2190
+ * This issue should also be addressed on synapse's side and is tracked as part
2191
+ * of https://github.com/matrix-org/synapse/issues/14837
2192
+ *
2193
+ * We consider a room or a thread as fully read if the current user has sent
2194
+ * the last event in the live timeline of that context and if the read receipt
2195
+ * we have on record matches.
2196
+ */
2197
+ private fixupRoomNotifications;
2198
+ /**
2199
+ * @returns Promise which resolves: ITurnServerResponse object
2200
+ * @returns Rejects: with an error response.
2201
+ */
2202
+ turnServer(): Promise<ITurnServerResponse>;
2203
+ /**
2204
+ * Get the TURN servers for this homeserver.
2205
+ * @returns The servers or an empty list.
2206
+ */
2207
+ getTurnServers(): ITurnServer[];
2208
+ /**
2209
+ * Get the unix timestamp (in milliseconds) at which the current
2210
+ * TURN credentials (from getTurnServers) expire
2211
+ * @returns The expiry timestamp in milliseconds
2212
+ */
2213
+ getTurnServersExpiry(): number;
2214
+ get pollingTurnServers(): boolean;
2215
+ checkTurnServers(): Promise<boolean | undefined>;
2216
+ /**
2217
+ * Set whether to allow a fallback ICE server should be used for negotiating a
2218
+ * WebRTC connection if the homeserver doesn't provide any servers. Defaults to
2219
+ * false.
2220
+ *
2221
+ */
2222
+ setFallbackICEServerAllowed(allow: boolean): void;
2223
+ /**
2224
+ * Get whether to allow a fallback ICE server should be used for negotiating a
2225
+ * WebRTC connection if the homeserver doesn't provide any servers. Defaults to
2226
+ * false.
2227
+ *
2228
+ * @returns
2229
+ */
2230
+ isFallbackICEServerAllowed(): boolean;
2231
+ /**
2232
+ * Determines if the current user is an administrator of the Synapse homeserver.
2233
+ * Returns false if untrue or the homeserver does not appear to be a Synapse
2234
+ * homeserver. <strong>This function is implementation specific and may change
2235
+ * as a result.</strong>
2236
+ * @returns true if the user appears to be a Synapse administrator.
2237
+ */
2238
+ isSynapseAdministrator(): Promise<boolean>;
2239
+ /**
2240
+ * Performs a whois lookup on a user using Synapse's administrator API.
2241
+ * <strong>This function is implementation specific and may change as a
2242
+ * result.</strong>
2243
+ * @param userId - the User ID to look up.
2244
+ * @returns the whois response - see Synapse docs for information.
2245
+ */
2246
+ whoisSynapseUser(userId: string): Promise<ISynapseAdminWhoisResponse>;
2247
+ /**
2248
+ * Deactivates a user using Synapse's administrator API. <strong>This
2249
+ * function is implementation specific and may change as a result.</strong>
2250
+ * @param userId - the User ID to deactivate.
2251
+ * @returns the deactivate response - see Synapse docs for information.
2252
+ */
2253
+ deactivateSynapseUser(userId: string): Promise<ISynapseAdminDeactivateResponse>;
2254
+ protected fetchClientWellKnown(): Promise<void>;
2255
+ getClientWellKnown(): IClientWellKnown | undefined;
2256
+ waitForClientWellKnown(): Promise<IClientWellKnown>;
2257
+ /**
2258
+ * store client options with boolean/string/numeric values
2259
+ * to know in the next session what flags the sync data was
2260
+ * created with (e.g. lazy loading)
2261
+ * @returns for store operation
2262
+ */
2263
+ storeClientOptions(): Promise<void>;
2264
+ /**
2265
+ * Gets a set of room IDs in common with another user.
2266
+ *
2267
+ * Note: This endpoint is unstable, and can throw an `Error`.
2268
+ * Check progress on [MSC2666](https://github.com/matrix-org/matrix-spec-proposals/pull/2666) for more details.
2269
+ *
2270
+ * @param userId - The userId to check.
2271
+ * @returns Promise which resolves to an array of rooms
2272
+ * @returns Rejects: with an error response.
2273
+ */
2274
+ _unstable_getSharedRooms(userId: string): Promise<string[]>;
2275
+ /**
2276
+ * Returns a set of configured RTC transports supported by the homeserver.
2277
+ * Requires homeserver support for MSC4143.
2278
+ * @throws A M_NOT_FOUND error if not supported by the homeserver.
2279
+ */
2280
+ _unstable_getRTCTransports(): Promise<Transport[]>;
2281
+ /**
2282
+ * Get the API versions supported by the server, along with any
2283
+ * unstable APIs it supports
2284
+ * @returns The server /versions response
2285
+ */
2286
+ getVersions(): Promise<IServerVersions>;
2287
+ /**
2288
+ * Check if a particular spec version is supported by the server.
2289
+ * @param version - The spec version (such as "r0.5.0") to check for.
2290
+ * @returns Whether it is supported
2291
+ */
2292
+ isVersionSupported(version: string): Promise<boolean>;
2293
+ /**
2294
+ * Query the server to see if it lists support for an unstable feature
2295
+ * in the /versions response
2296
+ * @param feature - the feature name
2297
+ * @returns true if the feature is supported
2298
+ */
2299
+ doesServerSupportUnstableFeature(feature: string): Promise<boolean>;
2300
+ /**
2301
+ * Query the server to see if it is forcing encryption to be enabled for
2302
+ * a given room preset, based on the /versions response.
2303
+ * @param presetName - The name of the preset to check.
2304
+ * @returns true if the server is forcing encryption
2305
+ * for the preset.
2306
+ */
2307
+ doesServerForceEncryptionForPreset(presetName: Preset): Promise<boolean>;
2308
+ doesServerSupportThread(): Promise<{
2309
+ threads: FeatureSupport;
2310
+ list: FeatureSupport;
2311
+ fwdPagination: FeatureSupport;
2312
+ }>;
2313
+ /**
2314
+ * Get if lazy loading members is being used.
2315
+ * @returns Whether or not members are lazy loaded by this client
2316
+ */
2317
+ hasLazyLoadMembersEnabled(): boolean;
2318
+ /**
2319
+ * Set a function which is called when /sync returns a 'limited' response.
2320
+ * It is called with a room ID and returns a boolean. It should return 'true' if the SDK
2321
+ * can SAFELY remove events from this room. It may not be safe to remove events if there
2322
+ * are other references to the timelines for this room, e.g because the client is
2323
+ * actively viewing events in this room.
2324
+ * Default: returns false.
2325
+ * @param cb - The callback which will be invoked.
2326
+ */
2327
+ setCanResetTimelineCallback(cb: ResetTimelineCallback): void;
2328
+ /**
2329
+ * Get the callback set via `setCanResetTimelineCallback`.
2330
+ * @returns The callback or null
2331
+ */
2332
+ getCanResetTimelineCallback(): ResetTimelineCallback | undefined;
2333
+ /**
2334
+ * Returns relations for a given event. Handles encryption transparently,
2335
+ * with the caveat that the amount of events returned might be 0, even though you get a nextBatch.
2336
+ * When the returned promise resolves, all messages should have finished trying to decrypt.
2337
+ * @param roomId - the room of the event
2338
+ * @param eventId - the id of the event
2339
+ * @param relationType - the rel_type of the relations requested
2340
+ * @param eventType - the event type of the relations requested
2341
+ * @param opts - options with optional values for the request.
2342
+ * @returns an object with `events` as `MatrixEvent[]` and optionally `nextBatch` if more relations are available.
2343
+ */
2344
+ relations(roomId: string, eventId: string, relationType: RelationType | string | null, eventType?: EventType | string | null, opts?: IRelationsRequestOpts): Promise<{
2345
+ originalEvent?: MatrixEvent | null;
2346
+ events: MatrixEvent[];
2347
+ nextBatch?: string | null;
2348
+ prevBatch?: string | null;
2349
+ }>;
2350
+ /**
2351
+ * Generates a random string suitable for use as a client secret. <strong>This
2352
+ * method is experimental and may change.</strong>
2353
+ * @returns A new client secret
2354
+ */
2355
+ generateClientSecret(): string;
2356
+ /**
2357
+ * Attempts to decrypt an event
2358
+ * @param event - The event to decrypt
2359
+ * @returns A decryption promise
2360
+ */
2361
+ decryptEventIfNeeded(event: MatrixEvent, options?: IDecryptOptions): Promise<void>;
2362
+ private termsUrlForService;
2363
+ /**
2364
+ * Get the Homeserver URL of this client
2365
+ * @returns Homeserver URL of this client
2366
+ */
2367
+ getHomeserverUrl(): string;
2368
+ /**
2369
+ * Get the identity server URL of this client
2370
+ * @param stripProto - whether or not to strip the protocol from the URL
2371
+ * @returns Identity server URL of this client
2372
+ */
2373
+ getIdentityServerUrl(stripProto?: boolean): string | undefined;
2374
+ /**
2375
+ * Set the identity server URL of this client
2376
+ * @param url - New identity server URL
2377
+ */
2378
+ setIdentityServerUrl(url?: string): void;
2379
+ /**
2380
+ * Get the access token associated with this account.
2381
+ * @returns The access_token or null
2382
+ */
2383
+ getAccessToken(): string | null;
2384
+ /**
2385
+ * Get the refresh token associated with this account.
2386
+ * @returns The refresh_token or null
2387
+ */
2388
+ getRefreshToken(): string | null;
2389
+ /**
2390
+ * Set the access token associated with this account.
2391
+ * @param token - The new access token.
2392
+ */
2393
+ setAccessToken(token: string): void;
2394
+ /**
2395
+ * @returns true if there is a valid access_token for this client.
2396
+ */
2397
+ isLoggedIn(): boolean;
2398
+ /**
2399
+ * Make up a new transaction id
2400
+ *
2401
+ * @returns a new, unique, transaction id
2402
+ */
2403
+ makeTxnId(): string;
2404
+ /**
2405
+ * Check whether a username is available prior to registration. An error response
2406
+ * indicates an invalid/unavailable username.
2407
+ * @param username - The username to check the availability of.
2408
+ * @returns Promise which resolves: to boolean of whether the username is available.
2409
+ */
2410
+ isUsernameAvailable(username: string): Promise<boolean>;
2411
+ /**
2412
+ * @param bindThreepids - Set key 'email' to true to bind any email
2413
+ * threepid uses during registration in the identity server. Set 'msisdn' to
2414
+ * true to bind msisdn.
2415
+ * @returns Promise which resolves to a RegisterResponse object
2416
+ * @returns Rejects: with an error response.
2417
+ */
2418
+ register(username: string, password: string, sessionId: string | null, auth: {
2419
+ session?: string;
2420
+ type: string;
2421
+ }, bindThreepids?: {
2422
+ email?: boolean;
2423
+ msisdn?: boolean;
2424
+ }, guestAccessToken?: string, inhibitLogin?: boolean): Promise<RegisterResponse>;
2425
+ /**
2426
+ * Register a guest account.
2427
+ * This method returns the auth info needed to create a new authenticated client,
2428
+ * Remember to call `setGuest(true)` on the (guest-)authenticated client, e.g:
2429
+ * ```javascript
2430
+ * const tmpClient = await sdk.createClient(MATRIX_INSTANCE);
2431
+ * const { user_id, device_id, access_token } = tmpClient.registerGuest();
2432
+ * const client = createClient({
2433
+ * baseUrl: MATRIX_INSTANCE,
2434
+ * accessToken: access_token,
2435
+ * userId: user_id,
2436
+ * deviceId: device_id,
2437
+ * })
2438
+ * client.setGuest(true);
2439
+ * ```
2440
+ *
2441
+ * @param body - JSON HTTP body to provide.
2442
+ * @returns Promise which resolves: JSON object that contains:
2443
+ * `{ user_id, device_id, access_token, home_server }`
2444
+ * @returns Rejects: with an error response.
2445
+ */
2446
+ registerGuest({ body }?: {
2447
+ body?: RegisterRequest;
2448
+ }): Promise<RegisterResponse>;
2449
+ /**
2450
+ * @param data - parameters for registration request
2451
+ * @param kind - type of user to register. may be "guest"
2452
+ * @returns Promise which resolves: to the /register response
2453
+ * @returns Rejects: with an error response.
2454
+ */
2455
+ registerRequest(data: RegisterRequest, kind?: string): Promise<RegisterResponse>;
2456
+ /**
2457
+ * Refreshes an access token using a provided refresh token. The refresh token
2458
+ * must be valid for the current access token known to the client instance.
2459
+ *
2460
+ * Note that this function will not cause a logout if the token is deemed
2461
+ * unknown by the server - the caller is responsible for managing logout
2462
+ * actions on error.
2463
+ * @param refreshToken - The refresh token.
2464
+ * @returns Promise which resolves to the new token.
2465
+ * @returns Rejects with an error response.
2466
+ */
2467
+ refreshToken(refreshToken: string): Promise<IRefreshTokenResponse>;
2468
+ /**
2469
+ * @returns Promise which resolves to the available login flows
2470
+ * @returns Rejects: with an error response.
2471
+ */
2472
+ loginFlows(): Promise<ILoginFlowsResponse>;
2473
+ /**
2474
+ * @returns Promise which resolves to a LoginResponse object
2475
+ * @returns Rejects: with an error response.
2476
+ *
2477
+ * @deprecated This method has unintuitive behaviour: it updates the `MatrixClient` instance with *some* of the
2478
+ * returned credentials. Instead, call {@link loginRequest} and create a new `MatrixClient` instance using the
2479
+ * results. See https://github.com/matrix-org/matrix-js-sdk/issues/4502.
2480
+ */
2481
+ login(loginType: LoginRequest["type"], data: Omit<LoginRequest, "type">): Promise<LoginResponse>;
2482
+ /**
2483
+ * @returns Promise which resolves to a LoginResponse object
2484
+ * @returns Rejects: with an error response.
2485
+ *
2486
+ * @deprecated This method has unintuitive behaviour: it updates the `MatrixClient` instance with *some* of the
2487
+ * returned credentials. Instead, call {@link loginRequest} with `data.type: "m.login.password"`, and create a new
2488
+ * `MatrixClient` instance using the results. See https://github.com/matrix-org/matrix-js-sdk/issues/4502.
2489
+ */
2490
+ loginWithPassword(user: string, password: string): Promise<LoginResponse>;
2491
+ /**
2492
+ * @param redirectUrl - The URL to redirect to after the HS
2493
+ * authenticates with CAS.
2494
+ * @returns The HS URL to hit to begin the CAS login process.
2495
+ */
2496
+ getCasLoginUrl(redirectUrl: string): string;
2497
+ /**
2498
+ * @param redirectUrl - The URL to redirect to after the HS
2499
+ * authenticates with the SSO.
2500
+ * @param loginType - The type of SSO login we are doing (sso or cas).
2501
+ * Defaults to 'sso'.
2502
+ * @param idpId - The ID of the Identity Provider being targeted, optional.
2503
+ * @param action - the SSO flow to indicate to the IdP, optional.
2504
+ * @returns The HS URL to hit to begin the SSO login process.
2505
+ */
2506
+ getSsoLoginUrl(redirectUrl: string, loginType?: string, idpId?: string, action?: SSOAction): string;
2507
+ /**
2508
+ * @param token - Login token previously received from homeserver
2509
+ * @returns Promise which resolves to a LoginResponse object
2510
+ * @returns Rejects: with an error response.
2511
+ *
2512
+ * @deprecated This method has unintuitive behaviour: it updates the `MatrixClient` instance with *some* of the
2513
+ * returned credentials. Instead, call {@link loginRequest} with `data.type: "m.login.token"`, and create a new
2514
+ * `MatrixClient` instance using the results. See https://github.com/matrix-org/matrix-js-sdk/issues/4502.
2515
+ */
2516
+ loginWithToken(token: string): Promise<LoginResponse>;
2517
+ /**
2518
+ * Sends a `POST /login` request to the server.
2519
+ *
2520
+ * If successful, this will create a new device and access token for the user.
2521
+ *
2522
+ * @see {@link MatrixClient.loginFlows} which makes a `GET /login` request.
2523
+ * @see https://spec.matrix.org/v1.13/client-server-api/#post_matrixclientv3login
2524
+ *
2525
+ * @param data - Credentials and other details for the login request.
2526
+ */
2527
+ loginRequest(data: LoginRequest): Promise<LoginResponse>;
2528
+ /**
2529
+ * Logs out the current session.
2530
+ * Obviously, further calls that require authorisation should fail after this
2531
+ * method is called. The state of the MatrixClient object is not affected:
2532
+ * it is up to the caller to either reset or destroy the MatrixClient after
2533
+ * this method succeeds.
2534
+ * @param stopClient - whether to stop the client before calling /logout to prevent invalid token errors.
2535
+ * @returns Promise which resolves: On success, the empty object `{}`
2536
+ */
2537
+ logout(stopClient?: boolean): Promise<EmptyObject>;
2538
+ /**
2539
+ * Deactivates the logged-in account.
2540
+ * Obviously, further calls that require authorisation should fail after this
2541
+ * method is called. The state of the MatrixClient object is not affected:
2542
+ * it is up to the caller to either reset or destroy the MatrixClient after
2543
+ * this method succeeds.
2544
+ * @param auth - Optional. Auth data to supply for User-Interactive auth.
2545
+ * @param erase - Optional. If set, send as `erase` attribute in the
2546
+ * JSON request body, indicating whether the account should be erased. Defaults
2547
+ * to false.
2548
+ * @returns Promise which resolves: On success, the empty object
2549
+ */
2550
+ deactivateAccount(auth?: AuthDict, erase?: boolean): Promise<{
2551
+ id_server_unbind_result: IdServerUnbindResult;
2552
+ }>;
2553
+ /**
2554
+ * Make a request for an `m.login.token` to be issued as per
2555
+ * https://spec.matrix.org/v1.7/client-server-api/#post_matrixclientv1loginget_token
2556
+ *
2557
+ * The server may require User-Interactive auth.
2558
+ *
2559
+ * @param auth - Optional. Auth data to supply for User-Interactive auth.
2560
+ * @returns Promise which resolves: On success, the token response
2561
+ * or UIA auth data.
2562
+ */
2563
+ requestLoginToken(auth?: AuthDict): Promise<LoginTokenPostResponse>;
2564
+ /**
2565
+ * Get the fallback URL to use for unknown interactive-auth stages.
2566
+ *
2567
+ * @param loginType - the type of stage being attempted
2568
+ * @param authSessionId - the auth session ID provided by the homeserver
2569
+ *
2570
+ * @returns HS URL to hit to for the fallback interface
2571
+ */
2572
+ getFallbackAuthUrl(loginType: string, authSessionId: string): string;
2573
+ /**
2574
+ * Create a new room.
2575
+ * @param options - a list of options to pass to the /createRoom API.
2576
+ * @returns Promise which resolves: `{room_id: {string}}`
2577
+ * @returns Rejects: with an error response.
2578
+ */
2579
+ createRoom(options: ICreateRoomOpts): Promise<{
2580
+ room_id: string;
2581
+ }>;
2582
+ /**
2583
+ * Fetches relations for a given event
2584
+ * @param roomId - the room of the event
2585
+ * @param eventId - the id of the event
2586
+ * @param relationType - the rel_type of the relations requested
2587
+ * @param eventType - the event type of the relations requested
2588
+ * @param opts - options with optional values for the request.
2589
+ * @returns the response, with chunk, prev_batch and, next_batch.
2590
+ */
2591
+ fetchRelations(roomId: string, eventId: string, relationType: RelationType | string | null, eventType?: EventType | string | null, opts?: IRelationsRequestOpts): Promise<IRelationsResponse>;
2592
+ /**
2593
+ * @returns Promise which resolves: TODO
2594
+ * @returns Rejects: with an error response.
2595
+ */
2596
+ roomState(roomId: string): Promise<IStateEventWithRoomId[]>;
2597
+ /**
2598
+ * Get an event in a room by its event id.
2599
+ *
2600
+ * @returns Promise which resolves to an object containing the event.
2601
+ * @returns Rejects: with an error response.
2602
+ */
2603
+ fetchRoomEvent(roomId: string, eventId: string): Promise<Partial<IEvent>>;
2604
+ /**
2605
+ * @param includeMembership - the membership type to include in the response
2606
+ * @param excludeMembership - the membership type to exclude from the response
2607
+ * @param atEventId - the id of the event for which moment in the timeline the members should be returned for
2608
+ * @returns Promise which resolves: dictionary of userid to profile information
2609
+ * @returns Rejects: with an error response.
2610
+ */
2611
+ members(roomId: string, includeMembership?: string, excludeMembership?: string, atEventId?: string): Promise<{
2612
+ [userId: string]: IStateEventWithRoomId[];
2613
+ }>;
2614
+ /**
2615
+ * Upgrades a room to a new protocol version
2616
+ * @param newVersion - The target version to upgrade to
2617
+ * @param additionalCreators - an optional list of user IDs of users who
2618
+ * should have the same permissions as the user performing the
2619
+ * upgrade
2620
+ * @returns Promise which resolves: Object with key 'replacement_room'
2621
+ * @returns Rejects: with an error response.
2622
+ */
2623
+ upgradeRoom(roomId: string, newVersion: string, additionalCreators?: string[]): Promise<{
2624
+ replacement_room: string;
2625
+ }>;
2626
+ /**
2627
+ * Retrieve a state event.
2628
+ * @returns Promise which resolves: TODO
2629
+ * @returns Rejects: with an error response.
2630
+ */
2631
+ getStateEvent(roomId: string, eventType: string, stateKey: string): Promise<Record<string, any>>;
2632
+ /**
2633
+ * Send a state event into a room
2634
+ * @param roomId - ID of the room to send the event into
2635
+ * @param eventType - type of the state event to send
2636
+ * @param content - content of the event to send
2637
+ * @param stateKey - the stateKey to send into the room
2638
+ * @param opts - Options for the request function.
2639
+ * @returns Promise which resolves: TODO
2640
+ * @returns Rejects: with an error response.
2641
+ */
2642
+ sendStateEvent<K extends keyof StateEvents>(roomId: string, eventType: K, content: StateEvents[K], stateKey?: string, opts?: IRequestOpts): Promise<ISendEventResponse>;
2643
+ private encryptStateEventIfNeeded;
2644
+ /**
2645
+ * @returns Promise which resolves: TODO
2646
+ * @returns Rejects: with an error response.
2647
+ */
2648
+ roomInitialSync(roomId: string, limit: number): Promise<IRoomInitialSyncResponse>;
2649
+ /**
2650
+ * Set a marker to indicate the point in a room before which the user has read every
2651
+ * event. This can be retrieved from room account data (the event type is `m.fully_read`)
2652
+ * and displayed as a horizontal line in the timeline that is visually distinct to the
2653
+ * position of the user's own read receipt.
2654
+ * @param roomId - ID of the room that has been read
2655
+ * @param rmEventId - ID of the event that has been read
2656
+ * @param rrEventId - ID of the event tracked by the read receipt. This is here
2657
+ * for convenience because the RR and the RM are commonly updated at the same time as
2658
+ * each other. Optional.
2659
+ * @param rpEventId - rpEvent the m.read.private read receipt event for when we
2660
+ * don't want other users to see the read receipts. This is experimental. Optional.
2661
+ * @returns Promise which resolves: the empty object, `{}`.
2662
+ */
2663
+ setRoomReadMarkersHttpRequest(roomId: string, rmEventId: string, rrEventId?: string, rpEventId?: string): Promise<EmptyObject>;
2664
+ /**
2665
+ * @returns Promise which resolves: A list of the user's current rooms
2666
+ * @returns Rejects: with an error response.
2667
+ */
2668
+ getJoinedRooms(): Promise<IJoinedRoomsResponse>;
2669
+ /**
2670
+ * Retrieve membership info. for a room.
2671
+ * @param roomId - ID of the room to get membership for
2672
+ * @returns Promise which resolves: A list of currently joined users
2673
+ * and their profile data.
2674
+ * @returns Rejects: with an error response.
2675
+ */
2676
+ getJoinedRoomMembers(roomId: string): Promise<IJoinedMembersResponse>;
2677
+ /**
2678
+ * Get the public rooms list from the server. Supports pagination
2679
+ * @param params - Options for this request
2680
+ * @returns Promise which resolves: IPublicRoomsResponse
2681
+ * @returns Rejects: with an error response.
2682
+ * @throws May throw a `MatrixSafetyError` if content is deemed unsafe.
2683
+ * @see MatrixSafetyError
2684
+ */
2685
+ publicRooms({ server, limit, since, ...options }?: IRoomDirectoryOptions): Promise<IPublicRoomsResponse>;
2686
+ /**
2687
+ * Create an alias to room ID mapping.
2688
+ * @param alias - The room alias to create.
2689
+ * @param roomId - The room ID to link the alias to.
2690
+ * @returns Promise which resolves: an empty object `{}`
2691
+ * @returns Rejects: with an error response.
2692
+ */
2693
+ createAlias(alias: string, roomId: string): Promise<EmptyObject>;
2694
+ /**
2695
+ * Delete an alias to room ID mapping. This alias must be on your local server,
2696
+ * and you must have sufficient access to do this operation.
2697
+ * @param alias - The room alias to delete.
2698
+ * @returns Promise which resolves: an empty object `{}`.
2699
+ * @returns Rejects: with an error response.
2700
+ */
2701
+ deleteAlias(alias: string): Promise<EmptyObject>;
2702
+ /**
2703
+ * Gets the local aliases for the room. Note: this includes all local aliases, unlike the
2704
+ * curated list from the m.room.canonical_alias state event.
2705
+ * @param roomId - The room ID to get local aliases for.
2706
+ * @returns Promise which resolves: an object with an `aliases` property, containing an array of local aliases
2707
+ * @returns Rejects: with an error response.
2708
+ */
2709
+ getLocalAliases(roomId: string): Promise<{
2710
+ aliases: string[];
2711
+ }>;
2712
+ /**
2713
+ * Get room info for the given alias.
2714
+ * @param alias - The room alias to resolve.
2715
+ * @returns Promise which resolves: Object with room_id and servers.
2716
+ * @returns Rejects: with an error response.
2717
+ */
2718
+ getRoomIdForAlias(alias: string): Promise<{
2719
+ room_id: string;
2720
+ servers: string[];
2721
+ }>;
2722
+ /**
2723
+ * Get the visibility of a room in the current HS's room directory
2724
+ * @returns Promise which resolves: TODO
2725
+ * @returns Rejects: with an error response.
2726
+ */
2727
+ getRoomDirectoryVisibility(roomId: string): Promise<{
2728
+ visibility: Visibility;
2729
+ }>;
2730
+ /**
2731
+ * Set the visibility of a room in the current HS's room directory
2732
+ * @param visibility - "public" to make the room visible
2733
+ * in the public directory, or "private" to make
2734
+ * it invisible.
2735
+ * @returns Promise which resolves: to an empty object `{}`
2736
+ * @returns Rejects: with an error response.
2737
+ */
2738
+ setRoomDirectoryVisibility(roomId: string, visibility: Visibility): Promise<EmptyObject>;
2739
+ /**
2740
+ * Query the user directory with a term matching user IDs, display names and domains.
2741
+ * @param options
2742
+ * @param options.term - the term with which to search.
2743
+ * @param options.limit - the maximum number of results to return. The server will apply a limit if unspecified.
2744
+ * @returns Promise which resolves: an array of results.
2745
+ */
2746
+ searchUserDirectory({ term, limit }: {
2747
+ term: string;
2748
+ limit?: number;
2749
+ }): Promise<IUserDirectoryResponse>;
2750
+ /**
2751
+ * Upload a file to the media repository on the homeserver.
2752
+ *
2753
+ * @param file - The object to upload. On a browser, something that
2754
+ * can be sent to XMLHttpRequest.send (typically a File). Under node.js,
2755
+ * a a Buffer, String or ReadStream.
2756
+ *
2757
+ * @param opts - options object
2758
+ *
2759
+ * @returns Promise which resolves to response object, or rejects with an error (usually a MatrixError).
2760
+ */
2761
+ uploadContent(file: FileType, opts?: UploadOpts): Promise<UploadResponse>;
2762
+ /**
2763
+ * Cancel a file upload in progress
2764
+ * @param upload - The object returned from uploadContent
2765
+ * @returns true if canceled, otherwise false
2766
+ */
2767
+ cancelUpload(upload: Promise<UploadResponse>): boolean;
2768
+ /**
2769
+ * Get a list of all file uploads in progress
2770
+ * @returns Array of objects representing current uploads.
2771
+ * Currently in progress is element 0. Keys:
2772
+ * - promise: The promise associated with the upload
2773
+ * - loaded: Number of bytes uploaded
2774
+ * - total: Total number of bytes to upload
2775
+ */
2776
+ getCurrentUploads(): Upload[];
2777
+ /**
2778
+ * @param info - The kind of info to retrieve (e.g. 'displayname',
2779
+ * 'avatar_url').
2780
+ * @returns Promise which resolves: TODO
2781
+ * @returns Rejects: with an error response.
2782
+ */
2783
+ getProfileInfo(userId: string, info?: string): Promise<{
2784
+ avatar_url?: string;
2785
+ displayname?: string;
2786
+ }>;
2787
+ /**
2788
+ * Determine if the server supports extended profiles, as described by MSC4133.
2789
+ *
2790
+ * @returns `true` if supported, otherwise `false`
2791
+ */
2792
+ doesServerSupportExtendedProfiles(): Promise<boolean>;
2793
+ /**
2794
+ * Get the prefix used for extended profile requests.
2795
+ *
2796
+ * @returns The prefix for use with `authedRequest`
2797
+ */
2798
+ private getExtendedProfileRequestPrefix;
2799
+ /**
2800
+ * Fetch a user's *extended* profile, which may include additional keys.
2801
+ * Always returns all available profile fields, irrespective of what profile fields are set
2802
+ * in the sync filter.
2803
+ *
2804
+ * @see https://github.com/tcpipuk/matrix-spec-proposals/blob/main/proposals/4133-extended-profiles.md
2805
+ * @param userId The user ID to fetch the profile of.
2806
+ * @returns A set of keys to property values.
2807
+ *
2808
+ * @throws An error if the server does not support MSC4133.
2809
+ * @throws A M_NOT_FOUND error if the profile could not be found.
2810
+ */
2811
+ getExtendedProfile(userId: string): Promise<Record<string, unknown>>;
2812
+ /**
2813
+ * Fetch a specific key from the user's *extended* profile by checking local cache (which is updated from
2814
+ * the sync) and querying the server if no data is cached locally.
2815
+ *
2816
+ * @see https://github.com/tcpipuk/matrix-spec-proposals/blob/main/proposals/4133-extended-profiles.md
2817
+ * @param userId The user ID to fetch the profile of.
2818
+ * @param key The key of the property to fetch.
2819
+ * @returns The property value.
2820
+ *
2821
+ * @throws An error if the server does not support MSC4133.
2822
+ * @throws A M_NOT_FOUND error if the key was not set OR the profile could not be found.
2823
+ */
2824
+ getExtendedProfileProperty(userId: string, key: string): Promise<unknown>;
2825
+ /**
2826
+ * Set a property on your *extended* profile.
2827
+ *
2828
+ * @see https://github.com/tcpipuk/matrix-spec-proposals/blob/main/proposals/4133-extended-profiles.md
2829
+ * @param key The key of the property to set.
2830
+ * @param value The value to set on the property.
2831
+ *
2832
+ * @throws An error if the server does not support MSC4133 OR the server disallows editing the user profile.
2833
+ */
2834
+ setExtendedProfileProperty(key: string, value: unknown): Promise<void>;
2835
+ /**
2836
+ * Delete a property on your *extended* profile.
2837
+ *
2838
+ * @see https://github.com/tcpipuk/matrix-spec-proposals/blob/main/proposals/4133-extended-profiles.md
2839
+ * @param key The key of the property to delete.
2840
+ *
2841
+ * @throws An error if the server does not support MSC4133 OR the server disallows editing the user profile.
2842
+ */
2843
+ deleteExtendedProfileProperty(key: string): Promise<void>;
2844
+ /**
2845
+ * Update multiple properties on your *extended* profile. This will
2846
+ * merge with any existing keys.
2847
+ *
2848
+ * @see https://github.com/tcpipuk/matrix-spec-proposals/blob/main/proposals/4133-extended-profiles.md
2849
+ * @param profile The profile object to merge with the existing profile.
2850
+ * @returns The newly merged profile.
2851
+ *
2852
+ * @throws An error if the server does not support MSC4133 OR the server disallows editing the user profile.
2853
+ */
2854
+ patchExtendedProfile(profile: Record<string, unknown>): Promise<Record<string, unknown>>;
2855
+ /**
2856
+ * Set multiple properties on your *extended* profile. This will completely
2857
+ * replace the existing profile, removing any unspecified keys.
2858
+ *
2859
+ * @see https://github.com/tcpipuk/matrix-spec-proposals/blob/main/proposals/4133-extended-profiles.md
2860
+ * @param profile The profile object to set.
2861
+ *
2862
+ * @throws An error if the server does not support MSC4133 OR the server disallows editing the user profile.
2863
+ */
2864
+ setExtendedProfile(profile: Record<string, unknown>): Promise<void>;
2865
+ /**
2866
+ * @returns Promise which resolves to a list of the user's threepids.
2867
+ * @returns Rejects: with an error response.
2868
+ */
2869
+ getThreePids(): Promise<{
2870
+ threepids: IThreepid[];
2871
+ }>;
2872
+ /**
2873
+ * Add a 3PID to your homeserver account. This API does not use an identity
2874
+ * server, as the homeserver is expected to handle 3PID ownership validation.
2875
+ *
2876
+ * @param data - A object with 3PID validation data from having called
2877
+ * `account/3pid/<medium>/requestToken` on the homeserver.
2878
+ * @returns Promise which resolves: to an empty object `{}`
2879
+ * @returns Rejects: with an error response.
2880
+ */
2881
+ addThreePidOnly(data: IAddThreePidOnlyBody): Promise<EmptyObject>;
2882
+ /**
2883
+ * Bind a 3PID for discovery onto an identity server via the homeserver. The
2884
+ * identity server handles 3PID ownership validation and the homeserver records
2885
+ * the new binding to track where all 3PIDs for the account are bound.
2886
+ *
2887
+ * @param data - A object with 3PID validation data from having called
2888
+ * `validate/<medium>/requestToken` on the identity server. It should also
2889
+ * contain `id_server` and `id_access_token` fields as well.
2890
+ * @returns Promise which resolves: to an empty object `{}`
2891
+ * @returns Rejects: with an error response.
2892
+ */
2893
+ bindThreePid(data: IBindThreePidBody): Promise<EmptyObject>;
2894
+ /**
2895
+ * Unbind a 3PID for discovery on an identity server via the homeserver. The
2896
+ * homeserver removes its record of the binding to keep an updated record of
2897
+ * where all 3PIDs for the account are bound.
2898
+ *
2899
+ * @param medium - The threepid medium (eg. 'email')
2900
+ * @param address - The threepid address (eg. 'bob\@example.com')
2901
+ * this must be as returned by getThreePids.
2902
+ * @returns Promise which resolves: on success
2903
+ * @returns Rejects: with an error response.
2904
+ */
2905
+ unbindThreePid(medium: string, address: string): Promise<{
2906
+ id_server_unbind_result: IdServerUnbindResult;
2907
+ }>;
2908
+ /**
2909
+ * @param medium - The threepid medium (eg. 'email')
2910
+ * @param address - The threepid address (eg. 'bob\@example.com')
2911
+ * this must be as returned by getThreePids.
2912
+ * @returns Promise which resolves: The server response on success
2913
+ * (generally the empty JSON object)
2914
+ * @returns Rejects: with an error response.
2915
+ */
2916
+ deleteThreePid(medium: string, address: string): Promise<{
2917
+ id_server_unbind_result: IdServerUnbindResult;
2918
+ }>;
2919
+ /**
2920
+ * Make a request to change your password.
2921
+ * @param newPassword - The new desired password.
2922
+ * @param logoutDevices - Should all sessions be logged out after the password change. Defaults to true.
2923
+ * @returns Promise which resolves: to an empty object `{}`
2924
+ * @returns Rejects: with an error response.
2925
+ */
2926
+ setPassword(authDict: AuthDict, newPassword: string, logoutDevices?: boolean): Promise<EmptyObject>;
2927
+ /**
2928
+ * Gets all devices recorded for the logged-in user
2929
+ * @returns Promise which resolves: result object
2930
+ * @returns Rejects: with an error response.
2931
+ */
2932
+ getDevices(): Promise<{
2933
+ devices: IMyDevice[];
2934
+ }>;
2935
+ /**
2936
+ * Gets specific device details for the logged-in user
2937
+ * @param deviceId - device to query
2938
+ * @returns Promise which resolves: result object
2939
+ * @returns Rejects: with an error response.
2940
+ */
2941
+ getDevice(deviceId: string): Promise<IMyDevice>;
2942
+ /**
2943
+ * Update the given device
2944
+ *
2945
+ * @param deviceId - device to update
2946
+ * @param body - body of request
2947
+ * @returns Promise which resolves: to an empty object `{}`
2948
+ * @returns Rejects: with an error response.
2949
+ */
2950
+ setDeviceDetails(deviceId: string, body: {
2951
+ display_name: string;
2952
+ }): Promise<EmptyObject>;
2953
+ /**
2954
+ * Delete the given device
2955
+ *
2956
+ * @param deviceId - device to delete
2957
+ * @param auth - Optional. Auth data to supply for User-Interactive auth.
2958
+ * @returns Promise which resolves: result object
2959
+ * @returns Rejects: with an error response.
2960
+ */
2961
+ deleteDevice(deviceId: string, auth?: AuthDict): Promise<EmptyObject>;
2962
+ /**
2963
+ * Delete multiple device
2964
+ *
2965
+ * @param devices - IDs of the devices to delete
2966
+ * @param auth - Optional. Auth data to supply for User-Interactive auth.
2967
+ * @returns Promise which resolves: result object
2968
+ * @returns Rejects: with an error response.
2969
+ */
2970
+ deleteMultipleDevices(devices: string[], auth?: AuthDict): Promise<EmptyObject>;
2971
+ /**
2972
+ * Gets all pushers registered for the logged-in user
2973
+ *
2974
+ * @returns Promise which resolves: Array of objects representing pushers
2975
+ * @returns Rejects: with an error response.
2976
+ */
2977
+ getPushers(): Promise<{
2978
+ pushers: IPusher[];
2979
+ }>;
2980
+ /**
2981
+ * Adds a new pusher or updates an existing pusher
2982
+ *
2983
+ * @param pusher - Object representing a pusher
2984
+ * @returns Promise which resolves: Empty json object on success
2985
+ * @returns Rejects: with an error response.
2986
+ */
2987
+ setPusher(pusher: IPusherRequest): Promise<EmptyObject>;
2988
+ /**
2989
+ * Removes an existing pusher
2990
+ * @param pushKey - pushkey of pusher to remove
2991
+ * @param appId - app_id of pusher to remove
2992
+ * @returns Promise which resolves: Empty json object on success
2993
+ * @returns Rejects: with an error response.
2994
+ */
2995
+ removePusher(pushKey: string, appId: string): Promise<EmptyObject>;
2996
+ /**
2997
+ * Persists local notification settings
2998
+ * @returns Promise which resolves: an empty object
2999
+ * @returns Rejects: with an error response.
3000
+ */
3001
+ setLocalNotificationSettings(deviceId: string, notificationSettings: LocalNotificationSettings): Promise<EmptyObject>;
3002
+ /**
3003
+ * Get the push rules for the account from the server.
3004
+ * @returns Promise which resolves to the push rules.
3005
+ * @returns Rejects: with an error response.
3006
+ */
3007
+ getPushRules(): Promise<IPushRules>;
3008
+ /**
3009
+ * Update the push rules for the account. This should be called whenever
3010
+ * updated push rules are available.
3011
+ */
3012
+ setPushRules(rules: IPushRules): void;
3013
+ /**
3014
+ * @returns Promise which resolves: an empty object `{}`
3015
+ * @returns Rejects: with an error response.
3016
+ */
3017
+ addPushRule(scope: string, kind: PushRuleKind, ruleId: Exclude<string, RuleId>, body: Pick<IPushRule, "actions" | "conditions" | "pattern">): Promise<EmptyObject>;
3018
+ /**
3019
+ * @returns Promise which resolves: an empty object `{}`
3020
+ * @returns Rejects: with an error response.
3021
+ */
3022
+ deletePushRule(scope: string, kind: PushRuleKind, ruleId: Exclude<string, RuleId>): Promise<EmptyObject>;
3023
+ /**
3024
+ * Enable or disable a push notification rule.
3025
+ * @returns Promise which resolves: to an empty object `{}`
3026
+ * @returns Rejects: with an error response.
3027
+ */
3028
+ setPushRuleEnabled(scope: string, kind: PushRuleKind, ruleId: RuleId | string, enabled: boolean): Promise<EmptyObject>;
3029
+ /**
3030
+ * Set the actions for a push notification rule.
3031
+ * @returns Promise which resolves: to an empty object `{}`
3032
+ * @returns Rejects: with an error response.
3033
+ */
3034
+ setPushRuleActions(scope: string, kind: PushRuleKind, ruleId: RuleId | string, actions: PushRuleAction[]): Promise<EmptyObject>;
3035
+ /**
3036
+ * Perform a server-side search.
3037
+ * @param params
3038
+ * @param params.next_batch - the batch token to pass in the query string
3039
+ * @param params.body - the JSON object to pass to the request body.
3040
+ * @param abortSignal - optional signal used to cancel the http request.
3041
+ * @returns Promise which resolves to the search response object.
3042
+ * @returns Rejects: with an error response.
3043
+ */
3044
+ search({ body, next_batch: nextBatch }: {
3045
+ body: ISearchRequestBody;
3046
+ next_batch?: string;
3047
+ }, abortSignal?: AbortSignal): Promise<ISearchResponse>;
3048
+ /**
3049
+ * Upload keys
3050
+ *
3051
+ * @param content - body of upload request
3052
+ *
3053
+ * @param opts - this method no longer takes any opts,
3054
+ * used to take opts.device_id but this was not removed from the spec as a redundant parameter
3055
+ *
3056
+ * @returns Promise which resolves: result object. Rejects: with
3057
+ * an error response ({@link MatrixError}).
3058
+ */
3059
+ uploadKeysRequest(content: IUploadKeysRequest, opts?: void): Promise<IKeysUploadResponse>;
3060
+ uploadKeySignatures(content: KeySignatures): Promise<IUploadKeySignaturesResponse>;
3061
+ /**
3062
+ * Download device keys
3063
+ *
3064
+ * @param userIds - list of users to get keys for
3065
+ *
3066
+ * @param token - sync token to pass in the query request, to help
3067
+ * the HS give the most recent results
3068
+ *
3069
+ * @returns Promise which resolves: result object. Rejects: with
3070
+ * an error response ({@link MatrixError}).
3071
+ */
3072
+ downloadKeysForUsers(userIds: string[], { token }?: {
3073
+ token?: string;
3074
+ }): Promise<IDownloadKeyResult>;
3075
+ /**
3076
+ * Claim one-time keys
3077
+ *
3078
+ * @param devices - a list of [userId, deviceId] pairs
3079
+ *
3080
+ * @param keyAlgorithm - desired key type
3081
+ *
3082
+ * @param timeout - the time (in milliseconds) to wait for keys from remote
3083
+ * servers
3084
+ *
3085
+ * @returns Promise which resolves: result object. Rejects: with
3086
+ * an error response ({@link MatrixError}).
3087
+ */
3088
+ claimOneTimeKeys(devices: [string, string][], keyAlgorithm?: string, timeout?: number): Promise<IClaimOTKsResult>;
3089
+ /**
3090
+ * Ask the server for a list of users who have changed their device lists
3091
+ * between a pair of sync tokens
3092
+ *
3093
+ *
3094
+ * @returns Promise which resolves: result object. Rejects: with
3095
+ * an error response ({@link MatrixError}).
3096
+ */
3097
+ getKeyChanges(oldToken: string, newToken: string): Promise<{
3098
+ changed: string[];
3099
+ left: string[];
3100
+ }>;
3101
+ uploadDeviceSigningKeys(auth?: AuthDict, keys?: CrossSigningKeys): Promise<EmptyObject>;
3102
+ /**
3103
+ * Register with an identity server using the OpenID token from the user's
3104
+ * Homeserver, which can be retrieved via
3105
+ * {@link MatrixClient#getOpenIdToken}.
3106
+ *
3107
+ * Note that the `/account/register` endpoint (as well as IS authentication in
3108
+ * general) was added as part of the v2 API version.
3109
+ *
3110
+ * @returns Promise which resolves: with object containing an Identity
3111
+ * Server access token.
3112
+ * @returns Rejects: with an error response.
3113
+ */
3114
+ registerWithIdentityServer(hsOpenIdToken: IOpenIDToken): Promise<{
3115
+ access_token: string;
3116
+ token: string;
3117
+ }>;
3118
+ /**
3119
+ * Requests an email verification token directly from an identity server.
3120
+ *
3121
+ * This API is used as part of binding an email for discovery on an identity
3122
+ * server. The validation data that results should be passed to the
3123
+ * `bindThreePid` method to complete the binding process.
3124
+ *
3125
+ * @param email - The email address to request a token for
3126
+ * @param clientSecret - A secret binary string generated by the client.
3127
+ * It is recommended this be around 16 ASCII characters.
3128
+ * @param sendAttempt - If an identity server sees a duplicate request
3129
+ * with the same sendAttempt, it will not send another email.
3130
+ * To request another email to be sent, use a larger value for
3131
+ * the sendAttempt param as was used in the previous request.
3132
+ * @param nextLink - Optional If specified, the client will be redirected
3133
+ * to this link after validation.
3134
+ * @param identityAccessToken - The `access_token` field of the identity
3135
+ * server `/account/register` response (see {@link registerWithIdentityServer}).
3136
+ *
3137
+ * @returns Promise which resolves: TODO
3138
+ * @returns Rejects: with an error response.
3139
+ * @throws Error if no identity server is set
3140
+ */
3141
+ requestEmailToken(email: string, clientSecret: string, sendAttempt: number, nextLink?: string, identityAccessToken?: string): Promise<IRequestTokenResponse>;
3142
+ /**
3143
+ * Requests a MSISDN verification token directly from an identity server.
3144
+ *
3145
+ * This API is used as part of binding a MSISDN for discovery on an identity
3146
+ * server. The validation data that results should be passed to the
3147
+ * `bindThreePid` method to complete the binding process.
3148
+ *
3149
+ * @param phoneCountry - The ISO 3166-1 alpha-2 code for the country in
3150
+ * which phoneNumber should be parsed relative to.
3151
+ * @param phoneNumber - The phone number, in national or international
3152
+ * format
3153
+ * @param clientSecret - A secret binary string generated by the client.
3154
+ * It is recommended this be around 16 ASCII characters.
3155
+ * @param sendAttempt - If an identity server sees a duplicate request
3156
+ * with the same sendAttempt, it will not send another SMS.
3157
+ * To request another SMS to be sent, use a larger value for
3158
+ * the sendAttempt param as was used in the previous request.
3159
+ * @param nextLink - Optional If specified, the client will be redirected
3160
+ * to this link after validation.
3161
+ * @param identityAccessToken - The `access_token` field of the Identity
3162
+ * Server `/account/register` response (see {@link registerWithIdentityServer}).
3163
+ *
3164
+ * @returns Promise which resolves to an object with a sid string
3165
+ * @returns Rejects: with an error response.
3166
+ * @throws Error if no identity server is set
3167
+ */
3168
+ requestMsisdnToken(phoneCountry: string, phoneNumber: string, clientSecret: string, sendAttempt: number, nextLink?: string, identityAccessToken?: string): Promise<IRequestMsisdnTokenResponse>;
3169
+ /**
3170
+ * Submits a MSISDN token to the identity server
3171
+ *
3172
+ * This is used when submitting the code sent by SMS to a phone number.
3173
+ * The identity server has an equivalent API for email but the js-sdk does
3174
+ * not expose this, since email is normally validated by the user clicking
3175
+ * a link rather than entering a code.
3176
+ *
3177
+ * @param sid - The sid given in the response to requestToken
3178
+ * @param clientSecret - A secret binary string generated by the client.
3179
+ * This must be the same value submitted in the requestToken call.
3180
+ * @param msisdnToken - The MSISDN token, as entered by the user.
3181
+ * @param identityAccessToken - The `access_token` field of the Identity
3182
+ * Server `/account/register` response (see {@link registerWithIdentityServer}).
3183
+ * Some legacy identity servers had no authentication here.
3184
+ *
3185
+ * @returns Promise which resolves: Object, containing success boolean.
3186
+ * @returns Rejects: with an error response.
3187
+ * @throws Error if No identity server is set
3188
+ */
3189
+ submitMsisdnToken(sid: string, clientSecret: string, msisdnToken: string, identityAccessToken: string | null): Promise<{
3190
+ success: boolean;
3191
+ }>;
3192
+ /**
3193
+ * Submits a MSISDN token to an arbitrary URL.
3194
+ *
3195
+ * This is used when submitting the code sent by SMS to a phone number in the
3196
+ * newer 3PID flow where the homeserver validates 3PID ownership (as part of
3197
+ * `requestAdd3pidMsisdnToken`). The homeserver response may include a
3198
+ * `submit_url` to specify where the token should be sent, and this helper can
3199
+ * be used to pass the token to this URL.
3200
+ *
3201
+ * @param url - The URL to submit the token to
3202
+ * @param sid - The sid given in the response to requestToken
3203
+ * @param clientSecret - A secret binary string generated by the client.
3204
+ * This must be the same value submitted in the requestToken call.
3205
+ * @param msisdnToken - The MSISDN token, as entered by the user.
3206
+ *
3207
+ * @returns Promise which resolves: Object, containing success boolean.
3208
+ * @returns Rejects: with an error response.
3209
+ */
3210
+ submitMsisdnTokenOtherUrl(url: string, sid: string, clientSecret: string, msisdnToken: string): Promise<{
3211
+ success: boolean;
3212
+ }>;
3213
+ /**
3214
+ * Gets the V2 hashing information from the identity server. Primarily useful for
3215
+ * lookups.
3216
+ * @param identityAccessToken - The access token for the identity server.
3217
+ * @returns The hashing information for the identity server.
3218
+ */
3219
+ getIdentityHashDetails(identityAccessToken: string): Promise<{
3220
+ /**
3221
+ * The algorithms the server supports. Must contain at least sha256.
3222
+ */
3223
+ algorithms: string[];
3224
+ /**
3225
+ * The pepper the client MUST use in hashing identifiers,
3226
+ * and MUST supply to the /lookup endpoint when performing lookups.
3227
+ */
3228
+ lookup_pepper: string;
3229
+ }>;
3230
+ /**
3231
+ * Performs a hashed lookup of addresses against the identity server. This is
3232
+ * only supported on identity servers which have at least the version 2 API.
3233
+ * @param addressPairs - An array of 2 element arrays.
3234
+ * The first element of each pair is the address, the second is the 3PID medium.
3235
+ * Eg: `["email@example.org", "email"]`
3236
+ * @param identityAccessToken - The access token for the identity server.
3237
+ * @returns A collection of address mappings to
3238
+ * found MXIDs. Results where no user could be found will not be listed.
3239
+ */
3240
+ identityHashedLookup(addressPairs: [string, string][], identityAccessToken: string): Promise<{
3241
+ address: string;
3242
+ mxid: string;
3243
+ }[]>;
3244
+ /**
3245
+ * Looks up the public Matrix ID mapping for a given 3rd party
3246
+ * identifier from the identity server
3247
+ *
3248
+ * @param medium - The medium of the threepid, eg. 'email'
3249
+ * @param address - The textual address of the threepid
3250
+ * @param identityAccessToken - The `access_token` field of the Identity
3251
+ * Server `/account/register` response (see {@link registerWithIdentityServer}).
3252
+ *
3253
+ * @returns Promise which resolves: A threepid mapping
3254
+ * object or the empty object if no mapping
3255
+ * exists
3256
+ * @returns Rejects: with an error response.
3257
+ */
3258
+ lookupThreePid(medium: string, address: string, identityAccessToken: string): Promise<{
3259
+ address: string;
3260
+ medium: string;
3261
+ mxid: string;
3262
+ } | EmptyObject>;
3263
+ /**
3264
+ * Looks up the public Matrix ID mappings for multiple 3PIDs.
3265
+ *
3266
+ * @param query - Array of arrays containing
3267
+ * [medium, address]
3268
+ * @param identityAccessToken - The `access_token` field of the Identity
3269
+ * Server `/account/register` response (see {@link registerWithIdentityServer}).
3270
+ *
3271
+ * @returns Promise which resolves: Lookup results from IS.
3272
+ * @returns Rejects: with an error response.
3273
+ */
3274
+ bulkLookupThreePids(query: [string, string][], identityAccessToken: string): Promise<{
3275
+ threepids: [medium: string, address: string, mxid: string][];
3276
+ }>;
3277
+ /**
3278
+ * Get account info from the identity server. This is useful as a neutral check
3279
+ * to verify that other APIs are likely to approve access by testing that the
3280
+ * token is valid, terms have been agreed, etc.
3281
+ *
3282
+ * @param identityAccessToken - The `access_token` field of the Identity
3283
+ * Server `/account/register` response (see {@link registerWithIdentityServer}).
3284
+ *
3285
+ * @returns Promise which resolves: an object with account info.
3286
+ * @returns Rejects: with an error response.
3287
+ */
3288
+ getIdentityAccount(identityAccessToken: string): Promise<{
3289
+ user_id: string;
3290
+ }>;
3291
+ /**
3292
+ * Send an event to a specific list of devices.
3293
+ * This is a low-level API that simply wraps the HTTP API
3294
+ * call to send to-device messages. We recommend using
3295
+ * queueToDevice() which is a higher level API.
3296
+ *
3297
+ * @param eventType - type of event to send
3298
+ * content to send. Map from user_id to device_id to content object.
3299
+ * @param txnId - transaction id. One will be made up if not
3300
+ * supplied.
3301
+ * @returns Promise which resolves: to an empty object `{}`
3302
+ */
3303
+ sendToDevice(eventType: string, contentMap: SendToDeviceContentMap, txnId?: string): Promise<EmptyObject>;
3304
+ /**
3305
+ * This will encrypt the payload for all devices in the list and will queue it.
3306
+ * The type of the sent to-device message will be `m.room.encrypted`.
3307
+ * @param eventType - The type of event to send
3308
+ * @param devices - The list of devices to send the event to.
3309
+ * @param payload - The payload to send. This will be encrypted.
3310
+ * @returns Promise which resolves once queued there is no error feedback when sending fails.
3311
+ */
3312
+ encryptAndSendToDevice(eventType: string, devices: {
3313
+ userId: string;
3314
+ deviceId: string;
3315
+ }[], payload: ToDevicePayload): Promise<void>;
3316
+ /**
3317
+ * Sends events directly to specific devices using Matrix's to-device
3318
+ * messaging system. The batch will be split up into appropriately sized
3319
+ * batches for sending and stored in the store so they can be retried
3320
+ * later if they fail to send. Retries will happen automatically.
3321
+ * @param batch - The to-device messages to send
3322
+ */
3323
+ queueToDevice(batch: ToDeviceBatch): Promise<void>;
3324
+ /**
3325
+ * Get the third party protocols that can be reached using
3326
+ * this HS
3327
+ * @returns Promise which resolves to the result object
3328
+ */
3329
+ getThirdpartyProtocols(): Promise<{
3330
+ [protocol: string]: IProtocol;
3331
+ }>;
3332
+ /**
3333
+ * Get information on how a specific place on a third party protocol
3334
+ * may be reached.
3335
+ * @param protocol - The protocol given in getThirdpartyProtocols()
3336
+ * @param params - Protocol-specific parameters, as given in the
3337
+ * response to getThirdpartyProtocols()
3338
+ * @returns Promise which resolves to the result object
3339
+ */
3340
+ getThirdpartyLocation(protocol: string, params: {
3341
+ searchFields?: string[];
3342
+ }): Promise<IThirdPartyLocation[]>;
3343
+ /**
3344
+ * Get information on how a specific user on a third party protocol
3345
+ * may be reached.
3346
+ * @param protocol - The protocol given in getThirdpartyProtocols()
3347
+ * @param params - Protocol-specific parameters, as given in the
3348
+ * response to getThirdpartyProtocols()
3349
+ * @returns Promise which resolves to the result object
3350
+ */
3351
+ getThirdpartyUser(protocol: string, params?: QueryDict): Promise<IThirdPartyUser[]>;
3352
+ getTerms(serviceType: SERVICE_TYPES, baseUrl: string): Promise<Terms>;
3353
+ agreeToTerms(serviceType: SERVICE_TYPES, baseUrl: string, accessToken: string, termsUrls: string[]): Promise<EmptyObject>;
3354
+ /**
3355
+ * Reports an event as inappropriate to the server, which may then notify the appropriate people.
3356
+ * @param roomId - The room in which the event being reported is located.
3357
+ * @param eventId - The event to report.
3358
+ * @param score - The score to rate this content as where -100 is most offensive and 0 is inoffensive.
3359
+ * @param reason - The reason the content is being reported. May be blank.
3360
+ * @returns Promise which resolves to an empty object if successful
3361
+ */
3362
+ reportEvent(roomId: string, eventId: string, score: number, reason: string): Promise<EmptyObject>;
3363
+ /**
3364
+ * Reports a room as inappropriate to the server, which may then notify the appropriate people.
3365
+ *
3366
+ * This API was introduced in Matrix v1.13.
3367
+ *
3368
+ * @param roomId - The room being reported.
3369
+ * @param reason - The reason the room is being reported. May be blank.
3370
+ * @returns Promise which resolves to an empty object if successful
3371
+ */
3372
+ reportRoom(roomId: string, reason: string): Promise<EmptyObject>;
3373
+ /**
3374
+ * Fetches or paginates a room hierarchy asmatrix-js-sdk/spec/unit/matrix-client.spec.ts defined by MSC2946.
3375
+ * Falls back gracefully to sourcing its data from `getSpaceSummary` if this API is not yet supported by the server.
3376
+ * @param roomId - The ID of the space-room to use as the root of the summary.
3377
+ * @param limit - The maximum number of rooms to return per page.
3378
+ * @param maxDepth - The maximum depth in the tree from the root room to return.
3379
+ * @param suggestedOnly - Whether to only return rooms with suggested=true.
3380
+ * @param fromToken - The opaque token to paginate a previous request.
3381
+ * @returns the response, with next_batch & rooms fields.
3382
+ */
3383
+ getRoomHierarchy(roomId: string, limit?: number, maxDepth?: number, suggestedOnly?: boolean, fromToken?: string): Promise<IRoomHierarchy>;
3384
+ /**
3385
+ * Creates a new file tree space with the given name. The client will pick
3386
+ * defaults for how it expects to be able to support the remaining API offered
3387
+ * by the returned class.
3388
+ *
3389
+ * Note that this is UNSTABLE and may have breaking changes without notice.
3390
+ * @param name - The name of the tree space.
3391
+ * @returns Promise which resolves to the created space.
3392
+ */
3393
+ unstableCreateFileTree(name: string): Promise<MSC3089TreeSpace>;
3394
+ /**
3395
+ * Gets a reference to a tree space, if the room ID given is a tree space. If the room
3396
+ * does not appear to be a tree space then null is returned.
3397
+ *
3398
+ * Note that this is UNSTABLE and may have breaking changes without notice.
3399
+ * @param roomId - The room ID to get a tree space reference for.
3400
+ * @returns The tree space, or null if not a tree space.
3401
+ */
3402
+ unstableGetFileTreeSpace(roomId: string): MSC3089TreeSpace | null;
3403
+ /**
3404
+ * Perform a single MSC3575 sliding sync request.
3405
+ * @param req - The request to make.
3406
+ * @param proxyBaseUrl - The base URL for the sliding sync proxy.
3407
+ * @param abortSignal - Optional signal to abort request mid-flight.
3408
+ * @returns The sliding sync response, or a standard error.
3409
+ * @throws on non 2xx status codes with an object with a field "httpStatus":number.
3410
+ */
3411
+ slidingSync(req: MSC3575SlidingSyncRequest, proxyBaseUrl?: string, abortSignal?: AbortSignal): Promise<MSC3575SlidingSyncResponse>;
3412
+ /**
3413
+ * A helper to determine thread support
3414
+ * @returns a boolean to determine if threads are enabled
3415
+ */
3416
+ supportsThreads(): boolean;
3417
+ /**
3418
+ * A helper to determine intentional mentions support
3419
+ * @returns a boolean to determine if intentional mentions are enabled on the server
3420
+ * @experimental
3421
+ */
3422
+ supportsIntentionalMentions(): boolean;
3423
+ /**
3424
+ * Fetches the summary of a room as defined by an initial version of MSC3266 and implemented in Synapse
3425
+ * Proposed at https://github.com/matrix-org/matrix-doc/pull/3266
3426
+ * @param roomIdOrAlias - The ID or alias of the room to get the summary of.
3427
+ * @param via - The list of servers which know about the room if only an ID was provided.
3428
+ */
3429
+ getRoomSummary(roomIdOrAlias: string, via?: string[]): Promise<RoomSummary>;
3430
+ /**
3431
+ * Processes a list of threaded events and adds them to their respective timelines
3432
+ * @param room - the room the adds the threaded events
3433
+ * @param threadedEvents - an array of the threaded events
3434
+ * @param toStartOfTimeline - the direction in which we want to add the events
3435
+ */
3436
+ processThreadEvents(room: Room, threadedEvents: MatrixEvent[], toStartOfTimeline: boolean): void;
3437
+ /**
3438
+ * Processes a list of thread roots and creates a thread model
3439
+ * @param room - the room to create the threads in
3440
+ * @param threadedEvents - an array of thread roots
3441
+ * @param toStartOfTimeline - the direction
3442
+ */
3443
+ processThreadRoots(room: Room, threadedEvents: MatrixEvent[], toStartOfTimeline: boolean): void;
3444
+ processBeaconEvents(room?: Room, events?: MatrixEvent[]): void;
3445
+ /**
3446
+ * Calls aggregation functions for event types that are aggregated
3447
+ * Polls and location beacons
3448
+ * @param room - room the events belong to
3449
+ * @param events - timeline events to be processed
3450
+ * @returns
3451
+ */
3452
+ processAggregatedTimelineEvents(room?: Room, events?: MatrixEvent[]): void;
3453
+ /**
3454
+ * Fetches information about the user for the configured access token.
3455
+ */
3456
+ whoami(): Promise<IWhoamiResponse>;
3457
+ /**
3458
+ * Find the event_id closest to the given timestamp in the given direction.
3459
+ * @returns Resolves: A promise of an object containing the event_id and
3460
+ * origin_server_ts of the closest event to the timestamp in the given direction
3461
+ * @returns Rejects: when the request fails (module:http-api.MatrixError)
3462
+ */
3463
+ timestampToEvent(roomId: string, timestamp: number, dir: Direction): Promise<TimestampToEventResponse>;
3464
+ /**
3465
+ * Discover and validate the auth metadata for the OAuth 2.0 API.
3466
+ *
3467
+ * Fetches /auth_metadata falling back to legacy implementation using /auth_issuer followed by
3468
+ * https://oidc-issuer.example.com/.well-known/openid-configuration and other files linked therein.
3469
+ * When successful, validated metadata is returned.
3470
+ *
3471
+ * @returns validated authentication metadata and optionally signing keys
3472
+ * @throws when delegated auth config is invalid or unreachable
3473
+ */
3474
+ getAuthMetadata(): Promise<OidcClientConfig>;
3475
+ }
3476
+ /**
3477
+ * recalculates an accurate notifications count on event decryption.
3478
+ * Servers do not have enough knowledge about encrypted events to calculate an
3479
+ * accurate notification_count
3480
+ */
3481
+ export declare function fixNotificationCountOnDecryption(cli: MatrixClient, event: MatrixEvent): void;
3482
+ /**
3483
+ * Given an event, figure out the thread ID we should use for it in a receipt.
3484
+ *
3485
+ * This will either be "main", or event.threadRootId. For the thread root, or
3486
+ * e.g. reactions to the thread root, this will be main. For events inside the
3487
+ * thread, or e.g. reactions to them, this will be event.threadRootId.
3488
+ *
3489
+ * (Exported for test.)
3490
+ */
3491
+ export declare function threadIdForReceipt(event: MatrixEvent): string;
3492
+ /**
3493
+ * a) True for non-threaded messages, thread roots and non-thread relations to thread roots.
3494
+ * b) False for messages with thread relations to the thread root.
3495
+ * c) False for messages with any kind of relation to a message from case b.
3496
+ *
3497
+ * Note: true for redactions of messages that are in threads. Redacted messages
3498
+ * are not really in threads (because their relations are gone), so if they look
3499
+ * like they are in threads, that is a sign of a bug elsewhere. (At time of
3500
+ * writing, this bug definitely exists - messages are not moved to another
3501
+ * thread when they are redacted.)
3502
+ *
3503
+ * @returns true if this event is considered to be in the main timeline as far
3504
+ * as receipts are concerned.
3505
+ */
3506
+ export declare function inMainTimelineForReceipt(event: MatrixEvent): boolean;
3507
+ export {};
3508
+ //# sourceMappingURL=client.d.ts.map