@vigla/svelte 0.0.0-stage → 5.57.3

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 (373) hide show
  1. package/action.d.ts +2 -0
  2. package/animate.d.ts +2 -0
  3. package/compiler/index.js +43266 -0
  4. package/compiler/index.js.map +1 -0
  5. package/compiler/package.json +3 -0
  6. package/compiler.d.ts +2 -0
  7. package/dist/compiler/diagnostics.d.ts +70 -0
  8. package/dist/compiler/diagnostics.d.ts.map +1 -0
  9. package/dist/compiler/diagnostics.js +166 -0
  10. package/dist/compiler/diagnostics.js.map +1 -0
  11. package/dist/compiler/index.d.ts +72 -0
  12. package/dist/compiler/index.d.ts.map +1 -0
  13. package/dist/compiler/index.js +178 -0
  14. package/dist/compiler/index.js.map +1 -0
  15. package/dist/compiler/options.d.ts +7 -0
  16. package/dist/compiler/options.d.ts.map +1 -0
  17. package/dist/compiler/options.js +126 -0
  18. package/dist/compiler/options.js.map +1 -0
  19. package/dist/compiler/preprocess/decode.d.ts +3 -0
  20. package/dist/compiler/preprocess/decode.d.ts.map +1 -0
  21. package/dist/compiler/preprocess/decode.js +60 -0
  22. package/dist/compiler/preprocess/decode.js.map +1 -0
  23. package/dist/compiler/preprocess/index.d.ts +27 -0
  24. package/dist/compiler/preprocess/index.d.ts.map +1 -0
  25. package/dist/compiler/preprocess/index.js +208 -0
  26. package/dist/compiler/preprocess/index.js.map +1 -0
  27. package/dist/compiler/preprocess/mapped.d.ts +25 -0
  28. package/dist/compiler/preprocess/mapped.d.ts.map +1 -0
  29. package/dist/compiler/preprocess/mapped.js +129 -0
  30. package/dist/compiler/preprocess/mapped.js.map +1 -0
  31. package/dist/compiler/proxy.d.ts +3 -0
  32. package/dist/compiler/proxy.d.ts.map +1 -0
  33. package/dist/compiler/proxy.js +133 -0
  34. package/dist/compiler/proxy.js.map +1 -0
  35. package/dist/entries/action.d.ts +2 -0
  36. package/dist/entries/action.d.ts.map +1 -0
  37. package/dist/entries/action.js +1 -0
  38. package/dist/entries/action.js.map +1 -0
  39. package/dist/entries/animate.d.ts +2 -0
  40. package/dist/entries/animate.d.ts.map +1 -0
  41. package/dist/entries/animate.js +2 -0
  42. package/dist/entries/animate.js.map +1 -0
  43. package/dist/entries/attachments.d.ts +2 -0
  44. package/dist/entries/attachments.d.ts.map +1 -0
  45. package/dist/entries/attachments.js +2 -0
  46. package/dist/entries/attachments.js.map +1 -0
  47. package/dist/entries/context.d.ts +15 -0
  48. package/dist/entries/context.d.ts.map +1 -0
  49. package/dist/entries/context.js +32 -0
  50. package/dist/entries/context.js.map +1 -0
  51. package/dist/entries/easing.d.ts +2 -0
  52. package/dist/entries/easing.d.ts.map +1 -0
  53. package/dist/entries/easing.js +2 -0
  54. package/dist/entries/easing.js.map +1 -0
  55. package/dist/entries/events.d.ts +2 -0
  56. package/dist/entries/events.d.ts.map +1 -0
  57. package/dist/entries/events.js +2 -0
  58. package/dist/entries/events.js.map +1 -0
  59. package/dist/entries/index-server.d.ts +4 -0
  60. package/dist/entries/index-server.d.ts.map +1 -0
  61. package/dist/entries/index-server.js +11 -0
  62. package/dist/entries/index-server.js.map +1 -0
  63. package/dist/entries/index.d.ts +10 -0
  64. package/dist/entries/index.d.ts.map +1 -0
  65. package/dist/entries/index.js +24 -0
  66. package/dist/entries/index.js.map +1 -0
  67. package/dist/entries/internal/client.d.ts +4 -0
  68. package/dist/entries/internal/client.d.ts.map +1 -0
  69. package/dist/entries/internal/client.js +9 -0
  70. package/dist/entries/internal/client.js.map +1 -0
  71. package/dist/entries/internal/disclose-version.d.ts +2 -0
  72. package/dist/entries/internal/disclose-version.d.ts.map +1 -0
  73. package/dist/entries/internal/disclose-version.js +4 -0
  74. package/dist/entries/internal/disclose-version.js.map +1 -0
  75. package/dist/entries/internal/index.d.ts +2 -0
  76. package/dist/entries/internal/index.d.ts.map +1 -0
  77. package/dist/entries/internal/index.js +2 -0
  78. package/dist/entries/internal/index.js.map +1 -0
  79. package/dist/entries/internal/server.d.ts +2 -0
  80. package/dist/entries/internal/server.d.ts.map +1 -0
  81. package/dist/entries/internal/server.js +7 -0
  82. package/dist/entries/internal/server.js.map +1 -0
  83. package/dist/entries/internal/tracing.d.ts +2 -0
  84. package/dist/entries/internal/tracing.d.ts.map +1 -0
  85. package/dist/entries/internal/tracing.js +2 -0
  86. package/dist/entries/internal/tracing.js.map +1 -0
  87. package/dist/entries/motion-server.d.ts +2 -0
  88. package/dist/entries/motion-server.d.ts.map +1 -0
  89. package/dist/entries/motion-server.js +2 -0
  90. package/dist/entries/motion-server.js.map +1 -0
  91. package/dist/entries/motion.d.ts +2 -0
  92. package/dist/entries/motion.d.ts.map +1 -0
  93. package/dist/entries/motion.js +2 -0
  94. package/dist/entries/motion.js.map +1 -0
  95. package/dist/entries/proxy.d.ts +6 -0
  96. package/dist/entries/proxy.d.ts.map +1 -0
  97. package/dist/entries/proxy.js +77 -0
  98. package/dist/entries/proxy.js.map +1 -0
  99. package/dist/entries/reactivity-server.d.ts +2 -0
  100. package/dist/entries/reactivity-server.d.ts.map +1 -0
  101. package/dist/entries/reactivity-server.js +2 -0
  102. package/dist/entries/reactivity-server.js.map +1 -0
  103. package/dist/entries/reactivity.d.ts +2 -0
  104. package/dist/entries/reactivity.d.ts.map +1 -0
  105. package/dist/entries/reactivity.js +2 -0
  106. package/dist/entries/reactivity.js.map +1 -0
  107. package/dist/entries/report.d.ts +3 -0
  108. package/dist/entries/report.d.ts.map +1 -0
  109. package/dist/entries/report.js +66 -0
  110. package/dist/entries/report.js.map +1 -0
  111. package/dist/entries/server.d.ts +8 -0
  112. package/dist/entries/server.d.ts.map +1 -0
  113. package/dist/entries/server.js +48 -0
  114. package/dist/entries/server.js.map +1 -0
  115. package/dist/entries/store-client.d.ts +12 -0
  116. package/dist/entries/store-client.d.ts.map +1 -0
  117. package/dist/entries/store-client.js +63 -0
  118. package/dist/entries/store-client.js.map +1 -0
  119. package/dist/entries/store-server.d.ts +12 -0
  120. package/dist/entries/store-server.d.ts.map +1 -0
  121. package/dist/entries/store-server.js +30 -0
  122. package/dist/entries/store-server.js.map +1 -0
  123. package/dist/entries/store.d.ts +25 -0
  124. package/dist/entries/store.d.ts.map +1 -0
  125. package/dist/entries/store.js +139 -0
  126. package/dist/entries/store.js.map +1 -0
  127. package/dist/entries/transition.d.ts +2 -0
  128. package/dist/entries/transition.d.ts.map +1 -0
  129. package/dist/entries/transition.js +2 -0
  130. package/dist/entries/transition.js.map +1 -0
  131. package/dist/entries/window-server.d.ts +2 -0
  132. package/dist/entries/window-server.d.ts.map +1 -0
  133. package/dist/entries/window-server.js +2 -0
  134. package/dist/entries/window-server.js.map +1 -0
  135. package/dist/entries/window.d.ts +2 -0
  136. package/dist/entries/window.d.ts.map +1 -0
  137. package/dist/entries/window.js +2 -0
  138. package/dist/entries/window.js.map +1 -0
  139. package/dist/front/ast.d.ts +290 -0
  140. package/dist/front/ast.d.ts.map +1 -0
  141. package/dist/front/ast.js +1 -0
  142. package/dist/front/ast.js.map +1 -0
  143. package/dist/front/diagnostics.d.ts +13 -0
  144. package/dist/front/diagnostics.d.ts.map +1 -0
  145. package/dist/front/diagnostics.js +38 -0
  146. package/dist/front/diagnostics.js.map +1 -0
  147. package/dist/front/ignores.d.ts +12 -0
  148. package/dist/front/ignores.d.ts.map +1 -0
  149. package/dist/front/ignores.js +75 -0
  150. package/dist/front/ignores.js.map +1 -0
  151. package/dist/front/index.d.ts +17 -0
  152. package/dist/front/index.d.ts.map +1 -0
  153. package/dist/front/index.js +65 -0
  154. package/dist/front/index.js.map +1 -0
  155. package/dist/front/legacy.d.ts +5 -0
  156. package/dist/front/legacy.d.ts.map +1 -0
  157. package/dist/front/legacy.js +408 -0
  158. package/dist/front/legacy.js.map +1 -0
  159. package/dist/front/locate.d.ts +4 -0
  160. package/dist/front/locate.d.ts.map +1 -0
  161. package/dist/front/locate.js +19 -0
  162. package/dist/front/locate.js.map +1 -0
  163. package/dist/front/lower.d.ts +39 -0
  164. package/dist/front/lower.d.ts.map +1 -0
  165. package/dist/front/lower.js +470 -0
  166. package/dist/front/lower.js.map +1 -0
  167. package/dist/front/parse/attribute.d.ts +12 -0
  168. package/dist/front/parse/attribute.d.ts.map +1 -0
  169. package/dist/front/parse/attribute.js +288 -0
  170. package/dist/front/parse/attribute.js.map +1 -0
  171. package/dist/front/parse/bracket.d.ts +3 -0
  172. package/dist/front/parse/bracket.d.ts.map +1 -0
  173. package/dist/front/parse/bracket.js +102 -0
  174. package/dist/front/parse/bracket.js.map +1 -0
  175. package/dist/front/parse/characters.d.ts +4 -0
  176. package/dist/front/parse/characters.d.ts.map +1 -0
  177. package/dist/front/parse/characters.js +6 -0
  178. package/dist/front/parse/characters.js.map +1 -0
  179. package/dist/front/parse/decode.d.ts +2 -0
  180. package/dist/front/parse/decode.d.ts.map +1 -0
  181. package/dist/front/parse/decode.js +89 -0
  182. package/dist/front/parse/decode.js.map +1 -0
  183. package/dist/front/parse/element.d.ts +3 -0
  184. package/dist/front/parse/element.d.ts.map +1 -0
  185. package/dist/front/parse/element.js +311 -0
  186. package/dist/front/parse/element.js.map +1 -0
  187. package/dist/front/parse/entities.d.ts +2 -0
  188. package/dist/front/parse/entities.d.ts.map +1 -0
  189. package/dist/front/parse/entities.js +2234 -0
  190. package/dist/front/parse/entities.js.map +1 -0
  191. package/dist/front/parse/expression.d.ts +5 -0
  192. package/dist/front/parse/expression.d.ts.map +1 -0
  193. package/dist/front/parse/expression.js +86 -0
  194. package/dist/front/parse/expression.js.map +1 -0
  195. package/dist/front/parse/html.d.ts +8 -0
  196. package/dist/front/parse/html.d.ts.map +1 -0
  197. package/dist/front/parse/html.js +146 -0
  198. package/dist/front/parse/html.js.map +1 -0
  199. package/dist/front/parse/identifier.d.ts +4 -0
  200. package/dist/front/parse/identifier.d.ts.map +1 -0
  201. package/dist/front/parse/identifier.js +24 -0
  202. package/dist/front/parse/identifier.js.map +1 -0
  203. package/dist/front/parse/index.d.ts +13 -0
  204. package/dist/front/parse/index.d.ts.map +1 -0
  205. package/dist/front/parse/index.js +74 -0
  206. package/dist/front/parse/index.js.map +1 -0
  207. package/dist/front/parse/js.d.ts +27 -0
  208. package/dist/front/parse/js.d.ts.map +1 -0
  209. package/dist/front/parse/js.js +241 -0
  210. package/dist/front/parse/js.js.map +1 -0
  211. package/dist/front/parse/options.d.ts +3 -0
  212. package/dist/front/parse/options.d.ts.map +1 -0
  213. package/dist/front/parse/options.js +198 -0
  214. package/dist/front/parse/options.js.map +1 -0
  215. package/dist/front/parse/parser.d.ts +50 -0
  216. package/dist/front/parse/parser.d.ts.map +1 -0
  217. package/dist/front/parse/parser.js +157 -0
  218. package/dist/front/parse/parser.js.map +1 -0
  219. package/dist/front/parse/pattern.d.ts +4 -0
  220. package/dist/front/parse/pattern.d.ts.map +1 -0
  221. package/dist/front/parse/pattern.js +53 -0
  222. package/dist/front/parse/pattern.js.map +1 -0
  223. package/dist/front/parse/script.d.ts +4 -0
  224. package/dist/front/parse/script.d.ts.map +1 -0
  225. package/dist/front/parse/script.js +60 -0
  226. package/dist/front/parse/script.js.map +1 -0
  227. package/dist/front/parse/style.d.ts +7 -0
  228. package/dist/front/parse/style.d.ts.map +1 -0
  229. package/dist/front/parse/style.js +397 -0
  230. package/dist/front/parse/style.js.map +1 -0
  231. package/dist/front/parse/tag.d.ts +3 -0
  232. package/dist/front/parse/tag.d.ts.map +1 -0
  233. package/dist/front/parse/tag.js +591 -0
  234. package/dist/front/parse/tag.js.map +1 -0
  235. package/dist/front/print/css.d.ts +5 -0
  236. package/dist/front/print/css.d.ts.map +1 -0
  237. package/dist/front/print/css.js +234 -0
  238. package/dist/front/print/css.js.map +1 -0
  239. package/dist/front/print/index.d.ts +18 -0
  240. package/dist/front/print/index.d.ts.map +1 -0
  241. package/dist/front/print/index.js +24 -0
  242. package/dist/front/print/index.js.map +1 -0
  243. package/dist/front/print/layout.d.ts +11 -0
  244. package/dist/front/print/layout.d.ts.map +1 -0
  245. package/dist/front/print/layout.js +73 -0
  246. package/dist/front/print/layout.js.map +1 -0
  247. package/dist/front/print/template.d.ts +5 -0
  248. package/dist/front/print/template.d.ts.map +1 -0
  249. package/dist/front/print/template.js +455 -0
  250. package/dist/front/print/template.js.map +1 -0
  251. package/dist/front/runes.d.ts +13 -0
  252. package/dist/front/runes.d.ts.map +1 -0
  253. package/dist/front/runes.js +253 -0
  254. package/dist/front/runes.js.map +1 -0
  255. package/dist/front/stores.d.ts +5 -0
  256. package/dist/front/stores.d.ts.map +1 -0
  257. package/dist/front/stores.js +84 -0
  258. package/dist/front/stores.js.map +1 -0
  259. package/dist/front/typescript.d.ts +2 -0
  260. package/dist/front/typescript.d.ts.map +1 -0
  261. package/dist/front/typescript.js +182 -0
  262. package/dist/front/typescript.js.map +1 -0
  263. package/dist/front/validate/anchors.d.ts +15 -0
  264. package/dist/front/validate/anchors.d.ts.map +1 -0
  265. package/dist/front/validate/anchors.js +43 -0
  266. package/dist/front/validate/anchors.js.map +1 -0
  267. package/dist/front/validate/index.d.ts +16 -0
  268. package/dist/front/validate/index.d.ts.map +1 -0
  269. package/dist/front/validate/index.js +139 -0
  270. package/dist/front/validate/index.js.map +1 -0
  271. package/dist/front/validate/legacy.d.ts +9 -0
  272. package/dist/front/validate/legacy.d.ts.map +1 -0
  273. package/dist/front/validate/legacy.js +102 -0
  274. package/dist/front/validate/legacy.js.map +1 -0
  275. package/dist/front/validate/report.d.ts +14 -0
  276. package/dist/front/validate/report.d.ts.map +1 -0
  277. package/dist/front/validate/report.js +29 -0
  278. package/dist/front/validate/report.js.map +1 -0
  279. package/dist/front/validate/template.d.ts +31 -0
  280. package/dist/front/validate/template.d.ts.map +1 -0
  281. package/dist/front/validate/template.js +507 -0
  282. package/dist/front/validate/template.js.map +1 -0
  283. package/dist/front/wording.d.ts +4 -0
  284. package/dist/front/wording.d.ts.map +1 -0
  285. package/dist/front/wording.js +110 -0
  286. package/dist/front/wording.js.map +1 -0
  287. package/dist/shared/format.d.ts +3 -0
  288. package/dist/shared/format.d.ts.map +1 -0
  289. package/dist/shared/format.js +7 -0
  290. package/dist/shared/format.js.map +1 -0
  291. package/easing.d.ts +2 -0
  292. package/elements.d.ts +1220 -0
  293. package/index.d.ts +2 -0
  294. package/motion.d.ts +2 -0
  295. package/package.json +123 -5
  296. package/src/compiler/diagnostics.ts +233 -0
  297. package/src/compiler/index.ts +292 -0
  298. package/src/compiler/options.ts +140 -0
  299. package/src/compiler/preprocess/decode.ts +85 -0
  300. package/src/compiler/preprocess/index.ts +299 -0
  301. package/src/compiler/preprocess/mapped.ts +146 -0
  302. package/src/compiler/proxy.ts +154 -0
  303. package/src/entries/action.ts +1 -0
  304. package/src/entries/animate.ts +1 -0
  305. package/src/entries/attachments.ts +1 -0
  306. package/src/entries/context.ts +50 -0
  307. package/src/entries/easing.ts +1 -0
  308. package/src/entries/events.ts +1 -0
  309. package/src/entries/index-server.ts +17 -0
  310. package/src/entries/index.ts +41 -0
  311. package/src/entries/internal/client.ts +15 -0
  312. package/src/entries/internal/disclose-version.ts +4 -0
  313. package/src/entries/internal/index.ts +3 -0
  314. package/src/entries/internal/server.ts +8 -0
  315. package/src/entries/internal/tracing.ts +1 -0
  316. package/src/entries/motion-server.ts +1 -0
  317. package/src/entries/motion.ts +1 -0
  318. package/src/entries/proxy.ts +86 -0
  319. package/src/entries/reactivity-server.ts +9 -0
  320. package/src/entries/reactivity.ts +9 -0
  321. package/src/entries/report.ts +81 -0
  322. package/src/entries/server.ts +76 -0
  323. package/src/entries/store-client.ts +80 -0
  324. package/src/entries/store-server.ts +44 -0
  325. package/src/entries/store.ts +201 -0
  326. package/src/entries/transition.ts +1 -0
  327. package/src/entries/window-server.ts +1 -0
  328. package/src/entries/window.ts +1 -0
  329. package/src/front/ast.ts +369 -0
  330. package/src/front/diagnostics.ts +53 -0
  331. package/src/front/ignores.ts +84 -0
  332. package/src/front/index.ts +86 -0
  333. package/src/front/legacy.ts +414 -0
  334. package/src/front/locate.ts +20 -0
  335. package/src/front/lower.ts +509 -0
  336. package/src/front/parse/attribute.ts +319 -0
  337. package/src/front/parse/bracket.ts +99 -0
  338. package/src/front/parse/characters.ts +19 -0
  339. package/src/front/parse/decode.ts +87 -0
  340. package/src/front/parse/element.ts +354 -0
  341. package/src/front/parse/entities.ts +2233 -0
  342. package/src/front/parse/expression.ts +85 -0
  343. package/src/front/parse/html.ts +158 -0
  344. package/src/front/parse/identifier.ts +29 -0
  345. package/src/front/parse/index.ts +88 -0
  346. package/src/front/parse/js.ts +284 -0
  347. package/src/front/parse/options.ts +194 -0
  348. package/src/front/parse/parser.ts +189 -0
  349. package/src/front/parse/pattern.ts +57 -0
  350. package/src/front/parse/script.ts +74 -0
  351. package/src/front/parse/style.ts +399 -0
  352. package/src/front/parse/tag.ts +601 -0
  353. package/src/front/print/css.ts +239 -0
  354. package/src/front/print/index.ts +40 -0
  355. package/src/front/print/layout.ts +87 -0
  356. package/src/front/print/template.ts +448 -0
  357. package/src/front/runes.ts +267 -0
  358. package/src/front/stores.ts +98 -0
  359. package/src/front/typescript.ts +178 -0
  360. package/src/front/validate/anchors.ts +54 -0
  361. package/src/front/validate/index.ts +174 -0
  362. package/src/front/validate/legacy.ts +119 -0
  363. package/src/front/validate/report.ts +38 -0
  364. package/src/front/validate/template.ts +549 -0
  365. package/src/front/wording.ts +112 -0
  366. package/src/shared/format.ts +8 -0
  367. package/store.d.ts +2 -0
  368. package/svelte-html.d.ts +53 -0
  369. package/transition.d.ts +2 -0
  370. package/types/compiler/interfaces.d.ts +2 -0
  371. package/types/compiler/preprocess.d.ts +2 -0
  372. package/types/index.d.ts +1453 -0
  373. package/README.md +0 -3
package/elements.d.ts ADDED
@@ -0,0 +1,1220 @@
1
+ import type { Snippet } from 'svelte';
2
+ import type { Attachment } from 'svelte/attachments';
3
+
4
+ type Nullish = undefined | null;
5
+
6
+ type Booleanish = boolean | 'true' | 'false';
7
+
8
+ type Numberish = number | string;
9
+
10
+ type EventHandler<E extends Event = Event, T extends EventTarget = Element> = (
11
+ event: E & { currentTarget: EventTarget & T }
12
+ ) => any;
13
+
14
+ type Handlers<Events, T extends EventTarget> = {
15
+ [K in keyof Events & string as `on${K}` | `on${K}capture`]?:
16
+ | EventHandler<Events[K] extends Event ? Events[K] : Event, T>
17
+ | Nullish;
18
+ };
19
+
20
+ export type ClipboardEventHandler<T extends EventTarget> = EventHandler<ClipboardEvent, T>;
21
+ export type CompositionEventHandler<T extends EventTarget> = EventHandler<CompositionEvent, T>;
22
+ export type DragEventHandler<T extends EventTarget> = EventHandler<DragEvent, T>;
23
+ export type FocusEventHandler<T extends EventTarget> = EventHandler<FocusEvent, T>;
24
+ export type FormEventHandler<T extends EventTarget> = EventHandler<Event, T>;
25
+ export type ChangeEventHandler<T extends EventTarget> = EventHandler<Event, T>;
26
+ export type KeyboardEventHandler<T extends EventTarget> = EventHandler<KeyboardEvent, T>;
27
+ export type MouseEventHandler<T extends EventTarget> = EventHandler<MouseEvent, T>;
28
+ export type TouchEventHandler<T extends EventTarget> = EventHandler<TouchEvent, T>;
29
+ export type PointerEventHandler<T extends EventTarget> = EventHandler<PointerEvent, T>;
30
+ export type GamepadEventHandler<T extends EventTarget> = EventHandler<GamepadEvent, T>;
31
+ export type UIEventHandler<T extends EventTarget> = EventHandler<UIEvent, T>;
32
+ export type WheelEventHandler<T extends EventTarget> = EventHandler<WheelEvent, T>;
33
+ export type AnimationEventHandler<T extends EventTarget> = EventHandler<AnimationEvent, T>;
34
+ export type TransitionEventHandler<T extends EventTarget> = EventHandler<TransitionEvent, T>;
35
+ export type MessageEventHandler<T extends EventTarget> = EventHandler<MessageEvent, T>;
36
+ export type ToggleEventHandler<T extends EventTarget> = EventHandler<ToggleEvent, T>;
37
+ export type ContentVisibilityAutoStateChangeEventHandler<T extends EventTarget> = EventHandler<
38
+ ContentVisibilityAutoStateChangeEvent,
39
+ T
40
+ >;
41
+
42
+ type AutoFillExtraField =
43
+ | 'bday'
44
+ | 'cc-additional-name'
45
+ | 'impp'
46
+ | 'language'
47
+ | 'nickname'
48
+ | 'organization-title'
49
+ | 'photo'
50
+ | 'sex'
51
+ | 'url';
52
+
53
+ export type FullAutoFill =
54
+ | AutoFill
55
+ | `${OptionalPrefixToken<AutoFillSection>}${OptionalPrefixToken<AutoFillAddressKind>}${AutoFillExtraField}${OptionalPostfixToken<AutoFillCredentialField>}`;
56
+
57
+ export type ClassValue =
58
+ | string
59
+ | number
60
+ | bigint
61
+ | boolean
62
+ | Nullish
63
+ | ClassValue[]
64
+ | { [name: string]: any };
65
+
66
+ export interface SvelteMediaTimeRange {
67
+ start: number;
68
+ end: number;
69
+ }
70
+
71
+ export type AriaRole =
72
+ | 'alert'
73
+ | 'alertdialog'
74
+ | 'application'
75
+ | 'article'
76
+ | 'banner'
77
+ | 'blockquote'
78
+ | 'button'
79
+ | 'caption'
80
+ | 'cell'
81
+ | 'checkbox'
82
+ | 'code'
83
+ | 'columnheader'
84
+ | 'combobox'
85
+ | 'comment'
86
+ | 'complementary'
87
+ | 'contentinfo'
88
+ | 'definition'
89
+ | 'deletion'
90
+ | 'dialog'
91
+ | 'directory'
92
+ | 'document'
93
+ | 'emphasis'
94
+ | 'feed'
95
+ | 'figure'
96
+ | 'form'
97
+ | 'generic'
98
+ | 'grid'
99
+ | 'gridcell'
100
+ | 'group'
101
+ | 'heading'
102
+ | 'img'
103
+ | 'insertion'
104
+ | 'link'
105
+ | 'list'
106
+ | 'listbox'
107
+ | 'listitem'
108
+ | 'log'
109
+ | 'main'
110
+ | 'mark'
111
+ | 'marquee'
112
+ | 'math'
113
+ | 'menu'
114
+ | 'menubar'
115
+ | 'menuitem'
116
+ | 'menuitemcheckbox'
117
+ | 'menuitemradio'
118
+ | 'meter'
119
+ | 'navigation'
120
+ | 'none'
121
+ | 'note'
122
+ | 'option'
123
+ | 'paragraph'
124
+ | 'presentation'
125
+ | 'progressbar'
126
+ | 'radio'
127
+ | 'radiogroup'
128
+ | 'region'
129
+ | 'row'
130
+ | 'rowgroup'
131
+ | 'rowheader'
132
+ | 'scrollbar'
133
+ | 'search'
134
+ | 'searchbox'
135
+ | 'separator'
136
+ | 'slider'
137
+ | 'spinbutton'
138
+ | 'status'
139
+ | 'strong'
140
+ | 'subscript'
141
+ | 'suggestion'
142
+ | 'superscript'
143
+ | 'switch'
144
+ | 'tab'
145
+ | 'table'
146
+ | 'tablist'
147
+ | 'tabpanel'
148
+ | 'term'
149
+ | 'textbox'
150
+ | 'time'
151
+ | 'timer'
152
+ | 'toolbar'
153
+ | 'tooltip'
154
+ | 'tree'
155
+ | 'treegrid'
156
+ | 'treeitem'
157
+ | (string & {});
158
+
159
+ export interface AriaAttributes {
160
+ 'aria-activedescendant'?: string | Nullish;
161
+ 'aria-atomic'?: Booleanish | Nullish;
162
+ 'aria-autocomplete'?: 'none' | 'inline' | 'list' | 'both' | Nullish;
163
+ 'aria-braillelabel'?: string | Nullish;
164
+ 'aria-brailleroledescription'?: string | Nullish;
165
+ 'aria-busy'?: Booleanish | Nullish;
166
+ 'aria-checked'?: boolean | 'false' | 'mixed' | 'true' | Nullish;
167
+ 'aria-colcount'?: number | Nullish;
168
+ 'aria-colindex'?: number | Nullish;
169
+ 'aria-colindextext'?: string | Nullish;
170
+ 'aria-colspan'?: number | Nullish;
171
+ 'aria-controls'?: string | Nullish;
172
+ 'aria-current'?: Booleanish | 'page' | 'step' | 'location' | 'date' | 'time' | Nullish;
173
+ 'aria-describedby'?: string | Nullish;
174
+ 'aria-description'?: string | Nullish;
175
+ 'aria-details'?: string | Nullish;
176
+ 'aria-disabled'?: Booleanish | Nullish;
177
+ 'aria-dropeffect'?: 'none' | 'copy' | 'execute' | 'link' | 'move' | 'popup' | Nullish;
178
+ 'aria-errormessage'?: string | Nullish;
179
+ 'aria-expanded'?: Booleanish | Nullish;
180
+ 'aria-flowto'?: string | Nullish;
181
+ 'aria-grabbed'?: Booleanish | Nullish;
182
+ 'aria-haspopup'?: Booleanish | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog' | Nullish;
183
+ 'aria-hidden'?: Booleanish | Nullish;
184
+ 'aria-invalid'?: Booleanish | 'grammar' | 'spelling' | Nullish;
185
+ 'aria-keyshortcuts'?: string | Nullish;
186
+ 'aria-label'?: string | Nullish;
187
+ 'aria-labelledby'?: string | Nullish;
188
+ 'aria-level'?: number | Nullish;
189
+ 'aria-live'?: 'off' | 'assertive' | 'polite' | Nullish;
190
+ 'aria-modal'?: Booleanish | Nullish;
191
+ 'aria-multiline'?: Booleanish | Nullish;
192
+ 'aria-multiselectable'?: Booleanish | Nullish;
193
+ 'aria-orientation'?: 'horizontal' | 'vertical' | Nullish;
194
+ 'aria-owns'?: string | Nullish;
195
+ 'aria-placeholder'?: string | Nullish;
196
+ 'aria-posinset'?: number | Nullish;
197
+ 'aria-pressed'?: boolean | 'false' | 'mixed' | 'true' | Nullish;
198
+ 'aria-readonly'?: Booleanish | Nullish;
199
+ 'aria-relevant'?:
200
+ | 'additions'
201
+ | 'additions removals'
202
+ | 'additions text'
203
+ | 'all'
204
+ | 'removals'
205
+ | 'removals additions'
206
+ | 'removals text'
207
+ | 'text'
208
+ | 'text additions'
209
+ | 'text removals'
210
+ | Nullish;
211
+ 'aria-required'?: Booleanish | Nullish;
212
+ 'aria-roledescription'?: string | Nullish;
213
+ 'aria-rowcount'?: number | Nullish;
214
+ 'aria-rowindex'?: number | Nullish;
215
+ 'aria-rowindextext'?: string | Nullish;
216
+ 'aria-rowspan'?: number | Nullish;
217
+ 'aria-selected'?: Booleanish | Nullish;
218
+ 'aria-setsize'?: number | Nullish;
219
+ 'aria-sort'?: 'none' | 'ascending' | 'descending' | 'other' | Nullish;
220
+ 'aria-valuemax'?: number | Nullish;
221
+ 'aria-valuemin'?: number | Nullish;
222
+ 'aria-valuenow'?: number | Nullish;
223
+ 'aria-valuetext'?: string | Nullish;
224
+ }
225
+
226
+ type ElementBindings = {
227
+ readonly 'bind:clientWidth'?: number | Nullish;
228
+ readonly 'bind:clientHeight'?: number | Nullish;
229
+ readonly 'bind:offsetWidth'?: number | Nullish;
230
+ readonly 'bind:offsetHeight'?: number | Nullish;
231
+ readonly 'bind:contentRect'?: DOMRectReadOnly | Nullish;
232
+ readonly 'bind:contentBoxSize'?: Array<ResizeObserverSize> | Nullish;
233
+ readonly 'bind:borderBoxSize'?: Array<ResizeObserverSize> | Nullish;
234
+ readonly 'bind:devicePixelContentBoxSize'?: Array<ResizeObserverSize> | Nullish;
235
+ readonly 'bind:focused'?: boolean | Nullish;
236
+ 'bind:innerHTML'?: string | Nullish;
237
+ 'bind:innerText'?: string | Nullish;
238
+ 'bind:textContent'?: string | Nullish;
239
+ };
240
+
241
+ interface TransitionEventMap {
242
+ introstart: CustomEvent<null>;
243
+ introend: CustomEvent<null>;
244
+ outrostart: CustomEvent<null>;
245
+ outroend: CustomEvent<null>;
246
+ }
247
+
248
+ export interface DOMAttributes<T extends EventTarget> extends Handlers<
249
+ HTMLElementEventMap & TransitionEventMap,
250
+ T
251
+ > {
252
+ children?: Snippet;
253
+ [key: symbol]: Attachment<T> | false | Nullish;
254
+ }
255
+
256
+ export interface HTMLAttributes<T extends EventTarget>
257
+ extends AriaAttributes, DOMAttributes<T>, ElementBindings {
258
+ accesskey?: string | Nullish;
259
+ autocapitalize?: 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters' | Nullish;
260
+ autocorrect?: 'on' | 'off' | '' | Nullish;
261
+ autofocus?: boolean | Nullish;
262
+ class?: ClassValue | Nullish;
263
+ contenteditable?: Booleanish | 'inherit' | 'plaintext-only' | Nullish;
264
+ contextmenu?: string | Nullish;
265
+ dir?: 'ltr' | 'rtl' | 'auto' | Nullish;
266
+ draggable?: Booleanish | Nullish;
267
+ enterkeyhint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send' | Nullish;
268
+ exportparts?: string | Nullish;
269
+ hidden?: boolean | 'until-found' | Nullish;
270
+ id?: string | Nullish;
271
+ inert?: boolean | Nullish;
272
+ inputmode?:
273
+ | 'none'
274
+ | 'text'
275
+ | 'tel'
276
+ | 'url'
277
+ | 'email'
278
+ | 'numeric'
279
+ | 'decimal'
280
+ | 'search'
281
+ | Nullish;
282
+ is?: string | Nullish;
283
+ itemid?: string | Nullish;
284
+ itemprop?: string | Nullish;
285
+ itemref?: string | Nullish;
286
+ itemscope?: boolean | Nullish;
287
+ itemtype?: string | Nullish;
288
+ lang?: string | Nullish;
289
+ nonce?: string | Nullish;
290
+ part?: string | Nullish;
291
+ popover?: 'auto' | 'manual' | 'hint' | '' | boolean | Nullish;
292
+ role?: AriaRole | Nullish;
293
+ slot?: string | Nullish;
294
+ spellcheck?: Booleanish | Nullish;
295
+ style?: string | Nullish;
296
+ tabindex?: number | Nullish;
297
+ title?: string | Nullish;
298
+ translate?: 'yes' | 'no' | '' | Nullish;
299
+ writingsuggestions?: Booleanish | Nullish;
300
+
301
+ about?: string | Nullish;
302
+ datatype?: string | Nullish;
303
+ inlist?: any;
304
+ prefix?: string | Nullish;
305
+ property?: string | Nullish;
306
+ resource?: string | Nullish;
307
+ typeof?: string | Nullish;
308
+ vocab?: string | Nullish;
309
+
310
+ [key: `data-${string}`]: any;
311
+ }
312
+
313
+ export type HTMLAttributeAnchorTarget = '_self' | '_blank' | '_parent' | '_top' | (string & {});
314
+
315
+ type ReferrerPolicyValue = ReferrerPolicy | Nullish;
316
+
317
+ type CrossOrigin = 'anonymous' | 'use-credentials' | '' | true | Nullish;
318
+
319
+ type FetchPriority = 'high' | 'low' | 'auto' | Nullish;
320
+
321
+ type FormMethod = 'get' | 'post' | 'dialog' | 'GET' | 'POST' | 'DIALOG' | Nullish;
322
+
323
+ type FormEncoding =
324
+ | 'application/x-www-form-urlencoded'
325
+ | 'multipart/form-data'
326
+ | 'text/plain'
327
+ | (string & {})
328
+ | Nullish;
329
+
330
+ type Shape = 'circle' | 'default' | 'poly' | 'rect' | Nullish;
331
+
332
+ export interface HTMLAnchorAttributes extends HTMLAttributes<HTMLAnchorElement> {
333
+ download?: any;
334
+ href?: string | Nullish;
335
+ hreflang?: string | Nullish;
336
+ media?: string | Nullish;
337
+ ping?: string | Nullish;
338
+ referrerpolicy?: ReferrerPolicyValue;
339
+ rel?: string | Nullish;
340
+ target?: HTMLAttributeAnchorTarget | Nullish;
341
+ type?: string | Nullish;
342
+ 'sveltekit:noscroll'?: true | '' | 'off' | Nullish;
343
+ 'sveltekit:prefetch'?: true | '' | 'off' | Nullish;
344
+ 'data-sveltekit-keepfocus'?: true | '' | 'off' | Nullish;
345
+ 'data-sveltekit-noscroll'?: true | '' | 'off' | Nullish;
346
+ 'data-sveltekit-preload-code'?:
347
+ | true
348
+ | ''
349
+ | 'eager'
350
+ | 'viewport'
351
+ | 'hover'
352
+ | 'tap'
353
+ | 'off'
354
+ | Nullish;
355
+ 'data-sveltekit-preload-data'?: true | '' | 'hover' | 'tap' | 'off' | Nullish;
356
+ 'data-sveltekit-reload'?: true | '' | 'off' | Nullish;
357
+ 'data-sveltekit-replacestate'?: true | '' | 'off' | Nullish;
358
+ }
359
+
360
+ export interface HTMLAreaAttributes extends HTMLAttributes<HTMLAreaElement> {
361
+ alt?: string | Nullish;
362
+ coords?: string | Nullish;
363
+ download?: any;
364
+ href?: string | Nullish;
365
+ hreflang?: string | Nullish;
366
+ media?: string | Nullish;
367
+ ping?: string | Nullish;
368
+ referrerpolicy?: ReferrerPolicyValue;
369
+ rel?: string | Nullish;
370
+ shape?: Shape;
371
+ target?: HTMLAttributeAnchorTarget | Nullish;
372
+ }
373
+
374
+ export interface HTMLBaseAttributes extends HTMLAttributes<HTMLBaseElement> {
375
+ href?: string | Nullish;
376
+ target?: HTMLAttributeAnchorTarget | Nullish;
377
+ }
378
+
379
+ export interface HTMLBlockquoteAttributes extends HTMLAttributes<HTMLQuoteElement> {
380
+ cite?: string | Nullish;
381
+ }
382
+
383
+ export interface HTMLQuoteAttributes extends HTMLAttributes<HTMLQuoteElement> {
384
+ cite?: string | Nullish;
385
+ }
386
+
387
+ export interface HTMLButtonAttributes extends HTMLAttributes<HTMLButtonElement> {
388
+ command?: string | Nullish;
389
+ commandfor?: string | Nullish;
390
+ disabled?: boolean | Nullish;
391
+ form?: string | Nullish;
392
+ formaction?: string | Nullish;
393
+ formenctype?: FormEncoding;
394
+ formmethod?: FormMethod;
395
+ formnovalidate?: boolean | Nullish;
396
+ formtarget?: string | Nullish;
397
+ name?: string | Nullish;
398
+ popovertarget?: string | Nullish;
399
+ popovertargetaction?: 'toggle' | 'show' | 'hide' | Nullish;
400
+ type?: 'submit' | 'reset' | 'button' | Nullish;
401
+ value?: string | number | string[] | Nullish;
402
+ 'sveltekit:noscroll'?: true | '' | 'off' | Nullish;
403
+ 'data-sveltekit-keepfocus'?: true | '' | 'off' | Nullish;
404
+ 'data-sveltekit-noscroll'?: true | '' | 'off' | Nullish;
405
+ 'data-sveltekit-reload'?: true | '' | 'off' | Nullish;
406
+ 'data-sveltekit-replacestate'?: true | '' | 'off' | Nullish;
407
+ }
408
+
409
+ export interface HTMLCanvasAttributes extends HTMLAttributes<HTMLCanvasElement> {
410
+ height?: Numberish | Nullish;
411
+ width?: Numberish | Nullish;
412
+ }
413
+
414
+ export interface HTMLColAttributes extends HTMLAttributes<HTMLTableColElement> {
415
+ span?: number | Nullish;
416
+ width?: Numberish | Nullish;
417
+ }
418
+
419
+ export interface HTMLColgroupAttributes extends HTMLAttributes<HTMLTableColElement> {
420
+ span?: number | Nullish;
421
+ }
422
+
423
+ export interface HTMLDataAttributes extends HTMLAttributes<HTMLDataElement> {
424
+ value?: string | number | string[] | Nullish;
425
+ }
426
+
427
+ export interface HTMLDetailsAttributes extends HTMLAttributes<HTMLDetailsElement> {
428
+ open?: boolean | Nullish;
429
+ name?: string | Nullish;
430
+ 'bind:open'?: boolean | Nullish;
431
+ }
432
+
433
+ export interface HTMLDelAttributes extends HTMLAttributes<HTMLModElement> {
434
+ cite?: string | Nullish;
435
+ datetime?: string | Nullish;
436
+ }
437
+
438
+ export interface HTMLInsAttributes extends HTMLAttributes<HTMLModElement> {
439
+ cite?: string | Nullish;
440
+ datetime?: string | Nullish;
441
+ }
442
+
443
+ export interface HTMLDialogAttributes extends HTMLAttributes<HTMLDialogElement> {
444
+ closedby?: 'any' | 'closerequest' | 'none' | Nullish;
445
+ open?: boolean | Nullish;
446
+ }
447
+
448
+ export interface HTMLEmbedAttributes extends HTMLAttributes<HTMLEmbedElement> {
449
+ height?: Numberish | Nullish;
450
+ src?: string | Nullish;
451
+ type?: string | Nullish;
452
+ width?: Numberish | Nullish;
453
+ }
454
+
455
+ export interface HTMLFieldsetAttributes extends HTMLAttributes<HTMLFieldSetElement> {
456
+ disabled?: boolean | Nullish;
457
+ form?: string | Nullish;
458
+ name?: string | Nullish;
459
+ }
460
+
461
+ export interface HTMLFormAttributes extends HTMLAttributes<HTMLFormElement> {
462
+ 'accept-charset'?: string | Nullish;
463
+ acceptcharset?: string | Nullish;
464
+ action?: string | Nullish;
465
+ autocomplete?: AutoFillBase | Nullish;
466
+ enctype?: FormEncoding;
467
+ method?: FormMethod;
468
+ name?: string | Nullish;
469
+ novalidate?: boolean | Nullish;
470
+ rel?: string | Nullish;
471
+ target?: string | Nullish;
472
+ 'sveltekit:noscroll'?: true | '' | 'off' | Nullish;
473
+ 'data-sveltekit-keepfocus'?: true | '' | 'off' | Nullish;
474
+ 'data-sveltekit-noscroll'?: true | '' | 'off' | Nullish;
475
+ 'data-sveltekit-reload'?: true | '' | 'off' | Nullish;
476
+ 'data-sveltekit-replacestate'?: true | '' | 'off' | Nullish;
477
+ }
478
+
479
+ export interface HTMLHtmlAttributes extends HTMLAttributes<HTMLHtmlElement> {
480
+ manifest?: string | Nullish;
481
+ xmlns?: string | Nullish;
482
+ }
483
+
484
+ export interface HTMLIframeAttributes extends HTMLAttributes<HTMLIFrameElement> {
485
+ allow?: string | Nullish;
486
+ allowfullscreen?: boolean | Nullish;
487
+ credentialless?: boolean | Nullish;
488
+ csp?: string | Nullish;
489
+ height?: Numberish | Nullish;
490
+ loading?: 'eager' | 'lazy' | Nullish;
491
+ name?: string | Nullish;
492
+ referrerpolicy?: ReferrerPolicyValue;
493
+ sandbox?: string | Nullish;
494
+ src?: string | Nullish;
495
+ srcdoc?: string | Nullish;
496
+ width?: Numberish | Nullish;
497
+ }
498
+
499
+ export interface HTMLImgAttributes extends HTMLAttributes<HTMLImageElement> {
500
+ alt?: string | Nullish;
501
+ crossorigin?: CrossOrigin;
502
+ decoding?: 'async' | 'auto' | 'sync' | Nullish;
503
+ fetchpriority?: FetchPriority;
504
+ height?: Numberish | Nullish;
505
+ ismap?: boolean | Nullish;
506
+ loading?: 'eager' | 'lazy' | Nullish;
507
+ referrerpolicy?: ReferrerPolicyValue;
508
+ sizes?: string | Nullish;
509
+ src?: string | Nullish;
510
+ srcset?: string | Nullish;
511
+ usemap?: string | Nullish;
512
+ width?: Numberish | Nullish;
513
+ readonly 'bind:naturalWidth'?: number | Nullish;
514
+ readonly 'bind:naturalHeight'?: number | Nullish;
515
+ }
516
+
517
+ export type HTMLInputTypeAttribute =
518
+ | 'button'
519
+ | 'checkbox'
520
+ | 'color'
521
+ | 'date'
522
+ | 'datetime-local'
523
+ | 'email'
524
+ | 'file'
525
+ | 'hidden'
526
+ | 'image'
527
+ | 'month'
528
+ | 'number'
529
+ | 'password'
530
+ | 'radio'
531
+ | 'range'
532
+ | 'reset'
533
+ | 'search'
534
+ | 'submit'
535
+ | 'tel'
536
+ | 'text'
537
+ | 'time'
538
+ | 'url'
539
+ | 'week'
540
+ | (string & {});
541
+
542
+ export interface HTMLInputAttributes extends HTMLAttributes<HTMLInputElement> {
543
+ accept?: string | Nullish;
544
+ alpha?: boolean | Nullish;
545
+ alt?: string | Nullish;
546
+ autocomplete?: FullAutoFill | Nullish;
547
+ capture?: boolean | 'user' | 'environment' | Nullish;
548
+ checked?: boolean | Nullish;
549
+ colorspace?: 'limited-srgb' | 'display-p3' | Nullish;
550
+ dirname?: string | Nullish;
551
+ disabled?: boolean | Nullish;
552
+ form?: string | Nullish;
553
+ formaction?: string | Nullish;
554
+ formenctype?: FormEncoding;
555
+ formmethod?: FormMethod;
556
+ formnovalidate?: boolean | Nullish;
557
+ formtarget?: string | Nullish;
558
+ height?: Numberish | Nullish;
559
+ indeterminate?: boolean | Nullish;
560
+ list?: string | Nullish;
561
+ max?: Numberish | Nullish;
562
+ maxlength?: number | Nullish;
563
+ min?: Numberish | Nullish;
564
+ minlength?: number | Nullish;
565
+ multiple?: boolean | Nullish;
566
+ name?: string | Nullish;
567
+ pattern?: string | Nullish;
568
+ placeholder?: string | Nullish;
569
+ popovertarget?: string | Nullish;
570
+ popovertargetaction?: 'toggle' | 'show' | 'hide' | Nullish;
571
+ readonly?: boolean | Nullish;
572
+ required?: boolean | Nullish;
573
+ size?: number | Nullish;
574
+ src?: string | Nullish;
575
+ step?: Numberish | Nullish;
576
+ type?: HTMLInputTypeAttribute | Nullish;
577
+ value?: any;
578
+ width?: Numberish | Nullish;
579
+ webkitdirectory?: boolean | Nullish;
580
+ 'bind:checked'?: boolean | Nullish;
581
+ 'bind:files'?: FileList | Nullish;
582
+ 'bind:group'?: any;
583
+ 'bind:indeterminate'?: boolean | Nullish;
584
+ 'bind:value'?: any;
585
+ }
586
+
587
+ export interface HTMLKeygenAttributes extends HTMLAttributes<HTMLElement> {
588
+ challenge?: string | Nullish;
589
+ disabled?: boolean | Nullish;
590
+ form?: string | Nullish;
591
+ keyparams?: string | Nullish;
592
+ keytype?: string | Nullish;
593
+ name?: string | Nullish;
594
+ }
595
+
596
+ export interface HTMLLabelAttributes extends HTMLAttributes<HTMLLabelElement> {
597
+ for?: string | Nullish;
598
+ form?: string | Nullish;
599
+ }
600
+
601
+ export interface HTMLLiAttributes extends HTMLAttributes<HTMLLIElement> {
602
+ value?: number | Nullish;
603
+ }
604
+
605
+ export interface HTMLLinkAttributes extends HTMLAttributes<HTMLLinkElement> {
606
+ as?: string | Nullish;
607
+ blocking?: 'render' | Nullish;
608
+ charset?: string | Nullish;
609
+ color?: string | Nullish;
610
+ crossorigin?: CrossOrigin;
611
+ disabled?: boolean | Nullish;
612
+ fetchpriority?: FetchPriority;
613
+ href?: string | Nullish;
614
+ hreflang?: string | Nullish;
615
+ imagesizes?: string | Nullish;
616
+ imagesrcset?: string | Nullish;
617
+ integrity?: string | Nullish;
618
+ media?: string | Nullish;
619
+ referrerpolicy?: ReferrerPolicyValue;
620
+ rel?: string | Nullish;
621
+ sizes?: string | Nullish;
622
+ type?: string | Nullish;
623
+ }
624
+
625
+ export interface HTMLMapAttributes extends HTMLAttributes<HTMLMapElement> {
626
+ name?: string | Nullish;
627
+ }
628
+
629
+ export interface HTMLMenuAttributes extends HTMLAttributes<HTMLMenuElement> {
630
+ type?: string | Nullish;
631
+ }
632
+
633
+ export interface HTMLMediaAttributes<T extends HTMLMediaElement>
634
+ extends
635
+ Omit<HTMLAttributes<T>, keyof Handlers<HTMLMediaElementEventMap, T>>,
636
+ Handlers<HTMLMediaElementEventMap, T> {
637
+ autoplay?: boolean | Nullish;
638
+ controls?: boolean | Nullish;
639
+ controlslist?:
640
+ | 'nodownload'
641
+ | 'nofullscreen'
642
+ | 'noplaybackrate'
643
+ | 'noremoteplayback'
644
+ | (string & {})
645
+ | Nullish;
646
+ crossorigin?: CrossOrigin;
647
+ currenttime?: number | Nullish;
648
+ defaultmuted?: boolean | Nullish;
649
+ defaultplaybackrate?: number | Nullish;
650
+ disableremoteplayback?: boolean | Nullish;
651
+ loop?: boolean | Nullish;
652
+ mediagroup?: string | Nullish;
653
+ muted?: boolean | Nullish;
654
+ playsinline?: boolean | Nullish;
655
+ preload?: 'auto' | 'none' | 'metadata' | '' | Nullish;
656
+ src?: string | Nullish;
657
+ srcobject?: MediaStream | MediaSource | Blob | Nullish;
658
+ volume?: number | Nullish;
659
+ readonly 'bind:buffered'?: SvelteMediaTimeRange[] | Nullish;
660
+ readonly 'bind:duration'?: number | Nullish;
661
+ readonly 'bind:ended'?: boolean | Nullish;
662
+ readonly 'bind:played'?: SvelteMediaTimeRange[] | Nullish;
663
+ readonly 'bind:readyState'?: 0 | 1 | 2 | 3 | 4 | Nullish;
664
+ readonly 'bind:seekable'?: SvelteMediaTimeRange[] | Nullish;
665
+ readonly 'bind:seeking'?: boolean | Nullish;
666
+ 'bind:currentTime'?: number | Nullish;
667
+ 'bind:muted'?: boolean | Nullish;
668
+ 'bind:paused'?: boolean | Nullish;
669
+ 'bind:playbackRate'?: number | Nullish;
670
+ 'bind:volume'?: number | Nullish;
671
+ }
672
+
673
+ export interface HTMLAudioAttributes extends HTMLMediaAttributes<HTMLAudioElement> {}
674
+
675
+ export interface HTMLVideoAttributes
676
+ extends
677
+ Omit<
678
+ HTMLMediaAttributes<HTMLVideoElement>,
679
+ keyof Handlers<HTMLVideoElementEventMap, HTMLVideoElement>
680
+ >,
681
+ Handlers<HTMLVideoElementEventMap, HTMLVideoElement> {
682
+ disablepictureinpicture?: boolean | Nullish;
683
+ height?: Numberish | Nullish;
684
+ playsinline?: boolean | Nullish;
685
+ poster?: string | Nullish;
686
+ width?: Numberish | Nullish;
687
+ readonly 'bind:videoWidth'?: number | Nullish;
688
+ readonly 'bind:videoHeight'?: number | Nullish;
689
+ }
690
+
691
+ export interface HTMLMetaAttributes extends HTMLAttributes<HTMLMetaElement> {
692
+ charset?: string | Nullish;
693
+ content?: string | Nullish;
694
+ 'http-equiv'?:
695
+ | 'content-security-policy'
696
+ | 'content-type'
697
+ | 'default-style'
698
+ | 'refresh'
699
+ | 'x-ua-compatible'
700
+ | (string & {})
701
+ | Nullish;
702
+ media?: string | Nullish;
703
+ name?: string | Nullish;
704
+ }
705
+
706
+ export interface HTMLMeterAttributes extends HTMLAttributes<HTMLMeterElement> {
707
+ form?: string | Nullish;
708
+ high?: number | Nullish;
709
+ low?: number | Nullish;
710
+ max?: Numberish | Nullish;
711
+ min?: Numberish | Nullish;
712
+ optimum?: number | Nullish;
713
+ value?: string | number | string[] | Nullish;
714
+ }
715
+
716
+ export interface HTMLObjectAttributes extends HTMLAttributes<HTMLObjectElement> {
717
+ data?: string | Nullish;
718
+ form?: string | Nullish;
719
+ height?: Numberish | Nullish;
720
+ name?: string | Nullish;
721
+ type?: string | Nullish;
722
+ usemap?: string | Nullish;
723
+ width?: Numberish | Nullish;
724
+ }
725
+
726
+ export interface HTMLOlAttributes extends HTMLAttributes<HTMLOListElement> {
727
+ reversed?: boolean | Nullish;
728
+ start?: number | Nullish;
729
+ type?: '1' | 'a' | 'A' | 'i' | 'I' | Nullish;
730
+ }
731
+
732
+ export interface HTMLOptgroupAttributes extends HTMLAttributes<HTMLOptGroupElement> {
733
+ disabled?: boolean | Nullish;
734
+ label?: string | Nullish;
735
+ }
736
+
737
+ export interface HTMLOptionAttributes extends HTMLAttributes<HTMLOptionElement> {
738
+ disabled?: boolean | Nullish;
739
+ label?: string | Nullish;
740
+ selected?: boolean | Nullish;
741
+ value?: any;
742
+ }
743
+
744
+ export interface HTMLOutputAttributes extends HTMLAttributes<HTMLOutputElement> {
745
+ for?: string | Nullish;
746
+ form?: string | Nullish;
747
+ name?: string | Nullish;
748
+ }
749
+
750
+ export interface HTMLParamAttributes extends HTMLAttributes<HTMLParamElement> {
751
+ name?: string | Nullish;
752
+ value?: string | number | string[] | Nullish;
753
+ }
754
+
755
+ export interface HTMLProgressAttributes extends HTMLAttributes<HTMLProgressElement> {
756
+ max?: Numberish | Nullish;
757
+ value?: string | number | string[] | Nullish;
758
+ }
759
+
760
+ export interface HTMLSlotAttributes extends HTMLAttributes<HTMLSlotElement> {
761
+ name?: string | Nullish;
762
+ }
763
+
764
+ export interface HTMLScriptAttributes extends HTMLAttributes<HTMLScriptElement> {
765
+ async?: boolean | Nullish;
766
+ blocking?: 'render' | Nullish;
767
+ charset?: string | Nullish;
768
+ crossorigin?: CrossOrigin;
769
+ defer?: boolean | Nullish;
770
+ fetchpriority?: FetchPriority;
771
+ integrity?: string | Nullish;
772
+ nomodule?: boolean | Nullish;
773
+ referrerpolicy?: ReferrerPolicyValue;
774
+ src?: string | Nullish;
775
+ type?: string | Nullish;
776
+ }
777
+
778
+ export interface HTMLSelectAttributes extends HTMLAttributes<HTMLSelectElement> {
779
+ autocomplete?: FullAutoFill | Nullish;
780
+ disabled?: boolean | Nullish;
781
+ form?: string | Nullish;
782
+ multiple?: boolean | Nullish;
783
+ name?: string | Nullish;
784
+ required?: boolean | Nullish;
785
+ size?: number | Nullish;
786
+ value?: any;
787
+ 'bind:value'?: any;
788
+ }
789
+
790
+ export interface HTMLSourceAttributes extends HTMLAttributes<HTMLSourceElement> {
791
+ height?: Numberish | Nullish;
792
+ media?: string | Nullish;
793
+ sizes?: string | Nullish;
794
+ src?: string | Nullish;
795
+ srcset?: string | Nullish;
796
+ type?: string | Nullish;
797
+ width?: Numberish | Nullish;
798
+ }
799
+
800
+ export interface HTMLStyleAttributes extends HTMLAttributes<HTMLStyleElement> {
801
+ blocking?: 'render' | Nullish;
802
+ media?: string | Nullish;
803
+ type?: string | Nullish;
804
+ }
805
+
806
+ export interface HTMLTableAttributes extends HTMLAttributes<HTMLTableElement> {
807
+ align?: 'left' | 'center' | 'right' | Nullish;
808
+ bgcolor?: string | Nullish;
809
+ border?: number | Nullish;
810
+ cellpadding?: Numberish | Nullish;
811
+ cellspacing?: Numberish | Nullish;
812
+ frame?: boolean | Nullish;
813
+ rules?: 'none' | 'groups' | 'rows' | 'columns' | 'all' | Nullish;
814
+ summary?: string | Nullish;
815
+ width?: Numberish | Nullish;
816
+ }
817
+
818
+ export interface HTMLTdAttributes extends HTMLAttributes<HTMLTableCellElement> {
819
+ abbr?: string | Nullish;
820
+ align?: 'left' | 'center' | 'right' | 'justify' | 'char' | Nullish;
821
+ colspan?: number | Nullish;
822
+ headers?: string | Nullish;
823
+ height?: Numberish | Nullish;
824
+ rowspan?: number | Nullish;
825
+ scope?: string | Nullish;
826
+ valign?: 'top' | 'middle' | 'bottom' | 'baseline' | Nullish;
827
+ width?: Numberish | Nullish;
828
+ }
829
+
830
+ export interface HTMLThAttributes extends HTMLAttributes<HTMLTableCellElement> {
831
+ abbr?: string | Nullish;
832
+ align?: 'left' | 'center' | 'right' | 'justify' | 'char' | Nullish;
833
+ colspan?: number | Nullish;
834
+ headers?: string | Nullish;
835
+ rowspan?: number | Nullish;
836
+ scope?: 'row' | 'col' | 'rowgroup' | 'colgroup' | (string & {}) | Nullish;
837
+ }
838
+
839
+ export interface HTMLTemplateAttributes extends HTMLAttributes<HTMLTemplateElement> {
840
+ shadowrootclonable?: boolean | Nullish;
841
+ shadowrootdelegatesfocus?: boolean | Nullish;
842
+ shadowrootmode?: 'open' | 'closed' | Nullish;
843
+ shadowrootserializable?: boolean | Nullish;
844
+ }
845
+
846
+ export interface HTMLTextareaAttributes extends HTMLAttributes<HTMLTextAreaElement> {
847
+ autocomplete?: FullAutoFill | Nullish;
848
+ cols?: number | Nullish;
849
+ dirname?: string | Nullish;
850
+ disabled?: boolean | Nullish;
851
+ form?: string | Nullish;
852
+ maxlength?: number | Nullish;
853
+ minlength?: number | Nullish;
854
+ name?: string | Nullish;
855
+ placeholder?: string | Nullish;
856
+ readonly?: boolean | Nullish;
857
+ required?: boolean | Nullish;
858
+ rows?: number | Nullish;
859
+ value?: any;
860
+ wrap?: 'hard' | 'soft' | 'off' | Nullish;
861
+ 'bind:value'?: any;
862
+ }
863
+
864
+ export interface HTMLTimeAttributes extends HTMLAttributes<HTMLTimeElement> {
865
+ datetime?: string | Nullish;
866
+ }
867
+
868
+ export interface HTMLTrackAttributes extends HTMLAttributes<HTMLTrackElement> {
869
+ default?: boolean | Nullish;
870
+ kind?: 'subtitles' | 'captions' | 'descriptions' | 'chapters' | 'metadata' | Nullish;
871
+ label?: string | Nullish;
872
+ src?: string | Nullish;
873
+ srclang?: string | Nullish;
874
+ }
875
+
876
+ export interface SvelteWindowAttributes extends Handlers<WindowEventMap, Window> {
877
+ readonly 'bind:innerWidth'?: Window['innerWidth'] | Nullish;
878
+ readonly 'bind:innerHeight'?: Window['innerHeight'] | Nullish;
879
+ readonly 'bind:outerWidth'?: Window['outerWidth'] | Nullish;
880
+ readonly 'bind:outerHeight'?: Window['outerHeight'] | Nullish;
881
+ readonly 'bind:devicePixelRatio'?: Window['devicePixelRatio'] | Nullish;
882
+ readonly 'bind:online'?: Window['navigator']['onLine'] | Nullish;
883
+ 'bind:scrollX'?: Window['scrollX'] | Nullish;
884
+ 'bind:scrollY'?: Window['scrollY'] | Nullish;
885
+ }
886
+
887
+ export interface SvelteDocumentAttributes extends Handlers<DocumentEventMap, Document> {
888
+ readonly 'bind:activeElement'?: Document['activeElement'] | Nullish;
889
+ readonly 'bind:fullscreenElement'?: Document['fullscreenElement'] | Nullish;
890
+ readonly 'bind:pointerLockElement'?: Document['pointerLockElement'] | Nullish;
891
+ readonly 'bind:visibilityState'?: Document['visibilityState'] | Nullish;
892
+ [key: symbol]: Attachment<Document> | false | Nullish;
893
+ }
894
+
895
+ interface SvelteBoundaryAttributes {
896
+ onerror?: ((error: unknown, reset: () => void) => void) | Nullish;
897
+ failed?: Snippet<[error: unknown, reset: () => void]> | Nullish;
898
+ pending?: Snippet | Nullish;
899
+ children?: Snippet;
900
+ }
901
+
902
+ interface SvelteOptionsAttributes {
903
+ customElement?:
904
+ | string
905
+ | {
906
+ tag?: string;
907
+ shadow?: 'open' | 'none' | ShadowRootInit;
908
+ props?: Record<
909
+ string,
910
+ {
911
+ attribute?: string;
912
+ reflect?: boolean;
913
+ type?: 'Array' | 'Boolean' | 'Number' | 'Object' | 'String';
914
+ }
915
+ >;
916
+ extend?: (base: typeof HTMLElement) => typeof HTMLElement;
917
+ }
918
+ | Nullish;
919
+ namespace?: 'html' | 'svg' | 'mathml' | Nullish;
920
+ css?: 'injected' | Nullish;
921
+ runes?: true | Nullish;
922
+ preserveWhitespace?: boolean | Nullish;
923
+ [name: string]: any;
924
+ }
925
+
926
+ export interface SVGAttributes<T extends EventTarget>
927
+ extends
928
+ AriaAttributes,
929
+ Omit<DOMAttributes<T>, keyof Handlers<HTMLElementEventMap, T>>,
930
+ Handlers<SVGElementEventMap, T>,
931
+ ElementBindings {
932
+ class?: ClassValue | Nullish;
933
+ id?: string | Nullish;
934
+ lang?: string | Nullish;
935
+ role?: AriaRole | Nullish;
936
+ style?: string | Nullish;
937
+ tabindex?: number | Nullish;
938
+ autofocus?: boolean | Nullish;
939
+ nonce?: string | Nullish;
940
+ part?: string | Nullish;
941
+ slot?: string | Nullish;
942
+ xmlns?: string | Nullish;
943
+ 'xmlns:xlink'?: string | Nullish;
944
+ 'xml:base'?: string | Nullish;
945
+ 'xml:lang'?: string | Nullish;
946
+ 'xml:space'?: 'default' | 'preserve' | Nullish;
947
+
948
+ 'alignment-baseline'?: string | Nullish;
949
+ 'baseline-shift'?: Numberish | Nullish;
950
+ clip?: Numberish | Nullish;
951
+ 'clip-path'?: string | Nullish;
952
+ 'clip-rule'?: 'nonzero' | 'evenodd' | 'inherit' | Nullish;
953
+ color?: string | Nullish;
954
+ 'color-interpolation'?: string | Nullish;
955
+ 'color-interpolation-filters'?: 'auto' | 'sRGB' | 'linearRGB' | 'inherit' | Nullish;
956
+ 'color-profile'?: Numberish | Nullish;
957
+ 'color-rendering'?: Numberish | Nullish;
958
+ cursor?: Numberish | Nullish;
959
+ direction?: Numberish | Nullish;
960
+ display?: Numberish | Nullish;
961
+ 'dominant-baseline'?: Numberish | Nullish;
962
+ 'enable-background'?: Numberish | Nullish;
963
+ fill?: string | Nullish;
964
+ 'fill-opacity'?: Numberish | Nullish;
965
+ 'fill-rule'?: 'nonzero' | 'evenodd' | 'inherit' | Nullish;
966
+ filter?: string | Nullish;
967
+ 'flood-color'?: Numberish | Nullish;
968
+ 'flood-opacity'?: Numberish | Nullish;
969
+ 'font-family'?: string | Nullish;
970
+ 'font-size'?: Numberish | Nullish;
971
+ 'font-size-adjust'?: Numberish | Nullish;
972
+ 'font-stretch'?: Numberish | Nullish;
973
+ 'font-style'?: Numberish | Nullish;
974
+ 'font-variant'?: Numberish | Nullish;
975
+ 'font-weight'?: Numberish | Nullish;
976
+ 'glyph-orientation-horizontal'?: Numberish | Nullish;
977
+ 'glyph-orientation-vertical'?: Numberish | Nullish;
978
+ 'image-rendering'?: Numberish | Nullish;
979
+ kerning?: Numberish | Nullish;
980
+ 'letter-spacing'?: Numberish | Nullish;
981
+ 'lighting-color'?: Numberish | Nullish;
982
+ 'marker-end'?: string | Nullish;
983
+ 'marker-mid'?: string | Nullish;
984
+ 'marker-start'?: string | Nullish;
985
+ mask?: string | Nullish;
986
+ opacity?: Numberish | Nullish;
987
+ overflow?: Numberish | Nullish;
988
+ 'paint-order'?: Numberish | Nullish;
989
+ 'pointer-events'?: Numberish | Nullish;
990
+ 'shape-rendering'?: Numberish | Nullish;
991
+ 'stop-color'?: string | Nullish;
992
+ 'stop-opacity'?: Numberish | Nullish;
993
+ stroke?: string | Nullish;
994
+ 'stroke-dasharray'?: Numberish | Nullish;
995
+ 'stroke-dashoffset'?: Numberish | Nullish;
996
+ 'stroke-linecap'?: 'butt' | 'round' | 'square' | 'inherit' | Nullish;
997
+ 'stroke-linejoin'?: 'arcs' | 'bevel' | 'miter' | 'miter-clip' | 'round' | 'inherit' | Nullish;
998
+ 'stroke-miterlimit'?: Numberish | Nullish;
999
+ 'stroke-opacity'?: Numberish | Nullish;
1000
+ 'stroke-width'?: Numberish | Nullish;
1001
+ 'text-anchor'?: string | Nullish;
1002
+ 'text-decoration'?: Numberish | Nullish;
1003
+ 'text-rendering'?: Numberish | Nullish;
1004
+ transform?: string | Nullish;
1005
+ 'transform-origin'?: string | Nullish;
1006
+ 'unicode-bidi'?: Numberish | Nullish;
1007
+ 'vector-effect'?: Numberish | Nullish;
1008
+ visibility?: Numberish | Nullish;
1009
+ 'word-spacing'?: Numberish | Nullish;
1010
+ 'writing-mode'?: Numberish | Nullish;
1011
+
1012
+ x?: Numberish | Nullish;
1013
+ y?: Numberish | Nullish;
1014
+ x1?: Numberish | Nullish;
1015
+ x2?: Numberish | Nullish;
1016
+ y1?: Numberish | Nullish;
1017
+ y2?: Numberish | Nullish;
1018
+ cx?: Numberish | Nullish;
1019
+ cy?: Numberish | Nullish;
1020
+ r?: Numberish | Nullish;
1021
+ rx?: Numberish | Nullish;
1022
+ ry?: Numberish | Nullish;
1023
+ fx?: Numberish | Nullish;
1024
+ fy?: Numberish | Nullish;
1025
+ fr?: Numberish | Nullish;
1026
+ width?: Numberish | Nullish;
1027
+ height?: Numberish | Nullish;
1028
+ d?: string | Nullish;
1029
+ points?: string | Nullish;
1030
+ pathLength?: Numberish | Nullish;
1031
+ viewBox?: string | Nullish;
1032
+ preserveAspectRatio?: string | Nullish;
1033
+ href?: string | Nullish;
1034
+ target?: string | Nullish;
1035
+ type?: string | Nullish;
1036
+ offset?: Numberish | Nullish;
1037
+ version?: string | Nullish;
1038
+ focusable?: Booleanish | 'auto' | Nullish;
1039
+ requiredExtensions?: Numberish | Nullish;
1040
+ systemLanguage?: Numberish | Nullish;
1041
+ crossorigin?: CrossOrigin;
1042
+ decoding?: 'async' | 'auto' | 'sync' | Nullish;
1043
+ 'xlink:actuate'?: string | Nullish;
1044
+ 'xlink:arcrole'?: string | Nullish;
1045
+ 'xlink:href'?: string | Nullish;
1046
+ 'xlink:role'?: string | Nullish;
1047
+ 'xlink:show'?: string | Nullish;
1048
+ 'xlink:title'?: string | Nullish;
1049
+ 'xlink:type'?: string | Nullish;
1050
+
1051
+ gradientTransform?: string | Nullish;
1052
+ gradientUnits?: string | Nullish;
1053
+ spreadMethod?: string | Nullish;
1054
+ patternContentUnits?: string | Nullish;
1055
+ patternTransform?: Numberish | Nullish;
1056
+ patternUnits?: string | Nullish;
1057
+ markerHeight?: Numberish | Nullish;
1058
+ markerUnits?: Numberish | Nullish;
1059
+ markerWidth?: Numberish | Nullish;
1060
+ orient?: Numberish | Nullish;
1061
+ refX?: Numberish | Nullish;
1062
+ refY?: Numberish | Nullish;
1063
+ maskContentUnits?: Numberish | Nullish;
1064
+ maskUnits?: Numberish | Nullish;
1065
+ clipPathUnits?: Numberish | Nullish;
1066
+ filterUnits?: Numberish | Nullish;
1067
+ primitiveUnits?: Numberish | Nullish;
1068
+
1069
+ in?: string | Nullish;
1070
+ in2?: Numberish | Nullish;
1071
+ result?: string | Nullish;
1072
+ operator?: Numberish | Nullish;
1073
+ mode?: Numberish | Nullish;
1074
+ values?: string | Nullish;
1075
+ stdDeviation?: Numberish | Nullish;
1076
+ dx?: Numberish | Nullish;
1077
+ dy?: Numberish | Nullish;
1078
+ k?: Numberish | Nullish;
1079
+ k1?: Numberish | Nullish;
1080
+ k2?: Numberish | Nullish;
1081
+ k3?: Numberish | Nullish;
1082
+ k4?: Numberish | Nullish;
1083
+ kernelMatrix?: Numberish | Nullish;
1084
+ kernelUnitLength?: Numberish | Nullish;
1085
+ order?: Numberish | Nullish;
1086
+ divisor?: Numberish | Nullish;
1087
+ bias?: Numberish | Nullish;
1088
+ targetX?: Numberish | Nullish;
1089
+ targetY?: Numberish | Nullish;
1090
+ edgeMode?: Numberish | Nullish;
1091
+ preserveAlpha?: Booleanish | Nullish;
1092
+ surfaceScale?: Numberish | Nullish;
1093
+ diffuseConstant?: Numberish | Nullish;
1094
+ specularConstant?: Numberish | Nullish;
1095
+ specularExponent?: Numberish | Nullish;
1096
+ azimuth?: Numberish | Nullish;
1097
+ elevation?: Numberish | Nullish;
1098
+ pointsAtX?: Numberish | Nullish;
1099
+ pointsAtY?: Numberish | Nullish;
1100
+ pointsAtZ?: Numberish | Nullish;
1101
+ z?: Numberish | Nullish;
1102
+ limitingConeAngle?: Numberish | Nullish;
1103
+ scale?: Numberish | Nullish;
1104
+ xChannelSelector?: string | Nullish;
1105
+ yChannelSelector?: string | Nullish;
1106
+ baseFrequency?: Numberish | Nullish;
1107
+ numOctaves?: Numberish | Nullish;
1108
+ seed?: Numberish | Nullish;
1109
+ stitchTiles?: Numberish | Nullish;
1110
+ radius?: Numberish | Nullish;
1111
+ tableValues?: Numberish | Nullish;
1112
+ slope?: Numberish | Nullish;
1113
+ intercept?: Numberish | Nullish;
1114
+ amplitude?: Numberish | Nullish;
1115
+ exponent?: Numberish | Nullish;
1116
+
1117
+ rotate?: Numberish | Nullish;
1118
+ lengthAdjust?: Numberish | Nullish;
1119
+ textLength?: Numberish | Nullish;
1120
+ startOffset?: Numberish | Nullish;
1121
+ method?: string | Nullish;
1122
+ spacing?: Numberish | Nullish;
1123
+ side?: 'left' | 'right' | Nullish;
1124
+ path?: string | Nullish;
1125
+
1126
+ attributeName?: string | Nullish;
1127
+ attributeType?: string | Nullish;
1128
+ additive?: 'replace' | 'sum' | Nullish;
1129
+ accumulate?: 'none' | 'sum' | Nullish;
1130
+ begin?: Numberish | Nullish;
1131
+ end?: Numberish | Nullish;
1132
+ dur?: Numberish | Nullish;
1133
+ min?: Numberish | Nullish;
1134
+ max?: Numberish | Nullish;
1135
+ restart?: 'always' | 'whenNotActive' | 'never' | Nullish;
1136
+ repeatCount?: Numberish | Nullish;
1137
+ repeatDur?: Numberish | Nullish;
1138
+ calcMode?: Numberish | Nullish;
1139
+ keyPoints?: Numberish | Nullish;
1140
+ keySplines?: Numberish | Nullish;
1141
+ keyTimes?: Numberish | Nullish;
1142
+ from?: Numberish | Nullish;
1143
+ to?: Numberish | Nullish;
1144
+ by?: Numberish | Nullish;
1145
+
1146
+ [key: `data-${string}`]: any;
1147
+ }
1148
+
1149
+ type HTMLDefaults = {
1150
+ [K in keyof HTMLElementTagNameMap]: HTMLAttributes<HTMLElementTagNameMap[K]>;
1151
+ };
1152
+
1153
+ type SVGDefaults = {
1154
+ [K in Exclude<keyof SVGElementTagNameMap, keyof HTMLElementTagNameMap>]: SVGAttributes<
1155
+ SVGElementTagNameMap[K]
1156
+ >;
1157
+ };
1158
+
1159
+ export interface SvelteHTMLElements extends HTMLDefaults, SVGDefaults {
1160
+ a: HTMLAnchorAttributes;
1161
+ area: HTMLAreaAttributes;
1162
+ audio: HTMLAudioAttributes;
1163
+ base: HTMLBaseAttributes;
1164
+ big: HTMLAttributes<HTMLElement>;
1165
+ blockquote: HTMLBlockquoteAttributes;
1166
+ button: HTMLButtonAttributes;
1167
+ canvas: HTMLCanvasAttributes;
1168
+ col: HTMLColAttributes;
1169
+ colgroup: HTMLColgroupAttributes;
1170
+ data: HTMLDataAttributes;
1171
+ del: HTMLDelAttributes;
1172
+ details: HTMLDetailsAttributes;
1173
+ dialog: HTMLDialogAttributes;
1174
+ embed: HTMLEmbedAttributes;
1175
+ fieldset: HTMLFieldsetAttributes;
1176
+ form: HTMLFormAttributes;
1177
+ html: HTMLHtmlAttributes;
1178
+ iframe: HTMLIframeAttributes;
1179
+ img: HTMLImgAttributes;
1180
+ input: HTMLInputAttributes;
1181
+ ins: HTMLInsAttributes;
1182
+ keygen: HTMLKeygenAttributes;
1183
+ label: HTMLLabelAttributes;
1184
+ li: HTMLLiAttributes;
1185
+ link: HTMLLinkAttributes;
1186
+ map: HTMLMapAttributes;
1187
+ menu: HTMLMenuAttributes;
1188
+ meta: HTMLMetaAttributes;
1189
+ meter: HTMLMeterAttributes;
1190
+ object: HTMLObjectAttributes;
1191
+ ol: HTMLOlAttributes;
1192
+ optgroup: HTMLOptgroupAttributes;
1193
+ option: HTMLOptionAttributes;
1194
+ output: HTMLOutputAttributes;
1195
+ param: HTMLParamAttributes;
1196
+ progress: HTMLProgressAttributes;
1197
+ q: HTMLQuoteAttributes;
1198
+ script: HTMLScriptAttributes;
1199
+ select: HTMLSelectAttributes;
1200
+ slot: HTMLSlotAttributes;
1201
+ source: HTMLSourceAttributes;
1202
+ style: HTMLStyleAttributes;
1203
+ table: HTMLTableAttributes;
1204
+ td: HTMLTdAttributes;
1205
+ template: HTMLTemplateAttributes;
1206
+ textarea: HTMLTextareaAttributes;
1207
+ th: HTMLThAttributes;
1208
+ time: HTMLTimeAttributes;
1209
+ track: HTMLTrackAttributes;
1210
+ video: HTMLVideoAttributes;
1211
+
1212
+ 'svelte:window': SvelteWindowAttributes;
1213
+ 'svelte:document': SvelteDocumentAttributes;
1214
+ 'svelte:body': HTMLAttributes<HTMLElement>;
1215
+ 'svelte:boundary': SvelteBoundaryAttributes;
1216
+ 'svelte:head': { [name: string]: never };
1217
+ 'svelte:options': SvelteOptionsAttributes;
1218
+
1219
+ [name: string]: { [name: string]: any };
1220
+ }