@stencil/core 4.43.3 → 5.0.0-alpha.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 (377) hide show
  1. package/bin/stencil.mjs +2 -0
  2. package/dist/chunk-CjcI7cDX.mjs +15 -0
  3. package/dist/client-B1nuvCd2.mjs +4524 -0
  4. package/dist/compiler/index.d.mts +192 -0
  5. package/dist/compiler/index.mjs +3 -0
  6. package/dist/compiler/utils/index.d.mts +2 -0
  7. package/dist/compiler/utils/index.mjs +3 -0
  8. package/dist/compiler-LX4_RKKd.mjs +21782 -0
  9. package/{internal → dist/declarations}/stencil-ext-modules.d.ts +8 -8
  10. package/dist/declarations/stencil-public-compiler.d.ts +2 -0
  11. package/dist/declarations/stencil-public-compiler.js +53 -0
  12. package/dist/declarations/stencil-public-docs.d.ts +2 -0
  13. package/dist/declarations/stencil-public-runtime.d.ts +2 -0
  14. package/dist/declarations/stencil-public-runtime.js +0 -0
  15. package/dist/index-BONzXKJt.d.ts +1893 -0
  16. package/{internal/app-data/index.d.ts → dist/index-CHjZtib0.d.ts} +11 -7
  17. package/dist/index-D-LlB2nw.d.mts +6918 -0
  18. package/dist/index-fIuYTL9f.d.mts +178 -0
  19. package/{internal/stencil-core/index.d.ts → dist/index.d.mts} +10 -3
  20. package/dist/index.mjs +2 -0
  21. package/dist/jsx-runtime-DBzBJLKk.d.ts +28 -0
  22. package/dist/jsx-runtime.d.ts +2 -0
  23. package/dist/jsx-runtime.js +2 -0
  24. package/dist/mock-doc.d.mts +1 -0
  25. package/dist/mock-doc.mjs +2 -0
  26. package/dist/node-SxQIOCZE.mjs +1947 -0
  27. package/dist/runtime/app-data/index.d.ts +2 -0
  28. package/dist/runtime/app-data/index.js +99 -0
  29. package/dist/runtime/app-globals/index.d.ts +5 -0
  30. package/dist/runtime/app-globals/index.js +5 -0
  31. package/dist/runtime/client/index.d.ts +2358 -0
  32. package/dist/runtime/client/index.js +4866 -0
  33. package/dist/runtime/index.d.ts +182 -0
  34. package/dist/runtime/index.js +2 -0
  35. package/dist/runtime/server/index.d.mts +1146 -0
  36. package/dist/runtime/server/index.mjs +4945 -0
  37. package/dist/runtime/server/runner.d.mts +323 -0
  38. package/dist/runtime/server/runner.mjs +14046 -0
  39. package/dist/runtime-CF9DJtSu.js +4748 -0
  40. package/dist/serialize-BkYHk7Mi.mjs +766 -0
  41. package/dist/stencil-public-compiler-C_X1iolo.d.ts +4455 -0
  42. package/dist/stencil-public-runtime-DlV8o7-z.d.ts +1845 -0
  43. package/dist/sys/node/index.d.mts +32 -0
  44. package/dist/sys/node/index.mjs +2 -0
  45. package/dist/sys/node/worker.d.mts +1 -0
  46. package/dist/sys/node/worker.mjs +48 -0
  47. package/dist/testing/index.d.mts +209 -0
  48. package/dist/testing/index.mjs +1169 -0
  49. package/dist/validation-CaCgjw-f.mjs +1441 -0
  50. package/package.json +99 -228
  51. package/bin/stencil +0 -57
  52. package/cli/config-flags.d.ts +0 -132
  53. package/cli/index.cjs +0 -6041
  54. package/cli/index.d.ts +0 -19
  55. package/cli/index.js +0 -6034
  56. package/cli/package.json +0 -14
  57. package/compiler/lib.d.ts +0 -22
  58. package/compiler/lib.decorators.d.ts +0 -384
  59. package/compiler/lib.decorators.legacy.d.ts +0 -22
  60. package/compiler/lib.dom.asynciterable.d.ts +0 -41
  61. package/compiler/lib.dom.d.ts +0 -29610
  62. package/compiler/lib.dom.iterable.d.ts +0 -493
  63. package/compiler/lib.es2015.collection.d.ts +0 -147
  64. package/compiler/lib.es2015.core.d.ts +0 -597
  65. package/compiler/lib.es2015.d.ts +0 -28
  66. package/compiler/lib.es2015.generator.d.ts +0 -77
  67. package/compiler/lib.es2015.iterable.d.ts +0 -605
  68. package/compiler/lib.es2015.promise.d.ts +0 -81
  69. package/compiler/lib.es2015.proxy.d.ts +0 -128
  70. package/compiler/lib.es2015.reflect.d.ts +0 -144
  71. package/compiler/lib.es2015.symbol.d.ts +0 -46
  72. package/compiler/lib.es2015.symbol.wellknown.d.ts +0 -326
  73. package/compiler/lib.es2016.array.include.d.ts +0 -116
  74. package/compiler/lib.es2016.d.ts +0 -21
  75. package/compiler/lib.es2016.full.d.ts +0 -23
  76. package/compiler/lib.es2016.intl.d.ts +0 -31
  77. package/compiler/lib.es2017.arraybuffer.d.ts +0 -21
  78. package/compiler/lib.es2017.d.ts +0 -26
  79. package/compiler/lib.es2017.date.d.ts +0 -31
  80. package/compiler/lib.es2017.full.d.ts +0 -23
  81. package/compiler/lib.es2017.intl.d.ts +0 -44
  82. package/compiler/lib.es2017.object.d.ts +0 -49
  83. package/compiler/lib.es2017.sharedmemory.d.ts +0 -135
  84. package/compiler/lib.es2017.string.d.ts +0 -45
  85. package/compiler/lib.es2017.typedarrays.d.ts +0 -53
  86. package/compiler/lib.es2018.asyncgenerator.d.ts +0 -77
  87. package/compiler/lib.es2018.asynciterable.d.ts +0 -53
  88. package/compiler/lib.es2018.d.ts +0 -24
  89. package/compiler/lib.es2018.full.d.ts +0 -24
  90. package/compiler/lib.es2018.intl.d.ts +0 -83
  91. package/compiler/lib.es2018.promise.d.ts +0 -30
  92. package/compiler/lib.es2018.regexp.d.ts +0 -37
  93. package/compiler/lib.es2019.array.d.ts +0 -79
  94. package/compiler/lib.es2019.d.ts +0 -24
  95. package/compiler/lib.es2019.full.d.ts +0 -24
  96. package/compiler/lib.es2019.intl.d.ts +0 -23
  97. package/compiler/lib.es2019.object.d.ts +0 -33
  98. package/compiler/lib.es2019.string.d.ts +0 -37
  99. package/compiler/lib.es2019.symbol.d.ts +0 -24
  100. package/compiler/lib.es2020.bigint.d.ts +0 -765
  101. package/compiler/lib.es2020.d.ts +0 -27
  102. package/compiler/lib.es2020.date.d.ts +0 -42
  103. package/compiler/lib.es2020.full.d.ts +0 -24
  104. package/compiler/lib.es2020.intl.d.ts +0 -474
  105. package/compiler/lib.es2020.number.d.ts +0 -28
  106. package/compiler/lib.es2020.promise.d.ts +0 -47
  107. package/compiler/lib.es2020.sharedmemory.d.ts +0 -99
  108. package/compiler/lib.es2020.string.d.ts +0 -44
  109. package/compiler/lib.es2020.symbol.wellknown.d.ts +0 -41
  110. package/compiler/lib.es2021.d.ts +0 -23
  111. package/compiler/lib.es2021.full.d.ts +0 -24
  112. package/compiler/lib.es2021.intl.d.ts +0 -166
  113. package/compiler/lib.es2021.promise.d.ts +0 -48
  114. package/compiler/lib.es2021.string.d.ts +0 -33
  115. package/compiler/lib.es2021.weakref.d.ts +0 -78
  116. package/compiler/lib.es2022.array.d.ts +0 -121
  117. package/compiler/lib.es2022.d.ts +0 -25
  118. package/compiler/lib.es2022.error.d.ts +0 -75
  119. package/compiler/lib.es2022.full.d.ts +0 -24
  120. package/compiler/lib.es2022.intl.d.ts +0 -121
  121. package/compiler/lib.es2022.object.d.ts +0 -26
  122. package/compiler/lib.es2022.regexp.d.ts +0 -39
  123. package/compiler/lib.es2022.string.d.ts +0 -25
  124. package/compiler/lib.es2023.array.d.ts +0 -924
  125. package/compiler/lib.es2023.collection.d.ts +0 -21
  126. package/compiler/lib.es2023.d.ts +0 -22
  127. package/compiler/lib.es2023.full.d.ts +0 -24
  128. package/compiler/lib.es2023.intl.d.ts +0 -56
  129. package/compiler/lib.es2024.arraybuffer.d.ts +0 -65
  130. package/compiler/lib.es2024.collection.d.ts +0 -29
  131. package/compiler/lib.es2024.d.ts +0 -26
  132. package/compiler/lib.es2024.full.d.ts +0 -24
  133. package/compiler/lib.es2024.object.d.ts +0 -29
  134. package/compiler/lib.es2024.promise.d.ts +0 -35
  135. package/compiler/lib.es2024.regexp.d.ts +0 -25
  136. package/compiler/lib.es2024.sharedmemory.d.ts +0 -68
  137. package/compiler/lib.es2024.string.d.ts +0 -29
  138. package/compiler/lib.es5.d.ts +0 -4594
  139. package/compiler/lib.es6.d.ts +0 -23
  140. package/compiler/lib.esnext.array.d.ts +0 -35
  141. package/compiler/lib.esnext.collection.d.ts +0 -96
  142. package/compiler/lib.esnext.d.ts +0 -27
  143. package/compiler/lib.esnext.decorators.d.ts +0 -28
  144. package/compiler/lib.esnext.disposable.d.ts +0 -193
  145. package/compiler/lib.esnext.float16.d.ts +0 -443
  146. package/compiler/lib.esnext.full.d.ts +0 -24
  147. package/compiler/lib.esnext.intl.d.ts +0 -21
  148. package/compiler/lib.esnext.iterator.d.ts +0 -148
  149. package/compiler/lib.esnext.promise.d.ts +0 -34
  150. package/compiler/lib.scripthost.d.ts +0 -322
  151. package/compiler/lib.webworker.asynciterable.d.ts +0 -41
  152. package/compiler/lib.webworker.d.ts +0 -9894
  153. package/compiler/lib.webworker.importscripts.d.ts +0 -23
  154. package/compiler/lib.webworker.iterable.d.ts +0 -287
  155. package/compiler/package.json +0 -8
  156. package/compiler/stencil.d.ts +0 -73
  157. package/compiler/stencil.js +0 -288027
  158. package/compiler/sys/in-memory-fs.d.ts +0 -227
  159. package/compiler/transpile.d.ts +0 -32
  160. package/dev-server/client/app-error.d.ts +0 -20
  161. package/dev-server/client/events.d.ts +0 -6
  162. package/dev-server/client/hmr-components.d.ts +0 -12
  163. package/dev-server/client/hmr-external-styles.d.ts +0 -1
  164. package/dev-server/client/hmr-images.d.ts +0 -1
  165. package/dev-server/client/hmr-inline-styles.d.ts +0 -1
  166. package/dev-server/client/hmr-util.d.ts +0 -39
  167. package/dev-server/client/hmr-window.d.ts +0 -10
  168. package/dev-server/client/index.d.ts +0 -6
  169. package/dev-server/client/index.js +0 -793
  170. package/dev-server/client/logger.d.ts +0 -6
  171. package/dev-server/client/package.json +0 -8
  172. package/dev-server/client/progress.d.ts +0 -3
  173. package/dev-server/client/status.d.ts +0 -4
  174. package/dev-server/client/test/hmr-util.spec.d.ts +0 -1
  175. package/dev-server/client/test/status.spec.d.ts +0 -1
  176. package/dev-server/connector.html +0 -6
  177. package/dev-server/index.d.ts +0 -3
  178. package/dev-server/index.js +0 -247
  179. package/dev-server/package.json +0 -8
  180. package/dev-server/server-process.js +0 -12304
  181. package/dev-server/server-worker-thread.js +0 -39
  182. package/dev-server/static/favicon.ico +0 -0
  183. package/dev-server/templates/directory-index.html +0 -176
  184. package/dev-server/templates/initial-load.html +0 -168
  185. package/dev-server/visualstudio.vbs +0 -82
  186. package/dev-server/xdg-open +0 -1066
  187. package/internal/app-data/index.cjs +0 -119
  188. package/internal/app-data/index.js +0 -92
  189. package/internal/app-data/package.json +0 -15
  190. package/internal/app-globals/index.d.ts +0 -2
  191. package/internal/app-globals/index.js +0 -14
  192. package/internal/app-globals/package.json +0 -14
  193. package/internal/child_process.d.ts +0 -7
  194. package/internal/client/index.js +0 -4736
  195. package/internal/client/package.json +0 -10
  196. package/internal/client/patch-browser.js +0 -45
  197. package/internal/client/polyfills/core-js.js +0 -11
  198. package/internal/client/polyfills/dom.js +0 -79
  199. package/internal/client/polyfills/es5-html-element.js +0 -1
  200. package/internal/client/polyfills/index.js +0 -34
  201. package/internal/client/polyfills/system.js +0 -6
  202. package/internal/client/shadow-css.js +0 -414
  203. package/internal/hydrate/index.js +0 -6880
  204. package/internal/hydrate/package.json +0 -7
  205. package/internal/hydrate/runner.d.ts +0 -287
  206. package/internal/hydrate/runner.js +0 -18157
  207. package/internal/index.d.ts +0 -4
  208. package/internal/index.js +0 -2
  209. package/internal/package.json +0 -9
  210. package/internal/stencil-core/index.cjs +0 -1
  211. package/internal/stencil-core/index.js +0 -18
  212. package/internal/stencil-core/jsx-dev-runtime.cjs +0 -7
  213. package/internal/stencil-core/jsx-dev-runtime.d.ts +0 -41
  214. package/internal/stencil-core/jsx-dev-runtime.js +0 -2
  215. package/internal/stencil-core/jsx-runtime.cjs +0 -8
  216. package/internal/stencil-core/jsx-runtime.d.ts +0 -40
  217. package/internal/stencil-core/jsx-runtime.js +0 -2
  218. package/internal/stencil-private.d.ts +0 -2549
  219. package/internal/stencil-public-compiler.d.ts +0 -2922
  220. package/internal/stencil-public-docs.d.ts +0 -472
  221. package/internal/stencil-public-runtime.d.ts +0 -1860
  222. package/internal/testing/index.js +0 -6737
  223. package/internal/testing/jsx-dev-runtime.d.ts +0 -2
  224. package/internal/testing/jsx-dev-runtime.js +0 -8
  225. package/internal/testing/jsx-runtime.d.ts +0 -2
  226. package/internal/testing/jsx-runtime.js +0 -9
  227. package/internal/testing/package.json +0 -7
  228. package/internal/utils/index.d.ts +0 -1
  229. package/internal/utils/result.d.ts +0 -112
  230. package/mock-doc/index.cjs +0 -10163
  231. package/mock-doc/index.d.ts +0 -1172
  232. package/mock-doc/index.js +0 -10142
  233. package/mock-doc/package.json +0 -15
  234. package/readme.md +0 -94
  235. package/screenshot/compare/assets/favicon.ico +0 -0
  236. package/screenshot/compare/assets/logo.png +0 -0
  237. package/screenshot/compare/build/app.css +0 -1
  238. package/screenshot/compare/build/app.esm.js +0 -1
  239. package/screenshot/compare/build/app.js +0 -33
  240. package/screenshot/compare/build/p-081b0641.js +0 -1
  241. package/screenshot/compare/build/p-227a1e18.entry.js +0 -1
  242. package/screenshot/compare/build/p-2c298727.entry.js +0 -1
  243. package/screenshot/compare/build/p-5479268c.entry.js +0 -1
  244. package/screenshot/compare/build/p-573ec8a4.entry.js +0 -1
  245. package/screenshot/compare/build/p-6ba08604.entry.js +0 -1
  246. package/screenshot/compare/build/p-6bc63295.entry.js +0 -1
  247. package/screenshot/compare/build/p-7a3759fd.entry.js +0 -1
  248. package/screenshot/compare/build/p-7b4e3ba7.js +0 -1
  249. package/screenshot/compare/build/p-988eb362.css +0 -1
  250. package/screenshot/compare/build/p-9b6a9315.js +0 -1
  251. package/screenshot/compare/build/p-b4cc611c.entry.js +0 -1
  252. package/screenshot/compare/build/p-d1bf53f5.entry.js +0 -1
  253. package/screenshot/compare/build/p-e2efe0df.js +0 -1
  254. package/screenshot/compare/build/p-e8ca6d97.entry.js +0 -1
  255. package/screenshot/compare/build/p-ec2f13e0.entry.js +0 -1
  256. package/screenshot/compare/build/p-f0b99977.entry.js +0 -1
  257. package/screenshot/compare/build/p-f4745c2f.entry.js +0 -1
  258. package/screenshot/compare/build/p-fbbae598.js +0 -1
  259. package/screenshot/compare/host.config.json +0 -15
  260. package/screenshot/compare/index.html +0 -1
  261. package/screenshot/compare/manifest.json +0 -13
  262. package/screenshot/connector-base.d.ts +0 -42
  263. package/screenshot/connector-local.d.ts +0 -7
  264. package/screenshot/connector.js +0 -2
  265. package/screenshot/index.d.ts +0 -3
  266. package/screenshot/index.js +0 -2642
  267. package/screenshot/local-connector.js +0 -2
  268. package/screenshot/package.json +0 -15
  269. package/screenshot/pixel-match.d.ts +0 -1
  270. package/screenshot/pixel-match.js +0 -2315
  271. package/screenshot/screenshot-compare.d.ts +0 -20
  272. package/screenshot/screenshot-fs.d.ts +0 -14
  273. package/sys/node/460.node-fetch.js +0 -451
  274. package/sys/node/autoprefixer.js +0 -9
  275. package/sys/node/glob.js +0 -1
  276. package/sys/node/graceful-fs.js +0 -1
  277. package/sys/node/index.d.ts +0 -39
  278. package/sys/node/index.js +0 -62
  279. package/sys/node/node-fetch.js +0 -12
  280. package/sys/node/package.json +0 -8
  281. package/sys/node/prompts.js +0 -1
  282. package/sys/node/worker.js +0 -4
  283. package/testing/index.d.ts +0 -9
  284. package/testing/index.js +0 -13273
  285. package/testing/jest/jest-27-and-under/jest-config.d.ts +0 -16
  286. package/testing/jest/jest-27-and-under/jest-environment.d.ts +0 -2
  287. package/testing/jest/jest-27-and-under/jest-facade.d.ts +0 -155
  288. package/testing/jest/jest-27-and-under/jest-preprocessor.d.ts +0 -59
  289. package/testing/jest/jest-27-and-under/jest-preset.d.ts +0 -3
  290. package/testing/jest/jest-27-and-under/jest-runner.d.ts +0 -11
  291. package/testing/jest/jest-27-and-under/jest-screenshot.d.ts +0 -2
  292. package/testing/jest/jest-27-and-under/jest-serializer.d.ts +0 -4
  293. package/testing/jest/jest-27-and-under/jest-setup-test-framework.d.ts +0 -9
  294. package/testing/jest/jest-27-and-under/matchers/attributes.d.ts +0 -14
  295. package/testing/jest/jest-27-and-under/matchers/class-list.d.ts +0 -12
  296. package/testing/jest/jest-27-and-under/matchers/events.d.ts +0 -25
  297. package/testing/jest/jest-27-and-under/matchers/html.d.ts +0 -13
  298. package/testing/jest/jest-27-and-under/matchers/index.d.ts +0 -24
  299. package/testing/jest/jest-27-and-under/matchers/screenshot.d.ts +0 -5
  300. package/testing/jest/jest-27-and-under/matchers/text.d.ts +0 -4
  301. package/testing/jest/jest-27-and-under/test/jest-config.spec.d.ts +0 -1
  302. package/testing/jest/jest-27-and-under/test/jest-preprocessor.spec.d.ts +0 -1
  303. package/testing/jest/jest-27-and-under/test/jest-runner.spec.d.ts +0 -1
  304. package/testing/jest/jest-27-and-under/test/jest-serializer.spec.d.ts +0 -1
  305. package/testing/jest/jest-27-and-under/test/jest-setup-test-framework.spec.d.ts +0 -1
  306. package/testing/jest/jest-28/jest-config.d.ts +0 -16
  307. package/testing/jest/jest-28/jest-environment.d.ts +0 -2
  308. package/testing/jest/jest-28/jest-facade.d.ts +0 -134
  309. package/testing/jest/jest-28/jest-preprocessor.d.ts +0 -35
  310. package/testing/jest/jest-28/jest-preset.d.ts +0 -3
  311. package/testing/jest/jest-28/jest-runner.d.ts +0 -11
  312. package/testing/jest/jest-28/jest-screenshot.d.ts +0 -2
  313. package/testing/jest/jest-28/jest-serializer.d.ts +0 -4
  314. package/testing/jest/jest-28/jest-setup-test-framework.d.ts +0 -9
  315. package/testing/jest/jest-28/matchers/attributes.d.ts +0 -14
  316. package/testing/jest/jest-28/matchers/class-list.d.ts +0 -12
  317. package/testing/jest/jest-28/matchers/events.d.ts +0 -25
  318. package/testing/jest/jest-28/matchers/html.d.ts +0 -13
  319. package/testing/jest/jest-28/matchers/index.d.ts +0 -24
  320. package/testing/jest/jest-28/matchers/screenshot.d.ts +0 -5
  321. package/testing/jest/jest-28/matchers/text.d.ts +0 -4
  322. package/testing/jest/jest-28/test/jest-config.spec.d.ts +0 -1
  323. package/testing/jest/jest-28/test/jest-preprocessor.spec.d.ts +0 -1
  324. package/testing/jest/jest-28/test/jest-runner.spec.d.ts +0 -1
  325. package/testing/jest/jest-28/test/jest-serializer.spec.d.ts +0 -1
  326. package/testing/jest/jest-28/test/jest-setup-test-framework.spec.d.ts +0 -1
  327. package/testing/jest/jest-29/jest-config.d.ts +0 -16
  328. package/testing/jest/jest-29/jest-environment.d.ts +0 -2
  329. package/testing/jest/jest-29/jest-facade.d.ts +0 -136
  330. package/testing/jest/jest-29/jest-preprocessor.d.ts +0 -35
  331. package/testing/jest/jest-29/jest-preset.d.ts +0 -3
  332. package/testing/jest/jest-29/jest-runner.d.ts +0 -11
  333. package/testing/jest/jest-29/jest-screenshot.d.ts +0 -2
  334. package/testing/jest/jest-29/jest-serializer.d.ts +0 -4
  335. package/testing/jest/jest-29/jest-setup-test-framework.d.ts +0 -9
  336. package/testing/jest/jest-29/matchers/attributes.d.ts +0 -14
  337. package/testing/jest/jest-29/matchers/class-list.d.ts +0 -12
  338. package/testing/jest/jest-29/matchers/events.d.ts +0 -25
  339. package/testing/jest/jest-29/matchers/html.d.ts +0 -13
  340. package/testing/jest/jest-29/matchers/index.d.ts +0 -24
  341. package/testing/jest/jest-29/matchers/screenshot.d.ts +0 -5
  342. package/testing/jest/jest-29/matchers/text.d.ts +0 -4
  343. package/testing/jest/jest-29/test/jest-config.spec.d.ts +0 -1
  344. package/testing/jest/jest-29/test/jest-preprocessor.spec.d.ts +0 -1
  345. package/testing/jest/jest-29/test/jest-runner.spec.d.ts +0 -1
  346. package/testing/jest/jest-29/test/jest-serializer.spec.d.ts +0 -1
  347. package/testing/jest/jest-29/test/jest-setup-test-framework.spec.d.ts +0 -1
  348. package/testing/jest/jest-apis.d.ts +0 -86
  349. package/testing/jest/jest-facade.d.ts +0 -74
  350. package/testing/jest/jest-stencil-connector.d.ts +0 -65
  351. package/testing/jest/test/jest-stencil-connector.spec.d.ts +0 -1
  352. package/testing/jest-environment.js +0 -3
  353. package/testing/jest-preprocessor.js +0 -3
  354. package/testing/jest-preset.js +0 -2
  355. package/testing/jest-runner.js +0 -3
  356. package/testing/jest-setuptestframework.js +0 -3
  357. package/testing/mock-fetch.d.ts +0 -11
  358. package/testing/mocks.d.ts +0 -56
  359. package/testing/package.json +0 -8
  360. package/testing/puppeteer/index.d.ts +0 -2
  361. package/testing/puppeteer/puppeteer-browser.d.ts +0 -6
  362. package/testing/puppeteer/puppeteer-declarations.d.ts +0 -414
  363. package/testing/puppeteer/puppeteer-element.d.ts +0 -67
  364. package/testing/puppeteer/puppeteer-emulate.d.ts +0 -2
  365. package/testing/puppeteer/puppeteer-events.d.ts +0 -21
  366. package/testing/puppeteer/puppeteer-page.d.ts +0 -2
  367. package/testing/puppeteer/puppeteer-screenshot.d.ts +0 -27
  368. package/testing/puppeteer/test/puppeteer-screenshot.spec.d.ts +0 -1
  369. package/testing/reset-build-conditionals.d.ts +0 -12
  370. package/testing/spec-page.d.ts +0 -7
  371. package/testing/test/testing-utils.spec.d.ts +0 -1
  372. package/testing/test-transpile.d.ts +0 -2
  373. package/testing/testing-logger.d.ts +0 -26
  374. package/testing/testing-sys.d.ts +0 -6
  375. package/testing/testing-utils.d.ts +0 -80
  376. package/testing/testing.d.ts +0 -2
  377. /package/{screenshot/compare/build/index.esm.js → dist/declarations/stencil-public-docs.js} +0 -0
@@ -0,0 +1,1146 @@
1
+ import { BUILD, Env, NAMESPACE } from "@stencil/core/runtime/app-data";
2
+ //#region src/declarations/stencil-public-runtime.d.ts
3
+ interface UserBuildConditionals {
4
+ isDev: boolean;
5
+ isBrowser: boolean;
6
+ isServer: boolean;
7
+ isTesting: boolean;
8
+ }
9
+ type ResolutionHandler = (elm: HTMLElement) => string | undefined | null;
10
+ type ErrorHandler = (err: any, element?: HTMLElement) => void;
11
+ type TagTransformer = (tag: string) => string;
12
+ interface ComponentInterface {
13
+ connectedCallback?(): void;
14
+ disconnectedCallback?(): void;
15
+ componentWillRender?(): Promise<void> | void;
16
+ componentDidRender?(): void;
17
+ /**
18
+ * The component is about to load and it has not
19
+ * rendered yet.
20
+ *
21
+ * This is the best place to make any data updates
22
+ * before the first render.
23
+ *
24
+ * componentWillLoad will only be called once.
25
+ */
26
+ componentWillLoad?(): Promise<void> | void;
27
+ /**
28
+ * The component has loaded and has already rendered.
29
+ *
30
+ * Updating data in this method will cause the
31
+ * component to re-render.
32
+ *
33
+ * componentDidLoad will only be called once.
34
+ */
35
+ componentDidLoad?(): void;
36
+ /**
37
+ * A `@Prop` or `@State` property changed and a rerender is about to be requested.
38
+ *
39
+ * Called multiple times throughout the life of
40
+ * the component as its properties change.
41
+ *
42
+ * componentShouldUpdate is not called on the first render.
43
+ */
44
+ componentShouldUpdate?(newVal: any, oldVal: any, propName: string): boolean | void;
45
+ /**
46
+ * The component is about to update and re-render.
47
+ *
48
+ * Called multiple times throughout the life of
49
+ * the component as it updates.
50
+ *
51
+ * componentWillUpdate is not called on the first render.
52
+ */
53
+ componentWillUpdate?(): Promise<void> | void;
54
+ /**
55
+ * The component has just re-rendered.
56
+ *
57
+ * Called multiple times throughout the life of
58
+ * the component as it updates.
59
+ *
60
+ * componentWillUpdate is not called on the
61
+ * first render.
62
+ */
63
+ componentDidUpdate?(): void;
64
+ render?(): any;
65
+ [memberName: string]: any;
66
+ }
67
+ /**
68
+ * Utilities for working with functional Stencil components. An object
69
+ * conforming to this interface is passed by the Stencil runtime as the third
70
+ * argument to a functional component, allowing component authors to work with
71
+ * features like children.
72
+ *
73
+ * The children of a functional component will be passed as the second
74
+ * argument, so a functional component which uses these utils to transform its
75
+ * children might look like the following:
76
+ *
77
+ * ```ts
78
+ * export const AddClass: FunctionalComponent = (_, children, utils) => (
79
+ * utils.map(children, child => ({
80
+ * ...child,
81
+ * vattrs: {
82
+ * ...child.vattrs,
83
+ * class: `${child.vattrs.class} add-class`
84
+ * }
85
+ * }))
86
+ * );
87
+ * ```
88
+ *
89
+ * For more see the Stencil documentation, here:
90
+ * https://stenciljs.com/docs/functional-components
91
+ */
92
+ interface FunctionalUtilities {
93
+ /**
94
+ * Utility for reading the children of a functional component at runtime.
95
+ * Since the Stencil runtime uses a different interface for children it is
96
+ * not recommended to read the children directly, and is preferable to use
97
+ * this utility to, for instance, perform a side effect for each child.
98
+ */
99
+ forEach: (children: VNode[], cb: (vnode: ChildNode$1, index: number, array: ChildNode$1[]) => void) => void;
100
+ /**
101
+ * Utility for transforming the children of a functional component. Given an
102
+ * array of children and a callback this will return a list of the results of
103
+ * passing each child to the supplied callback.
104
+ */
105
+ map: (children: VNode[], cb: (vnode: ChildNode$1, index: number, array: ChildNode$1[]) => ChildNode$1) => VNode[];
106
+ }
107
+ interface FunctionalComponent<T = {}> {
108
+ (props: T, children: VNode[], utils: FunctionalUtilities): VNode | VNode[] | null;
109
+ }
110
+ /**
111
+ * A Child VDOM node
112
+ *
113
+ * This has most of the same properties as {@link VNode} but friendlier names
114
+ * (i.e. `vtag` instead of `$tag$`, `vchildren` instead of `$children$`) in
115
+ * order to provide a friendlier public interface for users of the
116
+ * {@link FunctionalUtilities}).
117
+ */
118
+ interface ChildNode$1 {
119
+ vtag?: string | number | Function;
120
+ vkey?: string | number;
121
+ vtext?: string;
122
+ vchildren?: VNode[];
123
+ vattrs?: any;
124
+ vname?: string;
125
+ }
126
+ /**
127
+ * A virtual DOM node
128
+ */
129
+ interface VNode {
130
+ $flags$: number;
131
+ $tag$: string | number | Function;
132
+ $elm$: any;
133
+ $text$: string;
134
+ $children$: VNode[];
135
+ $attrs$?: any;
136
+ $name$?: string;
137
+ $key$?: string | number;
138
+ }
139
+ interface CustomElementsDefineOptions {
140
+ exclude?: string[];
141
+ syncQueue?: boolean;
142
+ /** @deprecated in-favour of `setTagTransformer` and `transformTag` */
143
+ transformTagName?: (tagName: string) => string;
144
+ jmp?: (c: Function) => any;
145
+ raf?: (c: FrameRequestCallback) => number;
146
+ ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
147
+ rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
148
+ ce?: (eventName: string, opts?: any) => CustomEvent;
149
+ }
150
+ //#endregion
151
+ //#region src/declarations/stencil-public-compiler.d.ts
152
+ interface HydrateDocumentOptions {
153
+ /**
154
+ * Build ID that will be added to `<html data-stencil-build="BUILD_ID">`. By default
155
+ * a random ID will be generated
156
+ */
157
+ buildId?: string;
158
+ /**
159
+ * Sets the `href` attribute on the `<link rel="canonical">`
160
+ * tag within the `<head>`. If the value is not defined it will
161
+ * ensure a canonical link tag is no included in the `<head>`.
162
+ */
163
+ canonicalUrl?: string;
164
+ /**
165
+ * Include the HTML comments and attributes used by the client-side
166
+ * JavaScript to read the structure of the HTML and rebuild each
167
+ * component. Defaults to `true`.
168
+ */
169
+ clientHydrateAnnotations?: boolean;
170
+ /**
171
+ * Constrain `setTimeout()` to 1ms, but still async. Also
172
+ * only allows `setInterval()` to fire once, also constrained to 1ms.
173
+ * Defaults to `true`.
174
+ */
175
+ constrainTimeouts?: boolean;
176
+ /**
177
+ * Sets `document.cookie`
178
+ */
179
+ cookie?: string;
180
+ /**
181
+ * Sets the `dir` attribute on the top level `<html>`.
182
+ */
183
+ direction?: string;
184
+ /**
185
+ * Component tag names listed here will not be prerendered, nor will
186
+ * hydrated on the client-side. Components listed here will be ignored
187
+ * as custom elements and treated no differently than a `<div>`.
188
+ */
189
+ excludeComponents?: string[];
190
+ /**
191
+ * Sets the `lang` attribute on the top level `<html>`.
192
+ */
193
+ language?: string;
194
+ /**
195
+ * Maximum number of components to hydrate on one page. Defaults to `300`.
196
+ */
197
+ maxHydrateCount?: number;
198
+ /**
199
+ * Sets `document.referrer`
200
+ */
201
+ referrer?: string;
202
+ /**
203
+ * Removes every `<script>` element found in the `document`. Defaults to `false`.
204
+ */
205
+ removeScripts?: boolean;
206
+ /**
207
+ * Removes CSS not used by elements within the `document`. Defaults to `true`.
208
+ */
209
+ removeUnusedStyles?: boolean;
210
+ /**
211
+ * The url the runtime uses for the resources, such as the assets directory.
212
+ */
213
+ resourcesUrl?: string;
214
+ /**
215
+ * Prints out runtime console logs to the NodeJS process. Defaults to `false`.
216
+ */
217
+ runtimeLogging?: boolean;
218
+ /**
219
+ * Component tags listed here will only be prerendered or server-side-rendered
220
+ * and will not be client-side hydrated. This is useful for components that
221
+ * are not dynamic and do not need to be defined as a custom element within the
222
+ * browser. For example, a header or footer component would be a good example that
223
+ * may not require any client-side JavaScript.
224
+ */
225
+ staticComponents?: string[];
226
+ /**
227
+ * The amount of milliseconds to wait for a page to finish rendering until
228
+ * a timeout error is thrown. Defaults to `15000`.
229
+ */
230
+ timeout?: number;
231
+ /**
232
+ * Sets `document.title`.
233
+ */
234
+ title?: string;
235
+ /**
236
+ * Sets `location.href`
237
+ */
238
+ url?: string;
239
+ /**
240
+ * Sets `navigator.userAgent`
241
+ */
242
+ userAgent?: string;
243
+ /**
244
+ * Configure how Stencil serializes the components shadow root.
245
+ * - If set to `declarative-shadow-dom` the component will be rendered within a Declarative Shadow DOM.
246
+ * - If set to `scoped` Stencil will render the contents of the shadow root as a `scoped: true` component
247
+ * and the shadow DOM will be created during client-side hydration.
248
+ * - Alternatively you can mix and match the two by providing an object with `declarative-shadow-dom` and `scoped` keys,
249
+ * the value arrays containing the tag names of the components that should be rendered in that mode.
250
+ *
251
+ * Examples:
252
+ * - `{ 'declarative-shadow-dom': ['my-component-1', 'another-component'], default: 'scoped' }`
253
+ * Render all components as `scoped` apart from `my-component-1` and `another-component`
254
+ * - `{ 'scoped': ['an-option-component'], default: 'declarative-shadow-dom' }`
255
+ * Render all components within `declarative-shadow-dom` apart from `an-option-component`
256
+ * - `'scoped'` Render all components as `scoped`
257
+ * - `false` disables shadow root serialization
258
+ *
259
+ * *NOTE* `true` has been deprecated in favor of `declarative-shadow-dom` and `scoped`
260
+ * @default 'declarative-shadow-dom'
261
+ */
262
+ serializeShadowRoot?: 'declarative-shadow-dom' | 'scoped' | {
263
+ 'declarative-shadow-dom'?: string[];
264
+ scoped?: string[];
265
+ default: 'declarative-shadow-dom' | 'scoped';
266
+ } | boolean;
267
+ }
268
+ interface SerializeDocumentOptions extends HydrateDocumentOptions {
269
+ /**
270
+ * Runs after the `document` has been hydrated.
271
+ */
272
+ afterHydrate?(document: any): any | Promise<any>;
273
+ /**
274
+ * Sets an approximate line width the HTML should attempt to stay within.
275
+ * Note that this is "approximate", in that HTML may often not be able
276
+ * to be split at an exact line width. Additionally, new lines created
277
+ * is where HTML naturally already has whitespace, such as before an
278
+ * attribute or spaces between words. Defaults to `100`.
279
+ */
280
+ approximateLineWidth?: number;
281
+ /**
282
+ * Runs before the `document` has been hydrated.
283
+ */
284
+ beforeHydrate?(document: any): any | Promise<any>;
285
+ /**
286
+ * Format the HTML in a nicely indented format.
287
+ * Defaults to `false`.
288
+ */
289
+ prettyHtml?: boolean;
290
+ /**
291
+ * Remove quotes from attribute values when possible.
292
+ * Defaults to `true`.
293
+ */
294
+ removeAttributeQuotes?: boolean;
295
+ /**
296
+ * Remove the `=""` from standardized `boolean` attributes,
297
+ * such as `hidden` or `checked`. Defaults to `true`.
298
+ */
299
+ removeBooleanAttributeQuotes?: boolean;
300
+ /**
301
+ * Remove these standardized attributes when their value is empty:
302
+ * `class`, `dir`, `id`, `lang`, and `name`, `title`. Defaults to `true`.
303
+ */
304
+ removeEmptyAttributes?: boolean;
305
+ /**
306
+ * Remove HTML comments. Defaults to `true`.
307
+ */
308
+ removeHtmlComments?: boolean;
309
+ /**
310
+ * The `fullDocument` flag determines the format of the rendered output. Set it to true to
311
+ * generate a complete HTML document, or false to render only the component.
312
+ * @default true
313
+ */
314
+ fullDocument?: boolean;
315
+ /**
316
+ * Style modes to render the component in.
317
+ * @see https://stenciljs.com/docs/styling#style-modes
318
+ */
319
+ modes?: ResolutionHandler[];
320
+ }
321
+ interface HydrateFactoryOptions extends SerializeDocumentOptions {
322
+ serializeToHtml: boolean;
323
+ destroyWindow: boolean;
324
+ destroyDocument: boolean;
325
+ }
326
+ interface Diagnostic {
327
+ absFilePath?: string | undefined;
328
+ code?: string;
329
+ columnNumber?: number | undefined;
330
+ debugText?: string;
331
+ header?: string;
332
+ language?: string;
333
+ level: 'error' | 'warn' | 'info' | 'log' | 'debug';
334
+ lineNumber?: number | undefined;
335
+ lines: PrintLine[];
336
+ messageText: string;
337
+ relFilePath?: string | undefined;
338
+ type: string;
339
+ }
340
+ //#endregion
341
+ //#region src/declarations/stencil-private.d.ts
342
+ interface PrintLine {
343
+ lineIndex: number;
344
+ lineNumber: number;
345
+ text: string;
346
+ errorCharStart: number;
347
+ errorLength?: number;
348
+ }
349
+ interface ComponentConstructor {
350
+ is?: string;
351
+ properties?: ComponentConstructorProperties;
352
+ watchers?: ComponentConstructorChangeHandlers;
353
+ events?: ComponentConstructorEvent[];
354
+ listeners?: ComponentConstructorListener[];
355
+ style?: string;
356
+ styleId?: string;
357
+ encapsulation?: ComponentConstructorEncapsulation;
358
+ observedAttributes?: string[];
359
+ cmpMeta?: ComponentRuntimeMeta;
360
+ isProxied?: boolean;
361
+ isStyleRegistered?: boolean;
362
+ serializers?: ComponentConstructorChangeHandlers;
363
+ deserializers?: ComponentConstructorChangeHandlers;
364
+ }
365
+ /**
366
+ * A mapping from class member names to a list of methods which are watching
367
+ * them.
368
+ */
369
+ interface ComponentConstructorChangeHandlers {
370
+ [propName: string]: {
371
+ [methodName: string]: number;
372
+ }[];
373
+ }
374
+ interface ComponentNativeConstructor extends ComponentConstructor {
375
+ cmpMeta: ComponentRuntimeMeta;
376
+ }
377
+ type ComponentConstructorEncapsulation = 'shadow' | 'scoped' | 'none';
378
+ interface ComponentConstructorProperties {
379
+ [propName: string]: ComponentConstructorProperty;
380
+ }
381
+ interface ComponentConstructorProperty {
382
+ attribute?: string;
383
+ elementRef?: boolean;
384
+ method?: boolean;
385
+ mutable?: boolean;
386
+ reflect?: boolean;
387
+ state?: boolean;
388
+ type?: ComponentConstructorPropertyType;
389
+ watchCallbacks?: string[];
390
+ }
391
+ type ComponentConstructorPropertyType = StringConstructor | BooleanConstructor | NumberConstructor | 'string' | 'boolean' | 'number';
392
+ interface ComponentConstructorEvent {
393
+ name: string;
394
+ method: string;
395
+ bubbles: boolean;
396
+ cancelable: boolean;
397
+ composed: boolean;
398
+ }
399
+ interface ComponentConstructorListener {
400
+ name: string;
401
+ method: string;
402
+ capture?: boolean;
403
+ passive?: boolean;
404
+ }
405
+ /**
406
+ * An interface extending `HTMLElement` which describes the fields added onto
407
+ * host HTML elements by the Stencil runtime.
408
+ */
409
+ interface HostElement extends HTMLElement {
410
+ connectedCallback?: () => void;
411
+ attributeChangedCallback?: (attribName: string, oldVal: string, newVal: string, namespace: string) => void;
412
+ disconnectedCallback?: () => void;
413
+ host?: Element;
414
+ forceUpdate?: () => void;
415
+ __stencil__getHostRef?: () => HostRef;
416
+ /**
417
+ * Unique stencil id for this element
418
+ */
419
+ ['s-id']?: string;
420
+ /**
421
+ * Content Reference:
422
+ * Reference to the HTML Comment that's placed inside of the
423
+ * host element's original content. This comment is used to
424
+ * always represent where host element's light dom is.
425
+ */
426
+ ['s-cr']?: RenderNode;
427
+ /**
428
+ * Lifecycle ready
429
+ */
430
+ ['s-lr']?: boolean;
431
+ /**
432
+ * A reference to the `ElementInternals` object for the current host
433
+ *
434
+ * This is used for maintaining a reference to the object between HMR
435
+ * refreshes in the lazy build.
436
+ *
437
+ * "stencil-element-internals"
438
+ */
439
+ ['s-ei']?: ElementInternals;
440
+ /**
441
+ * On Render Callbacks:
442
+ * Array of callbacks to fire off after it has rendered.
443
+ */
444
+ ['s-rc']?: (() => void)[];
445
+ /**
446
+ * Scope Id
447
+ * The scope id of this component when using scoped css encapsulation
448
+ * or using shadow dom but the browser doesn't support it
449
+ */
450
+ ['s-sc']?: string;
451
+ /**
452
+ * Scope Ids
453
+ * All the possible scope ids of this component when using scoped css encapsulation
454
+ * or using shadow dom but the browser doesn't support it
455
+ */
456
+ ['s-scs']?: string[];
457
+ /**
458
+ * Hot Module Replacement, dev mode only
459
+ *
460
+ * This function should be defined by the HMR-supporting runtime and should
461
+ * do the work of actually updating the component in-place.
462
+ */
463
+ ['s-hmr']?: (versionId: string) => void;
464
+ /**
465
+ * A list of nested nested hydration promises that
466
+ * must be resolved for the top, ancestor component to be fully hydrated
467
+ */
468
+ ['s-p']?: Promise<void>[];
469
+ componentOnReady?: () => Promise<this>;
470
+ }
471
+ interface HydrateResults {
472
+ buildId: string;
473
+ diagnostics: Diagnostic[];
474
+ url: string;
475
+ host: string | null;
476
+ hostname: string | null;
477
+ href: string | null;
478
+ port: string | null;
479
+ pathname: string | null;
480
+ search: string | null;
481
+ hash: string | null;
482
+ html: string | null;
483
+ components: HydrateComponent[];
484
+ anchors: HydrateAnchorElement[];
485
+ imgs: HydrateImgElement[];
486
+ scripts: HydrateScriptElement[];
487
+ styles: HydrateStyleElement[];
488
+ staticData: HydrateStaticData[];
489
+ title: string | null;
490
+ hydratedCount: number;
491
+ httpStatus: number | null;
492
+ }
493
+ interface HydrateComponent {
494
+ tag: string;
495
+ mode: string;
496
+ count: number;
497
+ depth: number;
498
+ }
499
+ interface HydrateElement {
500
+ [attrName: string]: string | undefined;
501
+ }
502
+ interface HydrateAnchorElement extends HydrateElement {
503
+ href?: string;
504
+ target?: string;
505
+ }
506
+ interface HydrateImgElement extends HydrateElement {
507
+ src?: string;
508
+ }
509
+ interface HydrateScriptElement extends HydrateElement {
510
+ src?: string;
511
+ type?: string;
512
+ }
513
+ interface HydrateStyleElement extends HydrateElement {
514
+ id?: string;
515
+ href?: string;
516
+ content?: string;
517
+ }
518
+ interface HydrateStaticData {
519
+ id: string;
520
+ type: string;
521
+ content: string;
522
+ }
523
+ /**
524
+ * Generic node that represents all of the
525
+ * different types of nodes we'd see when rendering
526
+ */
527
+ interface RenderNode extends HostElement {
528
+ /**
529
+ * Shadow root's host
530
+ */
531
+ host?: Element;
532
+ /**
533
+ * On Ref Function:
534
+ * Callback function to be called when the slotted node ref is ready.
535
+ */
536
+ ['s-rf']?: (elm: Element) => unknown;
537
+ /**
538
+ * Is initially hidden
539
+ * Whether this node was originally rendered with the `hidden` attribute.
540
+ *
541
+ * Used to reset the `hidden` state of a node during slot relocation.
542
+ */
543
+ ['s-ih']?: boolean;
544
+ /**
545
+ * Is Content Reference Node:
546
+ * This node is a content reference node.
547
+ */
548
+ ['s-cn']?: boolean;
549
+ /**
550
+ * Is a `slot` node when `shadow: false` (or `scoped: true`).
551
+ *
552
+ * This is a node (either empty text-node or `<slot-fb>` element)
553
+ * that represents where a `<slot>` is located in the original JSX.
554
+ */
555
+ ['s-sr']?: boolean;
556
+ /**
557
+ * Slot name of either the slot itself or the slotted node
558
+ */
559
+ ['s-sn']?: string;
560
+ /**
561
+ * Host element tag name:
562
+ * The tag name of the host element that this
563
+ * node was created in.
564
+ */
565
+ ['s-hn']?: string;
566
+ /**
567
+ * Slot host tag name:
568
+ * This is the tag name of the element where this node
569
+ * has been moved to during slot relocation.
570
+ *
571
+ * This allows us to check if the node has been moved and prevent
572
+ * us from thinking a node _should_ be moved when it may already be in
573
+ * its final destination.
574
+ *
575
+ * This value is set to `undefined` whenever the node is put back into its original location.
576
+ */
577
+ ['s-sh']?: string;
578
+ /**
579
+ * Original Location Reference:
580
+ * A reference pointing to the comment
581
+ * which represents the original location
582
+ * before it was moved to its slot.
583
+ */
584
+ ['s-ol']?: RenderNode;
585
+ /**
586
+ * Node reference:
587
+ * This is a reference from an original location node
588
+ * back to the node that's been moved around.
589
+ */
590
+ ['s-nr']?: PatchedSlotNode | RenderNode;
591
+ /**
592
+ * Original Order:
593
+ * During SSR; a number representing the order of a slotted node
594
+ */
595
+ ['s-oo']?: number;
596
+ /**
597
+ * Scope Id
598
+ */
599
+ ['s-si']?: string;
600
+ /**
601
+ * Host Id (hydrate only)
602
+ */
603
+ ['s-host-id']?: number;
604
+ /**
605
+ * Node Id (hydrate only)
606
+ */
607
+ ['s-node-id']?: number;
608
+ /**
609
+ * Used to know the components encapsulation.
610
+ * empty "" for shadow, "c" from scoped
611
+ */
612
+ ['s-en']?: '' | /*shadow*/'c';
613
+ /**
614
+ * On a `scoped: true` component
615
+ * with `experimentalSlotFixes` flag enabled,
616
+ * returns the internal `childNodes` of the component
617
+ */
618
+ readonly __childNodes?: NodeListOf<ChildNode>;
619
+ /**
620
+ * On a `scoped: true` component
621
+ * with `experimentalSlotFixes` flag enabled,
622
+ * returns the internal `children` of the component
623
+ */
624
+ readonly __children?: HTMLCollectionOf<Element>;
625
+ /**
626
+ * On a `scoped: true` component
627
+ * with `experimentalSlotFixes` flag enabled,
628
+ * returns the internal `firstChild` of the component
629
+ */
630
+ readonly __firstChild?: ChildNode;
631
+ /**
632
+ * On a `scoped: true` component
633
+ * with `experimentalSlotFixes` flag enabled,
634
+ * returns the internal `lastChild` of the component
635
+ */
636
+ readonly __lastChild?: ChildNode;
637
+ /**
638
+ * On a `scoped: true` component
639
+ * with `experimentalSlotFixes` flag enabled,
640
+ * returns the internal `textContent` of the component
641
+ */
642
+ __textContent?: string;
643
+ /**
644
+ * On a `scoped: true` component
645
+ * with `experimentalSlotFixes` flag enabled,
646
+ * gives access to the original `append` method
647
+ */
648
+ __append?: (...nodes: (Node | string)[]) => void;
649
+ /**
650
+ * On a `scoped: true` component
651
+ * with `experimentalSlotFixes` flag enabled,
652
+ * gives access to the original `prepend` method
653
+ */
654
+ __prepend?: (...nodes: (Node | string)[]) => void;
655
+ /**
656
+ * On a `scoped: true` component
657
+ * with `experimentalSlotFixes` flag enabled,
658
+ * gives access to the original `appendChild` method
659
+ */
660
+ __appendChild?: <T extends Node>(newChild: T) => T;
661
+ /**
662
+ * On a `scoped: true` component
663
+ * with `experimentalSlotFixes` flag enabled,
664
+ * gives access to the original `insertBefore` method
665
+ */
666
+ __insertBefore?: <T extends Node>(node: T, child: Node | null) => T;
667
+ /**
668
+ * On a `scoped: true` component
669
+ * with `experimentalSlotFixes` flag enabled,
670
+ * gives access to the original `removeChild` method
671
+ */
672
+ __removeChild?: <T extends Node>(child: T) => T;
673
+ }
674
+ interface PatchedSlotNode extends Node {
675
+ /**
676
+ * Slot name
677
+ */
678
+ ['s-sn']?: string;
679
+ /**
680
+ * Original Location Reference:
681
+ * A reference pointing to the comment
682
+ * which represents the original location
683
+ * before it was moved to its slot.
684
+ */
685
+ ['s-ol']?: RenderNode;
686
+ /**
687
+ * Slot host tag name:
688
+ * This is the tag name of the element where this node
689
+ * has been moved to during slot relocation.
690
+ *
691
+ * This allows us to check if the node has been moved and prevent
692
+ * us from thinking a node _should_ be moved when it may already be in
693
+ * its final destination.
694
+ *
695
+ * This value is set to `undefined` whenever the node is put back into its original location.
696
+ */
697
+ ['s-sh']?: string;
698
+ /**
699
+ * Is a `slot` node when `shadow: false` (or `scoped: true`).
700
+ *
701
+ * This is a node (either empty text-node or `<slot-fb>` element)
702
+ * that represents where a `<slot>` is located in the original JSX.
703
+ */
704
+ ['s-sr']?: boolean;
705
+ /**
706
+ * On a `scoped: true` component
707
+ * with `experimentalSlotFixes` flag enabled,
708
+ * returns the actual `parentNode` of the component
709
+ */
710
+ __parentNode?: RenderNode;
711
+ /**
712
+ * On a `scoped: true` component
713
+ * with `experimentalSlotFixes` flag enabled,
714
+ * returns the actual `nextSibling` of the component
715
+ */
716
+ __nextSibling?: RenderNode;
717
+ /**
718
+ * On a `scoped: true` component
719
+ * with `experimentalSlotFixes` flag enabled,
720
+ * returns the actual `previousSibling` of the component
721
+ */
722
+ __previousSibling?: RenderNode;
723
+ /**
724
+ * On a `scoped: true` component
725
+ * with `experimentalSlotFixes` flag enabled,
726
+ * returns the actual `nextElementSibling` of the component
727
+ */
728
+ __nextElementSibling?: RenderNode;
729
+ /**
730
+ * On a `scoped: true` component
731
+ * with `experimentalSlotFixes` flag enabled,
732
+ * returns the actual `nextElementSibling` of the component
733
+ */
734
+ __previousElementSibling?: RenderNode;
735
+ }
736
+ type LazyBundlesRuntimeData = LazyBundleRuntimeData[];
737
+ type LazyBundleRuntimeData = [/** bundleIds */string, ComponentRuntimeMetaCompact[]];
738
+ type ComponentRuntimeMetaCompact = [/** flags */number, /** tagname */string, /** members */{
739
+ [memberName: string]: ComponentRuntimeMember;
740
+ }?, /** listeners */ComponentRuntimeHostListener[]?, /** watchers */ComponentConstructorChangeHandlers?, /** serializers */ComponentConstructorChangeHandlers?, /** deserializers */ComponentConstructorChangeHandlers?];
741
+ /**
742
+ * Runtime metadata for a Stencil component
743
+ */
744
+ interface ComponentRuntimeMeta {
745
+ /**
746
+ * This number is used to hold a series of bitflags for various features we
747
+ * support on components. The flags which this value is intended to store are
748
+ * documented in the `CMP_FLAGS` enum.
749
+ */
750
+ $flags$: number;
751
+ /**
752
+ * Just what it says on the tin - the tag name for the component, as set in
753
+ * the `@Component` decorator.
754
+ */
755
+ $tagName$: string;
756
+ /**
757
+ * A map of the component's members, which could include fields decorated
758
+ * with `@Prop`, `@State`, etc as well as methods.
759
+ */
760
+ $members$?: ComponentRuntimeMembers;
761
+ /**
762
+ * Information about listeners on the component.
763
+ */
764
+ $listeners$?: ComponentRuntimeHostListener[];
765
+ /**
766
+ * Tuples containing information about `@Prop` fields on the component which
767
+ * are set to be reflected (i.e. kept in sync) as HTML attributes when
768
+ * updated.
769
+ */
770
+ $attrsToReflect$?: ComponentRuntimeReflectingAttr[];
771
+ /**
772
+ * Information about which class members have watchers attached on the component.
773
+ */
774
+ $watchers$?: ComponentConstructorChangeHandlers;
775
+ /**
776
+ * A bundle ID used for lazy loading.
777
+ */
778
+ $lazyBundleId$?: string;
779
+ /**
780
+ * Information about which class members have prop > attribute serializers attached on the component.
781
+ */
782
+ $serializers$?: ComponentConstructorChangeHandlers;
783
+ /**
784
+ * Information about which class members have attribute > prop deserializers attached on the component.
785
+ */
786
+ $deserializers$?: ComponentConstructorChangeHandlers;
787
+ }
788
+ /**
789
+ * A mapping of the names of members on the component to some runtime-specific
790
+ * information about them.
791
+ */
792
+ interface ComponentRuntimeMembers {
793
+ [memberName: string]: ComponentRuntimeMember;
794
+ }
795
+ /**
796
+ * A tuple with information about a class member that's relevant at runtime.
797
+ * The fields are:
798
+ *
799
+ * 1. A number used to hold bitflags for component members. The bit flags which
800
+ * this is intended to store are documented in the `MEMBER_FLAGS` enum.
801
+ * 2. The attribute name to observe.
802
+ */
803
+ type ComponentRuntimeMember = [number, string?];
804
+ /**
805
+ * A tuple holding information about a host listener which is relevant at
806
+ * runtime. The field are:
807
+ *
808
+ * 1. A number used to hold bitflags for listeners. The bit flags which this is
809
+ * intended to store are documented in the `LISTENER_FLAGS` enum.
810
+ * 2. The event name.
811
+ * 3. The method name.
812
+ */
813
+ type ComponentRuntimeHostListener = [number, string, string];
814
+ /**
815
+ * A tuple containing information about props which are "reflected" at runtime,
816
+ * meaning that HTML attributes on the component instance are kept in sync with
817
+ * the prop value.
818
+ *
819
+ * The fields are:
820
+ *
821
+ * 1. the prop name
822
+ * 2. the prop attribute.
823
+ */
824
+ type ComponentRuntimeReflectingAttr = [string, string | undefined];
825
+ /**
826
+ * A runtime component reference, consistent of either a host element _or_ an
827
+ * empty object. This is used in particular in a few different places as the
828
+ * keys in a `WeakMap` which maps {@link HostElement} instances to their
829
+ * associated {@link HostRef} instance.
830
+ */
831
+ type RuntimeRef = HostElement | {
832
+ __stencil__getHostRef?: () => HostRef;
833
+ };
834
+ /**
835
+ * Interface used to track an Element, it's virtual Node (`VNode`), and other data
836
+ */
837
+ interface HostRef {
838
+ $ancestorComponent$?: HostElement;
839
+ $flags$: number;
840
+ $cmpMeta$: ComponentRuntimeMeta;
841
+ $hostElement$: HostElement;
842
+ $instanceValues$?: Map<string, any>;
843
+ $serializerValues$?: Map<string, string>;
844
+ $lazyInstance$?: ComponentInterface;
845
+ /**
846
+ * A list of callback functions called immediately after a lazy component module has been fetched.
847
+ */
848
+ $fetchedCbList$?: ((elm: HostElement) => void)[];
849
+ /**
850
+ * A promise that gets resolved if `BUILD.asyncLoading` is enabled and after the `componentDidLoad`
851
+ * and before the `componentDidUpdate` lifecycle events are triggered.
852
+ */
853
+ $onReadyPromise$?: Promise<HostElement>;
854
+ /**
855
+ * A callback which resolves {@link HostRef.$onReadyPromise$}
856
+ * @param elm host element
857
+ */
858
+ $onReadyResolve$?: (elm: HostElement) => void;
859
+ /**
860
+ * A promise which resolves with the host component once it has finished rendering
861
+ * for the first time. This is primarily used to wait for the first `update` to be
862
+ * called on a component.
863
+ */
864
+ $onInstancePromise$?: Promise<HostElement>;
865
+ /**
866
+ * A callback which resolves {@link HostRef.$onInstancePromise$}
867
+ * @param elm host element
868
+ */
869
+ $onInstanceResolve$?: (elm: HostElement) => void;
870
+ /**
871
+ * A promise which resolves when the component has finished rendering for the first time.
872
+ * It is called after {@link HostRef.$onInstancePromise$} resolves.
873
+ */
874
+ $onRenderResolve$?: () => void;
875
+ $vnode$?: VNode;
876
+ $queuedListeners$?: [string, any][];
877
+ $rmListeners$?: (() => void)[];
878
+ $modeName$?: string;
879
+ $renderCount$?: number;
880
+ /**
881
+ * Defer connectedCallback until after first render for components with slot relocation.
882
+ */
883
+ $deferredConnectedCallback$?: boolean;
884
+ }
885
+ interface PlatformRuntime {
886
+ /**
887
+ * This number is used to hold a series of bitflags for various features we
888
+ * support within the runtime. The flags which this value is intended to store are
889
+ * documented in the {@link PLATFORM_FLAGS} enum.
890
+ */
891
+ $flags$: number;
892
+ /**
893
+ * Holds a map of nodes to be hydrated.
894
+ */
895
+ $orgLocNodes$?: Map<string, RenderNode>;
896
+ /**
897
+ * Holds the resource url for given platform environment.
898
+ */
899
+ $resourcesUrl$: string;
900
+ /**
901
+ * The nonce value to be applied to all script/style tags at runtime.
902
+ * If `null`, the nonce attribute will not be applied.
903
+ */
904
+ $nonce$?: string | null;
905
+ /**
906
+ * A utility function that executes a given function and returns the result.
907
+ * @param c The callback function to execute
908
+ */
909
+ jmp: (c: Function) => any;
910
+ /**
911
+ * A wrapper for {@link https://developer.mozilla.org/en-US/docs/Web/API/Window/requestAnimationFrame `requestAnimationFrame`}
912
+ */
913
+ raf: (c: FrameRequestCallback) => number;
914
+ /**
915
+ * A wrapper for {@link https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener `addEventListener`}
916
+ */
917
+ ael: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
918
+ /**
919
+ * A wrapper for {@link https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/removeEventListener `removeEventListener`}
920
+ */
921
+ rel: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
922
+ /**
923
+ * A wrapper for creating a {@link https://developer.mozilla.org/docs/Web/API/CustomEvent `CustomEvent`}
924
+ */
925
+ ce: (eventName: string, opts?: any) => CustomEvent;
926
+ }
927
+ type StyleMap = Map<string, CSSStyleSheet | string>;
928
+ type ChildType = VNode | number | string;
929
+ //#endregion
930
+ //#region src/server/platform/h-async.d.ts
931
+ declare const hAsync: (nodeName: any, vnodeData: any, ...children: ChildType[]) => VNode | Promise<VNode>;
932
+ //#endregion
933
+ //#region src/server/platform/hydrate-app.d.ts
934
+ declare function hydrateApp(win: Window & typeof globalThis, opts: HydrateFactoryOptions, results: HydrateResults, afterHydrate: (win: Window, opts: HydrateFactoryOptions, results: HydrateResults, resolve: (results: HydrateResults) => void) => void, resolve: (results: HydrateResults) => void): void;
935
+ //#endregion
936
+ //#region src/runtime/asset-path.d.ts
937
+ declare const getAssetPath: (path: string) => string;
938
+ declare const setAssetPath: (path: string) => string;
939
+ //#endregion
940
+ //#region src/runtime/bootstrap-custom-element.d.ts
941
+ declare const defineCustomElement: (Cstr: any, compactMeta: ComponentRuntimeMetaCompact) => void;
942
+ declare const proxyCustomElement: (Cstr: any, compactMeta: ComponentRuntimeMetaCompact) => any;
943
+ declare const forceModeUpdate: (elm: RenderNode) => void;
944
+ //#endregion
945
+ //#region src/runtime/bootstrap-lazy.d.ts
946
+ declare const bootstrapLazy: (lazyBundles: LazyBundlesRuntimeData, options?: CustomElementsDefineOptions) => void;
947
+ //#endregion
948
+ //#region src/runtime/connected-callback.d.ts
949
+ declare const connectedCallback: (elm: HostElement) => void;
950
+ //#endregion
951
+ //#region src/runtime/disconnected-callback.d.ts
952
+ declare const disconnectedCallback: (elm: HostElement) => Promise<void>;
953
+ //#endregion
954
+ //#region src/runtime/element.d.ts
955
+ declare const getElement: (ref: any) => HostElement;
956
+ //#endregion
957
+ //#region src/runtime/event-emitter.d.ts
958
+ declare const createEvent: (ref: RuntimeRef, name: string, flags: number) => {
959
+ emit: (detail: any) => CustomEvent<any>;
960
+ };
961
+ //#endregion
962
+ //#region src/runtime/fragment.d.ts
963
+ declare const Fragment: FunctionalComponent;
964
+ //#endregion
965
+ //#region src/runtime/host-listener.d.ts
966
+ declare const addHostEventListeners: (elm: HostElement, hostRef: HostRef, listeners?: ComponentRuntimeHostListener[], attachParentListeners?: boolean) => void;
967
+ //#endregion
968
+ //#region src/runtime/mixin.d.ts
969
+ type Ctor<T = {}> = new (...args: any[]) => T;
970
+ declare function Mixin(...mixins: ((base: Ctor) => Ctor)[]): Ctor<{}>;
971
+ //#endregion
972
+ //#region src/runtime/mode.d.ts
973
+ declare const setMode: (handler: ResolutionHandler) => number;
974
+ declare const getMode: (ref: RuntimeRef) => string;
975
+ //#endregion
976
+ //#region src/runtime/nonce.d.ts
977
+ /**
978
+ * Assigns the given value to the nonce property on the runtime platform object.
979
+ * During runtime, this value is used to set the nonce attribute on all dynamically created script and style tags.
980
+ * @param nonce The value to be assigned to the platform nonce property.
981
+ * @returns void
982
+ */
983
+ declare const setNonce: (nonce: string) => string;
984
+ //#endregion
985
+ //#region src/runtime/parse-property-value.d.ts
986
+ /**
987
+ * Parse a new property value for a given property type.
988
+ *
989
+ * While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,
990
+ * it is not safe to assume that the string returned by evaluating `typeof propValue` matches:
991
+ * 1. `any`, the type given to `propValue` in the function signature
992
+ * 2. the type stored from `propType`.
993
+ *
994
+ * This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.
995
+ *
996
+ * Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to
997
+ * a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is
998
+ * based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.
999
+ * ```tsx
1000
+ * <my-cmp prop-val={0}></my-cmp>
1001
+ * ```
1002
+ *
1003
+ * HTML prop values on the other hand, will always a string
1004
+ *
1005
+ * @param propValue the new value to coerce to some type
1006
+ * @param propType the type of the prop, expressed as a binary number
1007
+ * @param isFormAssociated whether the component is form-associated (optional)
1008
+ * @returns the parsed/coerced value
1009
+ */
1010
+ declare const parsePropertyValue: (propValue: unknown, propType: number, isFormAssociated?: boolean) => any;
1011
+ //#endregion
1012
+ //#region src/runtime/proxy-component.d.ts
1013
+ /**
1014
+ * Attach a series of runtime constructs to a compiled Stencil component
1015
+ * constructor, including getters and setters for the `@Prop` and `@State`
1016
+ * decorators, callbacks for when attributes change, and so on.
1017
+ *
1018
+ * On a lazy loaded component, this is wired up to both the class instance
1019
+ * and the element separately. A `hostRef` keeps the 2 in sync.
1020
+ *
1021
+ * On a traditional component, this is wired up to the element only.
1022
+ *
1023
+ * @param Cstr - the constructor for a component that we need to process
1024
+ * @param cmpMeta - metadata collected previously about the component
1025
+ * @param flags - a number used to store a series of bit flags
1026
+ * @returns a reference to the same constructor passed in (but now mutated)
1027
+ */
1028
+ declare const proxyComponent: (Cstr: ComponentConstructor, cmpMeta: ComponentRuntimeMeta, flags: number) => ComponentConstructor;
1029
+ //#endregion
1030
+ //#region src/runtime/set-value.d.ts
1031
+ declare const getValue: (ref: RuntimeRef, propName: string) => any;
1032
+ declare const setValue: (ref: RuntimeRef, propName: string, newVal: any, cmpMeta: ComponentRuntimeMeta) => void;
1033
+ //#endregion
1034
+ //#region src/runtime/tag-transform.d.ts
1035
+ /**
1036
+ * Transforms a tag name using the current tag transformer
1037
+ * @param tag - the tag to transform e.g. `my-tag`
1038
+ * @returns the transformed tag e.g. `new-my-tag`
1039
+ */
1040
+ declare function transformTag<T extends string>(tag: T): T;
1041
+ /**
1042
+ * Sets the tag transformer to be used when rendering custom elements
1043
+ * @param transformer the transformer function to use. Must return a string
1044
+ */
1045
+ declare function setTagTransformer(transformer: TagTransformer): void;
1046
+ //#endregion
1047
+ //#region src/runtime/update-component.d.ts
1048
+ declare const getRenderingRef: () => any;
1049
+ declare const postUpdateComponent: (hostRef: HostRef) => void;
1050
+ declare const forceUpdate: (ref: any) => boolean;
1051
+ //#endregion
1052
+ //#region src/runtime/vdom/h.d.ts
1053
+ declare const Host: {};
1054
+ //#endregion
1055
+ //#region src/runtime/vdom/jsx-runtime.d.ts
1056
+ /**
1057
+ * JSX runtime function for creating elements in production mode.
1058
+ * Called by TypeScript's jsx transform for elements without static children.
1059
+ *
1060
+ * @param type - The element type (string tag name or functional component)
1061
+ * @param props - The element props (includes children)
1062
+ * @param key - Optional key for the element
1063
+ * @returns A virtual DOM node
1064
+ */
1065
+ declare function jsx(type: any, props: any, key?: string): VNode;
1066
+ /**
1067
+ * JSX runtime function for creating elements with static children.
1068
+ * Called by TypeScript's jsx transform as an optimization when children are static.
1069
+ *
1070
+ * @param type - The element type (string tag name or functional component)
1071
+ * @param props - The element props (includes children)
1072
+ * @param key - Optional key for the element
1073
+ * @returns A virtual DOM node
1074
+ */
1075
+ declare function jsxs(type: any, props: any, key?: string): VNode;
1076
+ //#endregion
1077
+ //#region src/runtime/vdom/vdom-annotations.d.ts
1078
+ /**
1079
+ * Updates the DOM generated on the server with annotations such as node attributes and
1080
+ * comment nodes to facilitate future client-side hydration. These annotations are used for things
1081
+ * like moving elements back to their original hosts if using Shadow DOM on the client, and for quickly
1082
+ * reconstructing the vNode representations of the DOM.
1083
+ *
1084
+ * @param doc The DOM generated by the server.
1085
+ * @param staticComponents Any components that should be considered static and do not need client-side hydration.
1086
+ */
1087
+ declare const insertVdomAnnotations: (doc: Document, staticComponents: string[]) => void;
1088
+ //#endregion
1089
+ //#region src/runtime/vdom/vdom-render.d.ts
1090
+ /**
1091
+ * The main entry point for Stencil's virtual DOM-based rendering engine
1092
+ *
1093
+ * Given a {@link d.HostRef} container and some virtual DOM nodes, this
1094
+ * function will handle creating a virtual DOM tree with a single root, patching
1095
+ * the current virtual DOM tree onto an old one (if any), dealing with slot
1096
+ * relocation, and reflecting attributes.
1097
+ *
1098
+ * @param hostRef data needed to root and render the virtual DOM tree, such as
1099
+ * the DOM node into which it should be rendered.
1100
+ * @param renderFnResults the virtual DOM nodes to be rendered
1101
+ * @param isInitialLoad whether or not this is the first call after page load
1102
+ */
1103
+ declare const renderVdom: (hostRef: HostRef, renderFnResults: VNode | VNode[], isInitialLoad?: boolean) => void;
1104
+ //#endregion
1105
+ //#region src/server/platform/index.d.ts
1106
+ declare const cmpModules: Map<string, {
1107
+ [exportName: string]: ComponentConstructor;
1108
+ }>;
1109
+ declare const loadModule: (cmpMeta: ComponentRuntimeMeta, _hostRef: HostRef, _hmrVersionId?: string) => ComponentConstructor | null;
1110
+ declare const isMemberInElement: (elm: any, memberName: string) => boolean;
1111
+ declare const registerComponents: (Cstrs: ComponentNativeConstructor[]) => void;
1112
+ declare const win: Window & typeof globalThis;
1113
+ declare const readTask: (cb: Function) => void;
1114
+ declare const writeTask: (cb: Function) => void;
1115
+ declare const nextTick: (cb: () => void) => Promise<void>;
1116
+ declare const consoleError: ErrorHandler;
1117
+ declare const consoleDevError: (..._: any[]) => void;
1118
+ declare const consoleDevWarn: (..._: any[]) => void;
1119
+ declare const consoleDevInfo: (..._: any[]) => void;
1120
+ declare const setErrorHandler: (handler: ErrorHandler) => ErrorHandler;
1121
+ declare const plt: PlatformRuntime;
1122
+ declare const setPlatformHelpers: (helpers: {
1123
+ jmp?: (c: any) => any;
1124
+ raf?: (c: any) => number;
1125
+ ael?: (el: any, eventName: string, listener: any, options: any) => void;
1126
+ rel?: (el: any, eventName: string, listener: any, options: any) => void;
1127
+ ce?: (eventName: string, opts?: any) => any;
1128
+ }) => void;
1129
+ declare const supportsShadow: boolean;
1130
+ declare const supportsListenerOptions = false;
1131
+ declare const supportsConstructableStylesheets = false;
1132
+ declare const supportsMutableAdoptedStyleSheets = false;
1133
+ declare const getHostRef: (ref: RuntimeRef) => HostRef;
1134
+ declare const registerInstance: (lazyInstance: any, hostRef: HostRef) => HostRef;
1135
+ declare const registerHost: (elm: HostElement, cmpMeta: ComponentRuntimeMeta) => HostRef;
1136
+ declare const Build: UserBuildConditionals;
1137
+ declare const styles: StyleMap;
1138
+ declare const modeResolutionChain: ResolutionHandler[];
1139
+ /**
1140
+ * Checks to see any components are rendered with `scoped`
1141
+ * @param opts - SSR options
1142
+ */
1143
+ declare const setScopedSSR: (opts: HydrateFactoryOptions) => void;
1144
+ declare const needsScopedSSR: () => boolean;
1145
+ //#endregion
1146
+ export { BUILD, Build, Env, Fragment, Host, Mixin, NAMESPACE, addHostEventListeners, bootstrapLazy, cmpModules, connectedCallback, consoleDevError, consoleDevInfo, consoleDevWarn, consoleError, createEvent, defineCustomElement, disconnectedCallback, forceModeUpdate, forceUpdate, getAssetPath, getElement, getHostRef, getMode, getRenderingRef, getValue, hAsync as h, hydrateApp, insertVdomAnnotations, isMemberInElement, jsx, jsxs, loadModule, modeResolutionChain, needsScopedSSR, nextTick, parsePropertyValue, plt, postUpdateComponent, proxyComponent, proxyCustomElement, readTask, registerComponents, registerHost, registerInstance, renderVdom, setAssetPath, setErrorHandler, setMode, setNonce, setPlatformHelpers, setScopedSSR, setTagTransformer, setValue, styles, supportsConstructableStylesheets, supportsListenerOptions, supportsMutableAdoptedStyleSheets, supportsShadow, transformTag, win, writeTask };