@noego/trust 0.5.0-dev.0 → 0.5.0-dev.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 (142) hide show
  1. package/README.md +44 -9
  2. package/dist/{baseline-B0AplCuF.d.ts → baseline-Bkav9mS0.d.ts} +22 -4
  3. package/dist/{chunk-V72KWVWP.js → chunk-7PY2Q6OX.js} +212 -16
  4. package/dist/chunk-7PY2Q6OX.js.map +1 -0
  5. package/dist/{chunk-NG4KYWVW.js → chunk-UG6D3V4M.js} +877 -41
  6. package/dist/chunk-UG6D3V4M.js.map +1 -0
  7. package/dist/{chunk-OSSITT3R.js → chunk-XXLWC5DB.js} +17 -61
  8. package/dist/chunk-XXLWC5DB.js.map +1 -0
  9. package/dist/cli/index.js +341 -92
  10. package/dist/cli/index.js.map +1 -1
  11. package/dist/cli/wasm-worker.js +257 -0
  12. package/dist/cli/wasm-worker.js.map +1 -0
  13. package/dist/core/index.d.ts +5 -3
  14. package/dist/core/index.js +7 -7
  15. package/dist/eslint/index.d.ts +6 -2
  16. package/dist/eslint/index.js +2 -2
  17. package/dist/licenses/@jridgewell__resolve-uri/LICENSE +19 -0
  18. package/dist/licenses/@jridgewell__sourcemap-codec/LICENSE +19 -0
  19. package/dist/licenses/@jridgewell__trace-mapping/LICENSE +19 -0
  20. package/dist/licenses/JS-DEPENDENCIES.json +83 -0
  21. package/dist/licenses/balanced-match/LICENSE.md +23 -0
  22. package/dist/licenses/brace-expansion/LICENSE +23 -0
  23. package/dist/licenses/dedent-js/LICENSE +19 -0
  24. package/dist/licenses/minimatch/LICENSE.md +55 -0
  25. package/dist/licenses/scule/LICENSE +21 -0
  26. package/dist/licenses/svelte2tsx/LICENSE +21 -0
  27. package/dist/native/licenses/CARGO-DEPENDENCIES.json +479 -0
  28. package/dist/native/licenses/LICENSE-trust.txt +15 -0
  29. package/dist/native/licenses/cargo/adler2-2.0.1/LICENSE-0BSD +12 -0
  30. package/dist/native/licenses/cargo/adler2-2.0.1/LICENSE-APACHE +201 -0
  31. package/dist/native/licenses/cargo/adler2-2.0.1/LICENSE-MIT +23 -0
  32. package/dist/native/licenses/cargo/aho-corasick-1.1.5/COPYING +3 -0
  33. package/dist/native/licenses/cargo/aho-corasick-1.1.5/LICENSE-MIT +21 -0
  34. package/dist/native/licenses/cargo/autocfg-1.5.1/LICENSE-APACHE +201 -0
  35. package/dist/native/licenses/cargo/autocfg-1.5.1/LICENSE-MIT +25 -0
  36. package/dist/native/licenses/cargo/bitflags-1.3.2/LICENSE-APACHE +201 -0
  37. package/dist/native/licenses/cargo/bitflags-1.3.2/LICENSE-MIT +25 -0
  38. package/dist/native/licenses/cargo/bstr-1.13.1/COPYING +8 -0
  39. package/dist/native/licenses/cargo/bstr-1.13.1/LICENSE-APACHE +201 -0
  40. package/dist/native/licenses/cargo/bstr-1.13.1/LICENSE-MIT +21 -0
  41. package/dist/native/licenses/cargo/bumpalo-3.20.3/LICENSE-APACHE +201 -0
  42. package/dist/native/licenses/cargo/bumpalo-3.20.3/LICENSE-MIT +25 -0
  43. package/dist/native/licenses/cargo/cfg-if-1.0.5/LICENSE-APACHE +201 -0
  44. package/dist/native/licenses/cargo/cfg-if-1.0.5/LICENSE-MIT +25 -0
  45. package/dist/native/licenses/cargo/crc32fast-1.5.2/LICENSE-APACHE +202 -0
  46. package/dist/native/licenses/cargo/crc32fast-1.5.2/LICENSE-MIT +21 -0
  47. package/dist/native/licenses/cargo/defmt-1.1.1/LICENSE-APACHE +201 -0
  48. package/dist/native/licenses/cargo/defmt-1.1.1/LICENSE-MIT +25 -0
  49. package/dist/native/licenses/cargo/defmt-macros-1.1.1/LICENSE-APACHE +201 -0
  50. package/dist/native/licenses/cargo/defmt-macros-1.1.1/LICENSE-MIT +25 -0
  51. package/dist/native/licenses/cargo/equivalent-1.0.2/LICENSE-APACHE +201 -0
  52. package/dist/native/licenses/cargo/equivalent-1.0.2/LICENSE-MIT +25 -0
  53. package/dist/native/licenses/cargo/flate2-1.1.10/LICENSE-APACHE +201 -0
  54. package/dist/native/licenses/cargo/flate2-1.1.10/LICENSE-MIT +25 -0
  55. package/dist/native/licenses/cargo/globset-0.4.20/COPYING +3 -0
  56. package/dist/native/licenses/cargo/globset-0.4.20/LICENSE-MIT +21 -0
  57. package/dist/native/licenses/cargo/hashbrown-0.17.1/LICENSE-APACHE +201 -0
  58. package/dist/native/licenses/cargo/hashbrown-0.17.1/LICENSE-MIT +25 -0
  59. package/dist/native/licenses/cargo/indexmap-2.14.0/LICENSE-APACHE +201 -0
  60. package/dist/native/licenses/cargo/indexmap-2.14.0/LICENSE-MIT +25 -0
  61. package/dist/native/licenses/cargo/itoa-1.0.18/LICENSE-APACHE +176 -0
  62. package/dist/native/licenses/cargo/itoa-1.0.18/LICENSE-MIT +23 -0
  63. package/dist/native/licenses/cargo/jiff-0.2.37/COPYING +3 -0
  64. package/dist/native/licenses/cargo/jiff-0.2.37/LICENSE-MIT +21 -0
  65. package/dist/native/licenses/cargo/jiff-core-0.1.1/COPYING +3 -0
  66. package/dist/native/licenses/cargo/jiff-core-0.1.1/LICENSE-MIT +21 -0
  67. package/dist/native/licenses/cargo/jiff-tzdb-0.1.9/COPYING +3 -0
  68. package/dist/native/licenses/cargo/jiff-tzdb-0.1.9/LICENSE-MIT +21 -0
  69. package/dist/native/licenses/cargo/jiff-tzdb-platform-0.1.3/COPYING +3 -0
  70. package/dist/native/licenses/cargo/jiff-tzdb-platform-0.1.3/LICENSE-MIT +21 -0
  71. package/dist/native/licenses/cargo/log-0.4.34/LICENSE-APACHE +201 -0
  72. package/dist/native/licenses/cargo/log-0.4.34/LICENSE-MIT +25 -0
  73. package/dist/native/licenses/cargo/lzma-rust2-0.21.0/LICENSE +201 -0
  74. package/dist/native/licenses/cargo/memchr-2.8.2/COPYING +3 -0
  75. package/dist/native/licenses/cargo/memchr-2.8.2/LICENSE-MIT +21 -0
  76. package/dist/native/licenses/cargo/miniz_oxide-0.9.1/LICENSE +25 -0
  77. package/dist/native/licenses/cargo/miniz_oxide-0.9.1/LICENSE-APACHE.md +177 -0
  78. package/dist/native/licenses/cargo/miniz_oxide-0.9.1/LICENSE-MIT.md +24 -0
  79. package/dist/native/licenses/cargo/miniz_oxide-0.9.1/LICENSE-ZLIB.md +14 -0
  80. package/dist/native/licenses/cargo/num-bigint-0.4.6/LICENSE-APACHE +201 -0
  81. package/dist/native/licenses/cargo/num-bigint-0.4.6/LICENSE-MIT +25 -0
  82. package/dist/native/licenses/cargo/num-integer-0.1.47/LICENSE-APACHE +201 -0
  83. package/dist/native/licenses/cargo/num-integer-0.1.47/LICENSE-MIT +25 -0
  84. package/dist/native/licenses/cargo/num-traits-0.2.19/LICENSE-APACHE +201 -0
  85. package/dist/native/licenses/cargo/num-traits-0.2.19/LICENSE-MIT +25 -0
  86. package/dist/native/licenses/cargo/proc-macro2-1.0.107/LICENSE-APACHE +176 -0
  87. package/dist/native/licenses/cargo/proc-macro2-1.0.107/LICENSE-MIT +23 -0
  88. package/dist/native/licenses/cargo/quote-1.0.47/LICENSE-APACHE +176 -0
  89. package/dist/native/licenses/cargo/quote-1.0.47/LICENSE-MIT +23 -0
  90. package/dist/native/licenses/cargo/regex-automata-0.4.18/LICENSE-APACHE +201 -0
  91. package/dist/native/licenses/cargo/regex-automata-0.4.18/LICENSE-MIT +25 -0
  92. package/dist/native/licenses/cargo/regex-syntax-0.8.11/LICENSE-APACHE +201 -0
  93. package/dist/native/licenses/cargo/regex-syntax-0.8.11/LICENSE-MIT +25 -0
  94. package/dist/native/licenses/cargo/rustc-hash-2.1.2/LICENSE-APACHE +176 -0
  95. package/dist/native/licenses/cargo/rustc-hash-2.1.2/LICENSE-MIT +23 -0
  96. package/dist/native/licenses/cargo/ryu-js-1.0.2/LICENSE-APACHE +176 -0
  97. package/dist/native/licenses/cargo/ryu-js-1.0.2/LICENSE-BOOST +23 -0
  98. package/dist/native/licenses/cargo/serde-1.0.229/LICENSE-APACHE +176 -0
  99. package/dist/native/licenses/cargo/serde-1.0.229/LICENSE-MIT +23 -0
  100. package/dist/native/licenses/cargo/serde_core-1.0.229/LICENSE-APACHE +176 -0
  101. package/dist/native/licenses/cargo/serde_core-1.0.229/LICENSE-MIT +23 -0
  102. package/dist/native/licenses/cargo/serde_derive-1.0.229/LICENSE-APACHE +176 -0
  103. package/dist/native/licenses/cargo/serde_derive-1.0.229/LICENSE-MIT +23 -0
  104. package/dist/native/licenses/cargo/serde_json-1.0.152/LICENSE-APACHE +176 -0
  105. package/dist/native/licenses/cargo/serde_json-1.0.152/LICENSE-MIT +23 -0
  106. package/dist/native/licenses/cargo/simd-adler32-0.3.10/LICENSE.md +21 -0
  107. package/dist/native/licenses/cargo/smallvec-1.15.1/LICENSE-APACHE +201 -0
  108. package/dist/native/licenses/cargo/smallvec-1.15.1/LICENSE-MIT +25 -0
  109. package/dist/native/licenses/cargo/syn-2.0.119/LICENSE-APACHE +176 -0
  110. package/dist/native/licenses/cargo/syn-2.0.119/LICENSE-MIT +23 -0
  111. package/dist/native/licenses/cargo/syn-3.0.7/LICENSE-APACHE +176 -0
  112. package/dist/native/licenses/cargo/syn-3.0.7/LICENSE-MIT +23 -0
  113. package/dist/native/licenses/cargo/thiserror-2.0.21/LICENSE-APACHE +176 -0
  114. package/dist/native/licenses/cargo/thiserror-2.0.21/LICENSE-MIT +23 -0
  115. package/dist/native/licenses/cargo/thiserror-impl-2.0.21/LICENSE-APACHE +176 -0
  116. package/dist/native/licenses/cargo/thiserror-impl-2.0.21/LICENSE-MIT +23 -0
  117. package/dist/native/licenses/cargo/unicode-ident-1.0.26/LICENSE-APACHE +176 -0
  118. package/dist/native/licenses/cargo/unicode-ident-1.0.26/LICENSE-MIT +23 -0
  119. package/dist/native/licenses/cargo/unicode-ident-1.0.26/LICENSE-UNICODE +39 -0
  120. package/dist/native/licenses/cargo/xxhash-rust-0.8.15/LICENSE +23 -0
  121. package/dist/native/licenses/cargo/zlib-rs-0.6.8/LICENSE +19 -0
  122. package/dist/native/licenses/cargo/zmij-1.0.23/LICENSE-MIT +23 -0
  123. package/dist/native/licenses/ts-rust/LICENSE +21 -0
  124. package/dist/native/licenses/ts-rust/NOTICE.md +53 -0
  125. package/dist/native/licenses/ts-rust/licenses/Go-LICENSE.txt +27 -0
  126. package/dist/native/licenses/ts-rust/licenses/TypeScript-LICENSE.txt +55 -0
  127. package/dist/native/licenses/ts-rust/licenses/TypeScript-NOTICE.txt +405 -0
  128. package/dist/native/licenses/ts-rust/licenses/Unicode-LICENSE.txt +39 -0
  129. package/dist/native/licenses/ts-rust/licenses/vscode-languageserver-node-LICENSE.txt +18 -0
  130. package/dist/native/licenses/typescript/LICENSE.txt +55 -0
  131. package/dist/native/licenses/typescript/ThirdPartyNoticeText.txt +193 -0
  132. package/dist/native/licenses/typescript/manifest.json +105 -0
  133. package/dist/native/trust_native_wasm.wasm +0 -0
  134. package/dist/svelte2tsx/index.cjs +7064 -0
  135. package/dist/svelte2tsx/svelte-jsx-v4.d.ts +230 -0
  136. package/dist/svelte2tsx/svelte-jsx.d.ts +1492 -0
  137. package/dist/svelte2tsx/svelte-shims-v4.d.ts +290 -0
  138. package/dist/svelte2tsx/svelte-shims.d.ts +305 -0
  139. package/package.json +25 -5
  140. package/dist/chunk-NG4KYWVW.js.map +0 -1
  141. package/dist/chunk-OSSITT3R.js.map +0 -1
  142. package/dist/chunk-V72KWVWP.js.map +0 -1
@@ -0,0 +1,1492 @@
1
+ /// <reference lib="dom" />
2
+ // @ts-nocheck
3
+ // nocheck because we don't want to adjust this anymore (only used for Svelte 3)
4
+
5
+ declare namespace svelteHTML {
6
+
7
+ // Every namespace eligible for use needs to implement the following two functions
8
+ /**
9
+ * @internal do not use
10
+ */
11
+ function mapElementTag<K extends keyof ElementTagNameMap>(
12
+ tag: K
13
+ ): ElementTagNameMap[K];
14
+ function mapElementTag<K extends keyof SVGElementTagNameMap>(
15
+ tag: K
16
+ ): SVGElementTagNameMap[K];
17
+ function mapElementTag(
18
+ tag: any
19
+ ): any; // needs to be any because used in context of <svelte:element>
20
+
21
+ /**
22
+ * @internal do not use
23
+ */
24
+ function createElement<Elements extends IntrinsicElements, Key extends keyof Elements>(
25
+ // "undefined | null" because of <svelte:element>
26
+ element: Key | undefined | null, attrs: string extends Key ? import('svelte/elements').HTMLAttributes<any> : Elements[Key]
27
+ ): Key extends keyof ElementTagNameMap ? ElementTagNameMap[Key] : Key extends keyof SVGElementTagNameMap ? SVGElementTagNameMap[Key] : any;
28
+ function createElement<Elements extends IntrinsicElements, Key extends keyof Elements, T>(
29
+ // "undefined | null" because of <svelte:element>
30
+ element: Key | undefined | null, attrsEnhancers: T, attrs: (string extends Key ? import('svelte/elements').HTMLAttributes<any> : Elements[Key]) & T
31
+ ): Key extends keyof ElementTagNameMap ? ElementTagNameMap[Key] : Key extends keyof SVGElementTagNameMap ? SVGElementTagNameMap[Key] : any;
32
+
33
+ // For backwards-compatibility and ease-of-use, in case someone enhanced the typings from import('svelte/elements').HTMLAttributes/SVGAttributes
34
+ interface HTMLAttributes<T extends EventTarget = any> {}
35
+ interface SVGAttributes<T extends EventTarget = any> {}
36
+
37
+ /**
38
+ * @internal do not use
39
+ */
40
+ type EventsWithColon<T> = {[Property in keyof T as Property extends `on${infer Key}` ? `on:${Key}` : Property]?: T[Property] }
41
+ /**
42
+ * @internal do not use
43
+ */
44
+ type HTMLProps<Property extends string, Override> =
45
+ // This omit chain ensures that properties manually defined in the new transformation take precedence
46
+ // over those manually defined in the old, taking precendence over the defaults, to make sth like this possible
47
+ // https://github.com/sveltejs/language-tools/issues/1352#issuecomment-1248627516
48
+ // The AttributeNames Omit is necessary because the old transformation only has HTMLAttributes on which types for all
49
+ // elements are defined, which would silence type errors in the new transformation.
50
+ Omit<
51
+ Omit<import('svelte/elements').SvelteHTMLElements[Property], keyof EventsWithColon<Omit<svelte.JSX.IntrinsicElements[Property & string], svelte.JSX.AttributeNames>>> & EventsWithColon<Omit<svelte.JSX.IntrinsicElements[Property & string], svelte.JSX.AttributeNames>>,
52
+ keyof Override
53
+ > & Override;
54
+ /**
55
+ * @internal do not use
56
+ */
57
+ type RemoveIndex<T> = {
58
+ [ K in keyof T as string extends K ? never : K ] : T[K]
59
+ };
60
+
61
+ // the following type construct makes sure that we can use the new typings while maintaining backwards-compatibility in case someone enhanced the old typings
62
+ interface IntrinsicElements extends Omit<RemoveIndex<svelte.JSX.IntrinsicElements>, keyof RemoveIndex<import('svelte/elements').SvelteHTMLElements>> {
63
+ a: HTMLProps<'a', HTMLAttributes>;
64
+ abbr: HTMLProps<'abbr', HTMLAttributes>;
65
+ address: HTMLProps<'address', HTMLAttributes>;
66
+ area: HTMLProps<'area', HTMLAttributes>;
67
+ article: HTMLProps<'article', HTMLAttributes>;
68
+ aside: HTMLProps<'aside', HTMLAttributes>;
69
+ audio: HTMLProps<'audio', HTMLAttributes>;
70
+ b: HTMLProps<'b', HTMLAttributes>;
71
+ base: HTMLProps<'base', HTMLAttributes>;
72
+ bdi: HTMLProps<'bdi', HTMLAttributes>;
73
+ bdo: HTMLProps<'bdo', HTMLAttributes>;
74
+ big: HTMLProps<'big', HTMLAttributes>;
75
+ blockquote: HTMLProps<'blockquote', HTMLAttributes>;
76
+ body: HTMLProps<'body', HTMLAttributes>;
77
+ br: HTMLProps<'br', HTMLAttributes>;
78
+ button: HTMLProps<'button', HTMLAttributes>;
79
+ canvas: HTMLProps<'canvas', HTMLAttributes>;
80
+ caption: HTMLProps<'caption', HTMLAttributes>;
81
+ cite: HTMLProps<'cite', HTMLAttributes>;
82
+ code: HTMLProps<'code', HTMLAttributes>;
83
+ col: HTMLProps<'col', HTMLAttributes>;
84
+ colgroup: HTMLProps<'colgroup', HTMLAttributes>;
85
+ data: HTMLProps<'data', HTMLAttributes>;
86
+ datalist: HTMLProps<'datalist', HTMLAttributes>;
87
+ dd: HTMLProps<'dd', HTMLAttributes>;
88
+ del: HTMLProps<'del', HTMLAttributes>;
89
+ details: HTMLProps<'details', HTMLAttributes>;
90
+ dfn: HTMLProps<'dfn', HTMLAttributes>;
91
+ dialog: HTMLProps<'dialog', HTMLAttributes>;
92
+ div: HTMLProps<'div', HTMLAttributes>;
93
+ dl: HTMLProps<'dl', HTMLAttributes>;
94
+ dt: HTMLProps<'dt', HTMLAttributes>;
95
+ em: HTMLProps<'em', HTMLAttributes>;
96
+ embed: HTMLProps<'embed', HTMLAttributes>;
97
+ fieldset: HTMLProps<'fieldset', HTMLAttributes>;
98
+ figcaption: HTMLProps<'figcaption', HTMLAttributes>;
99
+ figure: HTMLProps<'figure', HTMLAttributes>;
100
+ footer: HTMLProps<'footer', HTMLAttributes>;
101
+ form: HTMLProps<'form', HTMLAttributes>;
102
+ h1: HTMLProps<'h1', HTMLAttributes>;
103
+ h2: HTMLProps<'h2', HTMLAttributes>;
104
+ h3: HTMLProps<'h3', HTMLAttributes>;
105
+ h4: HTMLProps<'h4', HTMLAttributes>;
106
+ h5: HTMLProps<'h5', HTMLAttributes>;
107
+ h6: HTMLProps<'h6', HTMLAttributes>;
108
+ head: HTMLProps<'head', HTMLAttributes>;
109
+ header: HTMLProps<'header', HTMLAttributes>;
110
+ hgroup: HTMLProps<'hgroup', HTMLAttributes>;
111
+ hr: HTMLProps<'hr', HTMLAttributes>;
112
+ html: HTMLProps<'html', HTMLAttributes>;
113
+ i: HTMLProps<'i', HTMLAttributes>;
114
+ iframe: HTMLProps<'iframe', HTMLAttributes>;
115
+ img: HTMLProps<'img', HTMLAttributes>;
116
+ input: HTMLProps<'input', HTMLAttributes>;
117
+ ins: HTMLProps<'ins', HTMLAttributes>;
118
+ kbd: HTMLProps<'kbd', HTMLAttributes>;
119
+ keygen: HTMLProps<'keygen', HTMLAttributes>;
120
+ label: HTMLProps<'label', HTMLAttributes>;
121
+ legend: HTMLProps<'legend', HTMLAttributes>;
122
+ li: HTMLProps<'li', HTMLAttributes>;
123
+ link: HTMLProps<'link', HTMLAttributes>;
124
+ main: HTMLProps<'main', HTMLAttributes>;
125
+ map: HTMLProps<'map', HTMLAttributes>;
126
+ mark: HTMLProps<'mark', HTMLAttributes>;
127
+ menu: HTMLProps<'menu', HTMLAttributes>;
128
+ menuitem: HTMLProps<'menuitem', HTMLAttributes>;
129
+ meta: HTMLProps<'meta', HTMLAttributes>;
130
+ meter: HTMLProps<'meter', HTMLAttributes>;
131
+ nav: HTMLProps<'nav', HTMLAttributes>;
132
+ noscript: HTMLProps<'noscript', HTMLAttributes>;
133
+ object: HTMLProps<'object', HTMLAttributes>;
134
+ ol: HTMLProps<'ol', HTMLAttributes>;
135
+ optgroup: HTMLProps<'optgroup', HTMLAttributes>;
136
+ option: HTMLProps<'option', HTMLAttributes>;
137
+ output: HTMLProps<'output', HTMLAttributes>;
138
+ p: HTMLProps<'p', HTMLAttributes>;
139
+ param: HTMLProps<'param', HTMLAttributes>;
140
+ picture: HTMLProps<'picture', HTMLAttributes>;
141
+ pre: HTMLProps<'pre', HTMLAttributes>;
142
+ progress: HTMLProps<'progress', HTMLAttributes>;
143
+ q: HTMLProps<'q', HTMLAttributes>;
144
+ rp: HTMLProps<'rp', HTMLAttributes>;
145
+ rt: HTMLProps<'rt', HTMLAttributes>;
146
+ ruby: HTMLProps<'ruby', HTMLAttributes>;
147
+ s: HTMLProps<'s', HTMLAttributes>;
148
+ samp: HTMLProps<'samp', HTMLAttributes>;
149
+ slot: HTMLProps<'slot', HTMLAttributes>;
150
+ script: HTMLProps<'script', HTMLAttributes>;
151
+ section: HTMLProps<'section', HTMLAttributes>;
152
+ select: HTMLProps<'select', HTMLAttributes>;
153
+ small: HTMLProps<'small', HTMLAttributes>;
154
+ source: HTMLProps<'source', HTMLAttributes>;
155
+ span: HTMLProps<'span', HTMLAttributes>;
156
+ strong: HTMLProps<'strong', HTMLAttributes>;
157
+ style: HTMLProps<'style', HTMLAttributes>;
158
+ sub: HTMLProps<'sub', HTMLAttributes>;
159
+ summary: HTMLProps<'summary', HTMLAttributes>;
160
+ sup: HTMLProps<'sup', HTMLAttributes>;
161
+ table: HTMLProps<'table', HTMLAttributes>;
162
+ template: HTMLProps<'template', HTMLAttributes>;
163
+ tbody: HTMLProps<'tbody', HTMLAttributes>;
164
+ td: HTMLProps<'td', HTMLAttributes>;
165
+ textarea: HTMLProps<'textarea', HTMLAttributes>;
166
+ tfoot: HTMLProps<'tfoot', HTMLAttributes>;
167
+ th: HTMLProps<'th', HTMLAttributes>;
168
+ thead: HTMLProps<'thead', HTMLAttributes>;
169
+ time: HTMLProps<'time', HTMLAttributes>;
170
+ title: HTMLProps<'title', HTMLAttributes>;
171
+ tr: HTMLProps<'tr', HTMLAttributes>;
172
+ track: HTMLProps<'track', HTMLAttributes>;
173
+ u: HTMLProps<'u', HTMLAttributes>;
174
+ ul: HTMLProps<'ul', HTMLAttributes>;
175
+ var: HTMLProps<'var', HTMLAttributes>;
176
+ video: HTMLProps<'video', HTMLAttributes>;
177
+ wbr: HTMLProps<'wbr', HTMLAttributes>;
178
+ webview: HTMLProps<'webview', HTMLAttributes>;
179
+ // SVG
180
+ svg: HTMLProps<'svg', SVGAttributes>;
181
+
182
+ animate: HTMLProps<'animate', SVGAttributes>;
183
+ animateMotion: HTMLProps<'animateMotion', SVGAttributes>;
184
+ animateTransform: HTMLProps<'animateTransform', SVGAttributes>;
185
+ circle: HTMLProps<'circle', SVGAttributes>;
186
+ clipPath: HTMLProps<'clipPath', SVGAttributes>;
187
+ defs: HTMLProps<'defs', SVGAttributes>;
188
+ desc: HTMLProps<'desc', SVGAttributes>;
189
+ ellipse: HTMLProps<'ellipse', SVGAttributes>;
190
+ feBlend: HTMLProps<'feBlend', SVGAttributes>;
191
+ feColorMatrix: HTMLProps<'feColorMatrix', SVGAttributes>;
192
+ feComponentTransfer: HTMLProps<'feComponentTransfer', SVGAttributes>;
193
+ feComposite: HTMLProps<'feComposite', SVGAttributes>;
194
+ feConvolveMatrix: HTMLProps<'feConvolveMatrix', SVGAttributes>;
195
+ feDiffuseLighting: HTMLProps<'feDiffuseLighting', SVGAttributes>;
196
+ feDisplacementMap: HTMLProps<'feDisplacementMap', SVGAttributes>;
197
+ feDistantLight: HTMLProps<'feDistantLight', SVGAttributes>;
198
+ feDropShadow: HTMLProps<'feDropShadow', SVGAttributes>;
199
+ feFlood: HTMLProps<'feFlood', SVGAttributes>;
200
+ feFuncA: HTMLProps<'feFuncA', SVGAttributes>;
201
+ feFuncB: HTMLProps<'feFuncB', SVGAttributes>;
202
+ feFuncG: HTMLProps<'feFuncG', SVGAttributes>;
203
+ feFuncR: HTMLProps<'feFuncR', SVGAttributes>;
204
+ feGaussianBlur: HTMLProps<'feGaussianBlur', SVGAttributes>;
205
+ feImage: HTMLProps<'feImage', SVGAttributes>;
206
+ feMerge: HTMLProps<'feMerge', SVGAttributes>;
207
+ feMergeNode: HTMLProps<'feMergeNode', SVGAttributes>;
208
+ feMorphology: HTMLProps<'feMorphology', SVGAttributes>;
209
+ feOffset: HTMLProps<'feOffset', SVGAttributes>;
210
+ fePointLight: HTMLProps<'fePointLight', SVGAttributes>;
211
+ feSpecularLighting: HTMLProps<'feSpecularLighting', SVGAttributes>;
212
+ feSpotLight: HTMLProps<'feSpotLight', SVGAttributes>;
213
+ feTile: HTMLProps<'feTile', SVGAttributes>;
214
+ feTurbulence: HTMLProps<'feTurbulence', SVGAttributes>;
215
+ filter: HTMLProps<'filter', SVGAttributes>;
216
+ foreignObject: HTMLProps<'foreignObject', SVGAttributes>;
217
+ g: HTMLProps<'g', SVGAttributes>;
218
+ image: HTMLProps<'image', SVGAttributes>;
219
+ line: HTMLProps<'line', SVGAttributes>;
220
+ linearGradient: HTMLProps<'linearGradient', SVGAttributes>;
221
+ marker: HTMLProps<'marker', SVGAttributes>;
222
+ mask: HTMLProps<'mask', SVGAttributes>;
223
+ metadata: HTMLProps<'metadata', SVGAttributes>;
224
+ mpath: HTMLProps<'mpath', SVGAttributes>;
225
+ path: HTMLProps<'path', SVGAttributes>;
226
+ pattern: HTMLProps<'pattern', SVGAttributes>;
227
+ polygon: HTMLProps<'polygon', SVGAttributes>;
228
+ polyline: HTMLProps<'polyline', SVGAttributes>;
229
+ radialGradient: HTMLProps<'radialGradient', SVGAttributes>;
230
+ rect: HTMLProps<'rect', SVGAttributes>;
231
+ stop: HTMLProps<'stop', SVGAttributes>;
232
+ switch: HTMLProps<'switch', SVGAttributes>;
233
+ symbol: HTMLProps<'symbol', SVGAttributes>;
234
+ text: HTMLProps<'text', SVGAttributes>;
235
+ textPath: HTMLProps<'textPath', SVGAttributes>;
236
+ tspan: HTMLProps<'tspan', SVGAttributes>;
237
+ use: HTMLProps<'use', SVGAttributes>;
238
+ view: HTMLProps<'view', SVGAttributes>;
239
+
240
+ // Svelte specific
241
+ 'svelte:window': HTMLProps<'svelte:window', HTMLAttributes>;
242
+ 'svelte:body': HTMLProps<'svelte:body', HTMLAttributes>;
243
+ 'svelte:document': HTMLProps<'svelte:document', HTMLAttributes>;
244
+ 'svelte:fragment': { slot?: string };
245
+ 'svelte:options': { [name: string]: any };
246
+ 'svelte:head': { [name: string]: any };
247
+
248
+ [name: string]: { [name: string]: any };
249
+ }
250
+
251
+ }
252
+
253
+ // Keep svelte.JSX for backwards compatibility, in case someone enhanced it with their own typings,
254
+ // which we can transform to the new svelteHTML namespace.
255
+ /**
256
+ * @deprecated use the types from `svelte/elements` instead, or the `svelteHTML` namespace.
257
+ * For more info see https://github.com/sveltejs/language-tools/blob/master/docs/preprocessors/typescript.md#im-getting-deprecation-warnings-for-sveltejsx--i-want-to-migrate-to-the-new-typings
258
+ */
259
+ declare namespace svelte.JSX {
260
+
261
+ /* svelte specific */
262
+ interface ElementClass {
263
+ $$prop_def: any;
264
+ }
265
+
266
+ interface ElementAttributesProperty {
267
+ $$prop_def: any; // specify the property name to use
268
+ }
269
+
270
+ /* html jsx */
271
+
272
+ interface IntrinsicAttributes {
273
+ slot?: string;
274
+ }
275
+
276
+ //
277
+ // Event Handler Types
278
+ // ----------------------------------------------------------------------
279
+ type EventHandler<E extends Event = Event, T extends EventTarget = HTMLElement> =
280
+ (event: E & { currentTarget: EventTarget & T}) => any;
281
+
282
+ type ClipboardEventHandler<T extends EventTarget> = EventHandler<ClipboardEvent, T>;
283
+ type CompositionEventHandler<T extends EventTarget> = EventHandler<CompositionEvent, T>;
284
+ type DragEventHandler<T extends EventTarget> = EventHandler<DragEvent, T>;
285
+ type FocusEventHandler<T extends EventTarget> = EventHandler<FocusEvent, T>;
286
+ type FormEventHandler<T extends EventTarget> = EventHandler<Event, T>;
287
+ type ChangeEventHandler<T extends EventTarget> = EventHandler<Event, T>;
288
+ type KeyboardEventHandler<T extends EventTarget> = EventHandler<KeyboardEvent, T>;
289
+ type MouseEventHandler<T extends EventTarget> = EventHandler<MouseEvent, T>;
290
+ type TouchEventHandler<T extends EventTarget> = EventHandler<TouchEvent, T>;
291
+ type PointerEventHandler<T extends EventTarget> = EventHandler<PointerEvent, T>;
292
+ type UIEventHandler<T extends EventTarget> = EventHandler<UIEvent, T>;
293
+ type WheelEventHandler<T extends EventTarget> = EventHandler<WheelEvent, T>;
294
+ type AnimationEventHandler<T extends EventTarget> = EventHandler<AnimationEvent, T>;
295
+ type TransitionEventHandler<T extends EventTarget> = EventHandler<TransitionEvent, T>;
296
+ type MessageEventHandler<T extends EventTarget> = EventHandler<MessageEvent, T>;
297
+
298
+ /** @deprecated DO NOT USE, WILL BE REMOVED SOON */
299
+ type AttributeNames =
300
+ |'oncopy'
301
+ |'oncut'
302
+ |'onpaste'
303
+ |'oncompositionend'
304
+ |'oncompositionstart'
305
+ |'oncompositionupdate'
306
+ |'onfocus'
307
+ |'onfocusin'
308
+ |'onfocusout'
309
+ |'onblur'
310
+ |'onchange'
311
+ |'oninput'
312
+ |'onreset'
313
+ |'onsubmit'
314
+ |'oninvalid'
315
+ |'onbeforeinput'
316
+ |'onload'
317
+ |'onerror'
318
+ |'ontoggle'
319
+ |'onkeydown'
320
+ |'onkeypress'
321
+ |'onkeyup'
322
+ |'onabort'
323
+ |'oncanplay'
324
+ |'oncanplaythrough'
325
+ |'oncuechange'
326
+ |'ondurationchange'
327
+ |'onemptied'
328
+ |'onencrypted'
329
+ |'onended'
330
+ |'onloadeddata'
331
+ |'onloadedmetadata'
332
+ |'onloadstart'
333
+ |'onpause'
334
+ |'onplay'
335
+ |'onplaying'
336
+ |'onprogress'
337
+ |'onratechange'
338
+ |'onseeked'
339
+ |'onseeking'
340
+ |'onstalled'
341
+ |'onsuspend'
342
+ |'ontimeupdate'
343
+ |'onvolumechange'
344
+ |'onwaiting'
345
+ |'onauxclick'
346
+ |'onclick'
347
+ |'oncontextmenu'
348
+ |'ondblclick'
349
+ |'ondrag'
350
+ |'ondragend'
351
+ |'ondragenter'
352
+ |'ondragexit'
353
+ |'ondragleave'
354
+ |'ondragover'
355
+ |'ondragstart'
356
+ |'ondrop'
357
+ |'onmousedown'
358
+ |'onmouseenter'
359
+ |'onmouseleave'
360
+ |'onmousemove'
361
+ |'onmouseout'
362
+ |'onmouseover'
363
+ |'onmouseup'
364
+ |'onselect'
365
+ |'onselectionchange'
366
+ |'onselectstart'
367
+ |'ontouchcancel'
368
+ |'ontouchend'
369
+ |'ontouchmove'
370
+ |'ontouchstart'
371
+ |'ongotpointercapture'
372
+ |'onpointercancel'
373
+ |'onpointerdown'
374
+ |'onpointerenter'
375
+ |'onpointerleave'
376
+ |'onpointermove'
377
+ |'onpointerout'
378
+ |'onpointerover'
379
+ |'onpointerup'
380
+ |'onlostpointercapture'
381
+ |'onscroll'
382
+ |'onresize'
383
+ |'onwheel'
384
+ |'onanimationstart'
385
+ |'onanimationend'
386
+ |'onanimationiteration'
387
+ |'ontransitionstart'
388
+ |'ontransitionrun'
389
+ |'ontransitionend'
390
+ |'ontransitioncancel'
391
+ |'onoutrostart'
392
+ |'onoutroend'
393
+ |'onintrostart'
394
+ |'onintroend'
395
+ |'onmessage'
396
+ |'onmessageerror'
397
+ |'oncancel'
398
+ |'onclose'
399
+ |'onfullscreenchange'
400
+ |'onfullscreenerror'
401
+ |'class'
402
+ |'dataset'
403
+ |'accept'
404
+ |'acceptcharset'
405
+ |'accesskey'
406
+ |'action'
407
+ |'allow'
408
+ |'allowfullscreen'
409
+ |'allowtransparency'
410
+ |'allowpaymentrequest'
411
+ |'alt'
412
+ |'as'
413
+ |'async'
414
+ |'autocomplete'
415
+ |'autofocus'
416
+ |'autoplay'
417
+ |'capture'
418
+ |'cellpadding'
419
+ |'cellspacing'
420
+ |'charset'
421
+ |'challenge'
422
+ |'checked'
423
+ |'cite'
424
+ |'classid'
425
+ |'cols'
426
+ |'colspan'
427
+ |'content'
428
+ |'contenteditable'
429
+ |'innerHTML'
430
+ |'textContent'
431
+ |'contextmenu'
432
+ |'controls'
433
+ |'coords'
434
+ |'crossorigin'
435
+ |'currenttime'
436
+ |'decoding'
437
+ |'data'
438
+ |'datetime'
439
+ |'default'
440
+ |'defaultmuted'
441
+ |'defaultplaybackrate'
442
+ |'defer'
443
+ |'dir'
444
+ |'dirname'
445
+ |'disabled'
446
+ |'download'
447
+ |'draggable'
448
+ |'enctype'
449
+ |'enterkeyhint'
450
+ |'for'
451
+ |'form'
452
+ |'formaction'
453
+ |'formenctype'
454
+ |'formmethod'
455
+ |'formnovalidate'
456
+ |'formtarget'
457
+ |'frameborder'
458
+ |'headers'
459
+ |'height'
460
+ |'hidden'
461
+ |'high'
462
+ |'href'
463
+ |'hreflang'
464
+ |'htmlfor'
465
+ |'httpequiv'
466
+ |'id'
467
+ |'inputmode'
468
+ |'integrity'
469
+ |'is'
470
+ |'ismap'
471
+ |'keyparams'
472
+ |'keytype'
473
+ |'kind'
474
+ |'label'
475
+ |'lang'
476
+ |'list'
477
+ |'loading'
478
+ |'loop'
479
+ |'low'
480
+ |'manifest'
481
+ |'marginheight'
482
+ |'marginwidth'
483
+ |'max'
484
+ |'maxlength'
485
+ |'media'
486
+ |'mediagroup'
487
+ |'method'
488
+ |'min'
489
+ |'minlength'
490
+ |'multiple'
491
+ |'muted'
492
+ |'name'
493
+ |'nonce'
494
+ |'novalidate'
495
+ |'open'
496
+ |'optimum'
497
+ |'part'
498
+ |'pattern'
499
+ |'placeholder'
500
+ |'playsinline'
501
+ |'ping'
502
+ |'poster'
503
+ |'preload'
504
+ |'radiogroup'
505
+ |'readonly'
506
+ |'referrerpolicy'
507
+ |'rel'
508
+ |'required'
509
+ |'reversed'
510
+ |'role'
511
+ |'rows'
512
+ |'rowspan'
513
+ |'sandbox'
514
+ |'scope'
515
+ |'scoped'
516
+ |'scrolling'
517
+ |'seamless'
518
+ |'selected'
519
+ |'shape'
520
+ |'size'
521
+ |'sizes'
522
+ |'slot'
523
+ |'span'
524
+ |'spellcheck'
525
+ |'src'
526
+ |'srcdoc'
527
+ |'srclang'
528
+ |'srcset'
529
+ |'start'
530
+ |'step'
531
+ |'style'
532
+ |'summary'
533
+ |'tabindex'
534
+ |'target'
535
+ |'title'
536
+ |'translate'
537
+ |'type'
538
+ |'usemap'
539
+ |'value'
540
+ |'volume'
541
+ |'width'
542
+ |'wmode'
543
+ |'wrap'
544
+ |'about'
545
+ |'datatype'
546
+ |'inlist'
547
+ |'prefix'
548
+ |'property'
549
+ |'resource'
550
+ |'typeof'
551
+ |'vocab'
552
+ |'autocapitalize'
553
+ |'autocorrect'
554
+ |'autosave'
555
+ |'color'
556
+ |'controlslist'
557
+ |'inert'
558
+ |'itemprop'
559
+ |'itemscope'
560
+ |'itemtype'
561
+ |'itemid'
562
+ |'itemref'
563
+ |'results'
564
+ |'security'
565
+ |'unselectable';
566
+
567
+ /**
568
+ * @deprecated use the types from `svelte/elements` instead
569
+ * For more info see https://github.com/sveltejs/language-tools/blob/master/docs/preprocessors/typescript.md#im-getting-deprecation-warnings-for-sveltejsx--i-want-to-migrate-to-the-new-typings
570
+ */
571
+ interface DOMAttributes<T extends EventTarget> {
572
+ oncopy?: ClipboardEventHandler<T> | undefined | null;
573
+ oncut?: ClipboardEventHandler<T> | undefined | null;
574
+ onpaste?: ClipboardEventHandler<T> | undefined | null;
575
+ oncompositionend?: CompositionEventHandler<T> | undefined | null;
576
+ oncompositionstart?: CompositionEventHandler<T> | undefined | null;
577
+ oncompositionupdate?: CompositionEventHandler<T> | undefined | null;
578
+ onfocus?: FocusEventHandler<T> | undefined | null;
579
+ onfocusin?: FocusEventHandler<T> | undefined | null;
580
+ onfocusout?: FocusEventHandler<T> | undefined | null;
581
+ onblur?: FocusEventHandler<T> | undefined | null;
582
+ onchange?: FormEventHandler<T> | undefined | null;
583
+ oninput?: FormEventHandler<T> | undefined | null;
584
+ onreset?: FormEventHandler<T> | undefined | null;
585
+ onsubmit?: EventHandler<SubmitEvent, T> | undefined | null;
586
+ oninvalid?: EventHandler<Event, T> | undefined | null;
587
+ onbeforeinput?: EventHandler<InputEvent, T> | undefined | null;
588
+ onload?: EventHandler | undefined | null;
589
+ onerror?: EventHandler | undefined | null; // also a Media Event
590
+ ontoggle?: EventHandler<Event, T> | undefined | null;
591
+ onkeydown?: KeyboardEventHandler<T> | undefined | null;
592
+ onkeypress?: KeyboardEventHandler<T> | undefined | null;
593
+ onkeyup?: KeyboardEventHandler<T> | undefined | null;
594
+ onabort?: EventHandler<Event, T> | undefined | null;
595
+ oncanplay?: EventHandler<Event, T> | undefined | null;
596
+ oncanplaythrough?: EventHandler<Event, T> | undefined | null;
597
+ oncuechange?: EventHandler<Event, T> | undefined | null;
598
+ ondurationchange?: EventHandler<Event, T> | undefined | null;
599
+ onemptied?: EventHandler<Event, T> | undefined | null;
600
+ onencrypted?: EventHandler<Event, T> | undefined | null;
601
+ onended?: EventHandler<Event, T> | undefined | null;
602
+ onloadeddata?: EventHandler<Event, T> | undefined | null;
603
+ onloadedmetadata?: EventHandler<Event, T> | undefined | null;
604
+ onloadstart?: EventHandler<Event, T> | undefined | null;
605
+ onpause?: EventHandler<Event, T> | undefined | null;
606
+ onplay?: EventHandler<Event, T> | undefined | null;
607
+ onplaying?: EventHandler<Event, T> | undefined | null;
608
+ onprogress?: EventHandler<Event, T> | undefined | null;
609
+ onratechange?: EventHandler<Event, T> | undefined | null;
610
+ onseeked?: EventHandler<Event, T> | undefined | null;
611
+ onseeking?: EventHandler<Event, T> | undefined | null;
612
+ onstalled?: EventHandler<Event, T> | undefined | null;
613
+ onsuspend?: EventHandler<Event, T> | undefined | null;
614
+ ontimeupdate?: EventHandler<Event, T> | undefined | null;
615
+ onvolumechange?: EventHandler<Event, T> | undefined | null;
616
+ onwaiting?: EventHandler<Event, T> | undefined | null;
617
+ onauxclick?: MouseEventHandler<T> | undefined | null;
618
+ onclick?: MouseEventHandler<T> | undefined | null;
619
+ oncontextmenu?: MouseEventHandler<T> | undefined | null;
620
+ ondblclick?: MouseEventHandler<T> | undefined | null;
621
+ ondrag?: DragEventHandler<T> | undefined | null;
622
+ ondragend?: DragEventHandler<T> | undefined | null;
623
+ ondragenter?: DragEventHandler<T> | undefined | null;
624
+ ondragexit?: DragEventHandler<T> | undefined | null;
625
+ ondragleave?: DragEventHandler<T> | undefined | null;
626
+ ondragover?: DragEventHandler<T> | undefined | null;
627
+ ondragstart?: DragEventHandler<T> | undefined | null;
628
+ ondrop?: DragEventHandler<T> | undefined | null;
629
+ onmousedown?: MouseEventHandler<T> | undefined | null;
630
+ onmouseenter?: MouseEventHandler<T> | undefined | null;
631
+ onmouseleave?: MouseEventHandler<T> | undefined | null;
632
+ onmousemove?: MouseEventHandler<T> | undefined | null;
633
+ onmouseout?: MouseEventHandler<T> | undefined | null;
634
+ onmouseover?: MouseEventHandler<T> | undefined | null;
635
+ onmouseup?: MouseEventHandler<T> | undefined | null;
636
+ onselect?: EventHandler<Event, T> | undefined | null;
637
+ onselectionchange?: EventHandler<Event, T> | undefined | null;
638
+ onselectstart?: EventHandler<Event, T> | undefined | null;
639
+ ontouchcancel?: TouchEventHandler<T> | undefined | null;
640
+ ontouchend?: TouchEventHandler<T> | undefined | null;
641
+ ontouchmove?: TouchEventHandler<T> | undefined | null;
642
+ ontouchstart?: TouchEventHandler<T> | undefined | null;
643
+ ongotpointercapture?: PointerEventHandler<T> | undefined | null;
644
+ onpointercancel?: PointerEventHandler<T> | undefined | null;
645
+ onpointerdown?: PointerEventHandler<T> | undefined | null;
646
+ onpointerenter?: PointerEventHandler<T> | undefined | null;
647
+ onpointerleave?: PointerEventHandler<T> | undefined | null;
648
+ onpointermove?: PointerEventHandler<T> | undefined | null;
649
+ onpointerout?: PointerEventHandler<T> | undefined | null;
650
+ onpointerover?: PointerEventHandler<T> | undefined | null;
651
+ onpointerup?: PointerEventHandler<T> | undefined | null;
652
+ onlostpointercapture?: PointerEventHandler<T> | undefined | null;
653
+ onscroll?: UIEventHandler<T> | undefined | null;
654
+ onresize?: UIEventHandler<T> | undefined | null;
655
+ onwheel?: WheelEventHandler<T> | undefined | null;
656
+ onanimationstart?: AnimationEventHandler<T> | undefined | null;
657
+ onanimationend?: AnimationEventHandler<T> | undefined | null;
658
+ onanimationiteration?: AnimationEventHandler<T> | undefined | null;
659
+ ontransitionstart?: TransitionEventHandler<T> | undefined | null;
660
+ ontransitionrun?: TransitionEventHandler<T> | undefined | null;
661
+ ontransitionend?: TransitionEventHandler<T> | undefined | null;
662
+ ontransitioncancel?: TransitionEventHandler<T> | undefined | null;
663
+ onoutrostart?: EventHandler<CustomEvent<null>, T> | undefined | null;
664
+ onoutroend?: EventHandler<CustomEvent<null>, T> | undefined | null;
665
+ onintrostart?: EventHandler<CustomEvent<null>, T> | undefined | null;
666
+ onintroend?: EventHandler<CustomEvent<null>, T> | undefined | null;
667
+ onmessage?: MessageEventHandler<T> | undefined | null;
668
+ onmessageerror?: MessageEventHandler<T> | undefined | null;
669
+ oncancel?: EventHandler<Event, T> | undefined | null;
670
+ onclose?: EventHandler<Event, T> | undefined | null;
671
+ onfullscreenchange?: EventHandler<Event, T> | undefined | null;
672
+ onfullscreenerror?: EventHandler<Event, T> | undefined | null;
673
+ }
674
+
675
+ /**
676
+ * @deprecated use the types from `svelte/elements` instead
677
+ * For more info see https://github.com/sveltejs/language-tools/blob/master/docs/preprocessors/typescript.md#im-getting-deprecation-warnings-for-sveltejsx--i-want-to-migrate-to-the-new-typings
678
+ */
679
+ interface AriaAttributes {
680
+ 'aria-activedescendant'?: string | undefined | null;
681
+ 'aria-atomic'?: boolean | 'false' | 'true' | undefined | null;
682
+ 'aria-autocomplete'?: 'none' | 'inline' | 'list' | 'both' | undefined | null;
683
+ 'aria-busy'?: boolean | 'false' | 'true' | undefined | null;
684
+ 'aria-checked'?: boolean | 'false' | 'mixed' | 'true' | undefined | null;
685
+ 'aria-colcount'?: number | undefined | null;
686
+ 'aria-colindex'?: number | undefined | null;
687
+ 'aria-colspan'?: number | undefined | null;
688
+ 'aria-controls'?: string | undefined | null;
689
+ 'aria-current'?: boolean | 'false' | 'true' | 'page' | 'step' | 'location' | 'date' | 'time' | undefined | null;
690
+ 'aria-describedby'?: string | undefined | null;
691
+ 'aria-details'?: string | undefined | null;
692
+ 'aria-disabled'?: boolean | 'false' | 'true' | undefined | null;
693
+ 'aria-dropeffect'?: 'none' | 'copy' | 'execute' | 'link' | 'move' | 'popup' | undefined | null;
694
+ 'aria-errormessage'?: string | undefined | null;
695
+ 'aria-expanded'?: boolean | 'false' | 'true' | undefined | null;
696
+ 'aria-flowto'?: string | undefined | null;
697
+ 'aria-grabbed'?: boolean | 'false' | 'true' | undefined | null;
698
+ 'aria-haspopup'?: boolean | 'false' | 'true' | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog' | undefined | null;
699
+ 'aria-hidden'?: boolean | 'false' | 'true' | undefined | null;
700
+ 'aria-invalid'?: boolean | 'false' | 'true' | 'grammar' | 'spelling' | undefined | null;
701
+ 'aria-keyshortcuts'?: string | undefined | null;
702
+ 'aria-label'?: string | undefined | null;
703
+ 'aria-labelledby'?: string | undefined | null;
704
+ 'aria-level'?: number | undefined | null;
705
+ 'aria-live'?: 'off' | 'assertive' | 'polite' | undefined | null;
706
+ 'aria-modal'?: boolean | 'false' | 'true' | undefined | null;
707
+ 'aria-multiline'?: boolean | 'false' | 'true' | undefined | null;
708
+ 'aria-multiselectable'?: boolean | 'false' | 'true' | undefined | null;
709
+ 'aria-orientation'?: 'horizontal' | 'vertical' | undefined | null;
710
+ 'aria-owns'?: string | undefined | null;
711
+ 'aria-placeholder'?: string | undefined | null;
712
+ 'aria-posinset'?: number | undefined | null;
713
+ 'aria-pressed'?: boolean | 'false' | 'mixed' | 'true' | undefined | null;
714
+ 'aria-readonly'?: boolean | 'false' | 'true' | undefined | null;
715
+ 'aria-relevant'?: 'additions' | 'additions removals' | 'additions text' | 'all' | 'removals' | 'removals additions' | 'removals text' | 'text' | 'text additions' | 'text removals' | undefined | null;
716
+ 'aria-required'?: boolean | 'false' | 'true' | undefined | null;
717
+ 'aria-roledescription'?: string | undefined | null;
718
+ 'aria-rowcount'?: number | undefined | null;
719
+ 'aria-rowindex'?: number | undefined | null;
720
+ 'aria-rowspan'?: number | undefined | null;
721
+ 'aria-selected'?: boolean | 'false' | 'true' | undefined | null;
722
+ 'aria-setsize'?: number | undefined | null;
723
+ 'aria-sort'?: 'none' | 'ascending' | 'descending' | 'other' | undefined | null;
724
+ 'aria-valuemax'?: number | undefined | null;
725
+ 'aria-valuemin'?: number | undefined | null;
726
+ 'aria-valuenow'?: number | undefined | null;
727
+ 'aria-valuetext'?: string | undefined | null;
728
+ }
729
+
730
+ /**
731
+ * @deprecated use the types from `svelte/elements` instead
732
+ * For more info see https://github.com/sveltejs/language-tools/blob/master/docs/preprocessors/typescript.md#im-getting-deprecation-warnings-for-sveltejsx--i-want-to-migrate-to-the-new-typings
733
+ */
734
+ interface HTMLAttributes<T extends EventTarget> extends AriaAttributes, DOMAttributes<T> {
735
+ class?: string | undefined | null;
736
+ dataset?: object | undefined | null;
737
+ accept?: string | undefined | null;
738
+ acceptcharset?: string | undefined | null;
739
+ accesskey?: string | undefined | null;
740
+ action?: string | undefined | null;
741
+ allow?: string | undefined | null;
742
+ allowfullscreen?: boolean | undefined | null;
743
+ allowtransparency?: boolean | undefined | null;
744
+ allowpaymentrequest?: boolean | undefined | null;
745
+ alt?: string | undefined | null;
746
+ as?: string | undefined | null;
747
+ async?: boolean | undefined | null;
748
+ autocomplete?: string | undefined | null;
749
+ autofocus?: boolean | undefined | null;
750
+ autoplay?: boolean | undefined | null;
751
+ capture?: 'environment' | 'user' | boolean | undefined | null;
752
+ cellpadding?: number | string | undefined | null;
753
+ cellspacing?: number | string | undefined | null;
754
+ charset?: string | undefined | null;
755
+ challenge?: string | undefined | null;
756
+ checked?: boolean | undefined | null;
757
+ cite?: string | undefined | null;
758
+ classid?: string | undefined | null;
759
+ cols?: number | undefined | null;
760
+ colspan?: number | undefined | null;
761
+ content?: string | undefined | null;
762
+ contenteditable?: 'true' | 'false' | boolean | undefined | null;
763
+ innerHTML?: string | undefined | null;
764
+ textContent?: string | undefined | null;
765
+ contextmenu?: string | undefined | null;
766
+ controls?: boolean | undefined | null;
767
+ coords?: string | undefined | null;
768
+ crossorigin?: string | undefined | null;
769
+ currenttime?: number | undefined | null;
770
+ decoding?: 'async' | 'sync' | 'auto' | undefined | null;
771
+ data?: string | undefined | null;
772
+ datetime?: string | undefined | null;
773
+ default?: boolean | undefined | null;
774
+ defaultmuted?: boolean | undefined | null;
775
+ defaultplaybackrate?: number | undefined | null;
776
+ defer?: boolean | undefined | null;
777
+ dir?: string | undefined | null;
778
+ dirname?: string | undefined | null;
779
+ disabled?: boolean | undefined | null;
780
+ download?: any | undefined | null;
781
+ draggable?: boolean | 'true' | 'false' | undefined | null;
782
+ enctype?: string | undefined | null;
783
+ enterkeyhint?: 'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send' | undefined | null;
784
+ for?: string | undefined | null;
785
+ form?: string | undefined | null;
786
+ formaction?: string | undefined | null;
787
+ formenctype?: string | undefined | null;
788
+ formmethod?: string | undefined | null;
789
+ formnovalidate?: boolean | undefined | null;
790
+ formtarget?: string | undefined | null;
791
+ frameborder?: number | string | undefined | null;
792
+ headers?: string | undefined | null;
793
+ height?: number | string | undefined | null;
794
+ hidden?: boolean | undefined | null;
795
+ high?: number | undefined | null;
796
+ href?: string | undefined | null;
797
+ hreflang?: string | undefined | null;
798
+ htmlfor?: string | undefined | null;
799
+ httpequiv?: string | undefined | null;
800
+ id?: string | undefined | null;
801
+ inputmode?: string | undefined | null;
802
+ integrity?: string | undefined | null;
803
+ is?: string | undefined | null;
804
+ ismap?: boolean | undefined | null;
805
+ keyparams?: string | undefined | null;
806
+ keytype?: string | undefined | null;
807
+ kind?: string | undefined | null;
808
+ label?: string | undefined | null;
809
+ lang?: string | undefined | null;
810
+ list?: string | undefined | null;
811
+ loading?: string | undefined | null;
812
+ loop?: boolean | undefined | null;
813
+ low?: number | undefined | null;
814
+ manifest?: string | undefined | null;
815
+ marginheight?: number | undefined | null;
816
+ marginwidth?: number | undefined | null;
817
+ max?: number | string | undefined | null;
818
+ maxlength?: number | undefined | null;
819
+ media?: string | undefined | null;
820
+ mediagroup?: string | undefined | null;
821
+ method?: string | undefined | null;
822
+ min?: number | string | undefined | null;
823
+ minlength?: number | undefined | null;
824
+ multiple?: boolean | undefined | null;
825
+ muted?: boolean | undefined | null;
826
+ name?: string | undefined | null;
827
+ nonce?: string | undefined | null;
828
+ novalidate?: boolean | undefined | null;
829
+ open?: boolean | undefined | null;
830
+ optimum?: number | undefined | null;
831
+ part?: string | undefined | null;
832
+ pattern?: string | undefined | null;
833
+ placeholder?: string | undefined | null;
834
+ playsinline?: boolean | undefined | null;
835
+ ping?: string | undefined | null;
836
+ poster?: string | undefined | null;
837
+ preload?: string | undefined | null;
838
+ radiogroup?: string | undefined | null;
839
+ readonly?: boolean | undefined | null;
840
+ referrerpolicy?: string | undefined | null;
841
+ rel?: string | undefined | null;
842
+ required?: boolean | undefined | null;
843
+ reversed?: boolean | undefined | null;
844
+ role?: string | undefined | null;
845
+ rows?: number | undefined | null;
846
+ rowspan?: number | undefined | null;
847
+ sandbox?: string | undefined | null;
848
+ scope?: string | undefined | null;
849
+ scoped?: boolean | undefined | null;
850
+ scrolling?: string | undefined | null;
851
+ seamless?: boolean | undefined | null;
852
+ selected?: boolean | undefined | null;
853
+ shape?: string | undefined | null;
854
+ size?: number | undefined | null;
855
+ sizes?: string | undefined | null;
856
+ slot?: string | undefined | null;
857
+ span?: number | undefined | null;
858
+ spellcheck?: boolean | 'true' | 'false' | undefined | null;
859
+ src?: string | undefined | null;
860
+ srcdoc?: string | undefined | null;
861
+ srclang?: string | undefined | null;
862
+ srcset?: string | undefined | null;
863
+ start?: number | undefined | null;
864
+ step?: number | string | undefined | null;
865
+ style?: string | undefined | null;
866
+ summary?: string | undefined | null;
867
+ tabindex?: number | undefined | null;
868
+ target?: string | undefined | null;
869
+ title?: string | undefined | null;
870
+ translate?: "yes" | "no" | "" | undefined | null;
871
+ type?: string | undefined | null;
872
+ usemap?: string | undefined | null;
873
+ value?: any | undefined | null;
874
+ volume?: number | undefined | null;
875
+ width?: number | string | undefined | null;
876
+ wmode?: string | undefined | null;
877
+ wrap?: string | undefined | null;
878
+ about?: string | undefined | null;
879
+ datatype?: string | undefined | null;
880
+ inlist?: any | undefined | null;
881
+ prefix?: string | undefined | null;
882
+ property?: string | undefined | null;
883
+ resource?: string | undefined | null;
884
+ typeof?: string | undefined | null;
885
+ vocab?: string | undefined | null;
886
+ autocapitalize?: string | undefined | null;
887
+ autocorrect?: string | undefined | null;
888
+ autosave?: string | undefined | null;
889
+ color?: string | undefined | null;
890
+ controlslist?: 'nodownload' | 'nofullscreen' | 'noplaybackrate' | 'noremoteplayback';
891
+ inert?: boolean | undefined | null;
892
+ itemprop?: string | undefined | null;
893
+ itemscope?: boolean | undefined | null;
894
+ itemtype?: string | undefined | null;
895
+ itemid?: string | undefined | null;
896
+ itemref?: string | undefined | null;
897
+ results?: number | undefined | null;
898
+ security?: string | undefined | null;
899
+ unselectable?: boolean | undefined | null;
900
+
901
+ 'data-sveltekit-keepfocus'?: true | '' | 'off' | undefined | null;
902
+ 'data-sveltekit-noscroll'?: true | '' | 'off' | undefined | null;
903
+ 'data-sveltekit-preload-code'?: true | '' | 'eager' | 'viewport' | 'hover' | 'tap' | 'off' | undefined | null;
904
+ 'data-sveltekit-preload-data'?: true | '' | 'hover' | 'tap' | 'off' | undefined | null;
905
+ 'data-sveltekit-reload'?: true | '' | 'off' | undefined | null;
906
+ 'data-sveltekit-replacestate'?: true | '' | 'off' | undefined | null;
907
+ }
908
+
909
+ /**
910
+ * @deprecated use the types from `svelte/elements` instead
911
+ * For more info see https://github.com/sveltejs/language-tools/blob/master/docs/preprocessors/typescript.md#im-getting-deprecation-warnings-for-sveltejsx--i-want-to-migrate-to-the-new-typings
912
+ */
913
+ interface SVGAttributes<T extends EventTarget> extends AriaAttributes, DOMAttributes<T> {
914
+ className?: string | undefined | null;
915
+ class?: string | undefined | null;
916
+ color?: string | undefined | null;
917
+ height?: number | string | undefined | null;
918
+ id?: string | undefined | null;
919
+ lang?: string | undefined | null;
920
+ max?: number | string | undefined | null;
921
+ media?: string | undefined | null;
922
+ method?: string | undefined | null;
923
+ min?: number | string | undefined | null;
924
+ name?: string | undefined | null;
925
+ style?: string | undefined | null;
926
+ target?: string | undefined | null;
927
+ type?: string | undefined | null;
928
+ width?: number | string | undefined | null;
929
+ role?: string | undefined | null;
930
+ tabindex?: number | undefined | null;
931
+ crossorigin?: 'anonymous' | 'use-credentials' | '' | undefined | null;
932
+ 'accent-height'?: number | string | undefined | null;
933
+ accumulate?: 'none' | 'sum' | undefined | null;
934
+ additive?: 'replace' | 'sum' | undefined | null;
935
+ 'alignment-baseline'?: 'auto' | 'baseline' | 'before-edge' | 'text-before-edge' | 'middle' |
936
+ 'central' | 'after-edge' | 'text-after-edge' | 'ideographic' | 'alphabetic' | 'hanging' |
937
+ 'mathematical' | 'inherit' | undefined | null;
938
+ allowReorder?: 'no' | 'yes' | undefined | null;
939
+ alphabetic?: number | string | undefined | null;
940
+ amplitude?: number | string | undefined | null;
941
+ 'arabic-form'?: 'initial' | 'medial' | 'terminal' | 'isolated' | undefined | null;
942
+ ascent?: number | string | undefined | null;
943
+ attributeName?: string | undefined | null;
944
+ attributeType?: string | undefined | null;
945
+ autoReverse?: number | string | undefined | null;
946
+ azimuth?: number | string | undefined | null;
947
+ baseFrequency?: number | string | undefined | null;
948
+ 'baseline-shift'?: number | string | undefined | null;
949
+ baseProfile?: number | string | undefined | null;
950
+ bbox?: number | string | undefined | null;
951
+ begin?: number | string | undefined | null;
952
+ bias?: number | string | undefined | null;
953
+ by?: number | string | undefined | null;
954
+ calcMode?: number | string | undefined | null;
955
+ 'cap-height'?: number | string | undefined | null;
956
+ clip?: number | string | undefined | null;
957
+ 'clip-path'?: string | undefined | null;
958
+ clipPathUnits?: number | string | undefined | null;
959
+ 'clip-rule'?: number | string | undefined | null;
960
+ 'color-interpolation'?: number | string | undefined | null;
961
+ 'color-interpolation-filters'?: 'auto' | 'sRGB' | 'linearRGB' | 'inherit' | undefined | null;
962
+ 'color-profile'?: number | string | undefined | null;
963
+ 'color-rendering'?: number | string | undefined | null;
964
+ contentScriptType?: number | string | undefined | null;
965
+ contentStyleType?: number | string | undefined | null;
966
+ cursor?: number | string | undefined | null;
967
+ cx?: number | string | undefined | null;
968
+ cy?: number | string | undefined | null;
969
+ d?: string | undefined | null;
970
+ decelerate?: number | string | undefined | null;
971
+ descent?: number | string | undefined | null;
972
+ diffuseConstant?: number | string | undefined | null;
973
+ direction?: number | string | undefined | null;
974
+ display?: number | string | undefined | null;
975
+ divisor?: number | string | undefined | null;
976
+ 'dominant-baseline'?: number | string | undefined | null;
977
+ dur?: number | string | undefined | null;
978
+ dx?: number | string | undefined | null;
979
+ dy?: number | string | undefined | null;
980
+ edgeMode?: number | string | undefined | null;
981
+ elevation?: number | string | undefined | null;
982
+ 'enable-background'?: number | string | undefined | null;
983
+ end?: number | string | undefined | null;
984
+ exponent?: number | string | undefined | null;
985
+ externalResourcesRequired?: number | string | undefined | null;
986
+ fill?: string | undefined | null;
987
+ 'fill-opacity'?: number | string | undefined | null;
988
+ 'fill-rule'?: 'nonzero' | 'evenodd' | 'inherit' | undefined | null;
989
+ filter?: string | undefined | null;
990
+ filterRes?: number | string | undefined | null;
991
+ filterUnits?: number | string | undefined | null;
992
+ 'flood-color'?: number | string | undefined | null;
993
+ 'flood-opacity'?: number | string | undefined | null;
994
+ focusable?: number | string | undefined | null;
995
+ 'font-family'?: string | undefined | null;
996
+ 'font-size'?: number | string | undefined | null;
997
+ 'font-size-adjust'?: number | string | undefined | null;
998
+ 'font-stretch'?: number | string | undefined | null;
999
+ 'font-style'?: number | string | undefined | null;
1000
+ 'font-variant'?: number | string | undefined | null;
1001
+ 'font-weight'?: number | string | undefined | null;
1002
+ format?: number | string | undefined | null;
1003
+ from?: number | string | undefined | null;
1004
+ fx?: number | string | undefined | null;
1005
+ fy?: number | string | undefined | null;
1006
+ g1?: number | string | undefined | null;
1007
+ g2?: number | string | undefined | null;
1008
+ 'glyph-name'?: number | string | undefined | null;
1009
+ 'glyph-orientation-horizontal'?: number | string | undefined | null;
1010
+ 'glyph-orientation-vertical'?: number | string | undefined | null;
1011
+ glyphRef?: number | string | undefined | null;
1012
+ gradientTransform?: string | undefined | null;
1013
+ gradientUnits?: string | undefined | null;
1014
+ hanging?: number | string | undefined | null;
1015
+ href?: string | undefined | null;
1016
+ 'horiz-adv-x'?: number | string | undefined | null;
1017
+ 'horiz-origin-x'?: number | string | undefined | null;
1018
+ ideographic?: number | string | undefined | null;
1019
+ 'image-rendering'?: number | string | undefined | null;
1020
+ in2?: number | string | undefined | null;
1021
+ in?: string | undefined | null;
1022
+ intercept?: number | string | undefined | null;
1023
+ k1?: number | string | undefined | null;
1024
+ k2?: number | string | undefined | null;
1025
+ k3?: number | string | undefined | null;
1026
+ k4?: number | string | undefined | null;
1027
+ k?: number | string | undefined | null;
1028
+ kernelMatrix?: number | string | undefined | null;
1029
+ kernelUnitLength?: number | string | undefined | null;
1030
+ kerning?: number | string | undefined | null;
1031
+ keyPoints?: number | string | undefined | null;
1032
+ keySplines?: number | string | undefined | null;
1033
+ keyTimes?: number | string | undefined | null;
1034
+ lengthAdjust?: number | string | undefined | null;
1035
+ 'letter-spacing'?: number | string | undefined | null;
1036
+ 'lighting-color'?: number | string | undefined | null;
1037
+ limitingConeAngle?: number | string | undefined | null;
1038
+ local?: number | string | undefined | null;
1039
+ 'marker-end'?: string | undefined | null;
1040
+ markerHeight?: number | string | undefined | null;
1041
+ 'marker-mid'?: string | undefined | null;
1042
+ 'marker-start'?: string | undefined | null;
1043
+ markerUnits?: number | string | undefined | null;
1044
+ markerWidth?: number | string | undefined | null;
1045
+ mask?: string | undefined | null;
1046
+ maskContentUnits?: number | string | undefined | null;
1047
+ maskUnits?: number | string | undefined | null;
1048
+ mathematical?: number | string | undefined | null;
1049
+ mode?: number | string | undefined | null;
1050
+ numOctaves?: number | string | undefined | null;
1051
+ offset?: number | string | undefined | null;
1052
+ opacity?: number | string | undefined | null;
1053
+ operator?: number | string | undefined | null;
1054
+ order?: number | string | undefined | null;
1055
+ orient?: number | string | undefined | null;
1056
+ orientation?: number | string | undefined | null;
1057
+ origin?: number | string | undefined | null;
1058
+ overflow?: number | string | undefined | null;
1059
+ 'overline-position'?: number | string | undefined | null;
1060
+ 'overline-thickness'?: number | string | undefined | null;
1061
+ 'paint-order'?: number | string | undefined | null;
1062
+ 'panose-1'?: number | string | undefined | null;
1063
+ path?: string | undefined | null;
1064
+ pathLength?: number | string | undefined | null;
1065
+ patternContentUnits?: string | undefined | null;
1066
+ patternTransform?: number | string | undefined | null;
1067
+ patternUnits?: string | undefined | null;
1068
+ 'pointer-events'?: number | string | undefined | null;
1069
+ points?: string | undefined | null;
1070
+ pointsAtX?: number | string | undefined | null;
1071
+ pointsAtY?: number | string | undefined | null;
1072
+ pointsAtZ?: number | string | undefined | null;
1073
+ preserveAlpha?: number | string | undefined | null;
1074
+ preserveAspectRatio?: string | undefined | null;
1075
+ primitiveUnits?: number | string | undefined | null;
1076
+ r?: number | string | undefined | null;
1077
+ radius?: number | string | undefined | null;
1078
+ refX?: number | string | undefined | null;
1079
+ refY?: number | string | undefined | null;
1080
+ 'rendering-intent'?: number | string | undefined | null;
1081
+ repeatCount?: number | string | undefined | null;
1082
+ repeatDur?: number | string | undefined | null;
1083
+ requiredExtensions?: number | string | undefined | null;
1084
+ requiredFeatures?: number | string | undefined | null;
1085
+ restart?: number | string | undefined | null;
1086
+ result?: string | undefined | null;
1087
+ rotate?: number | string | undefined | null;
1088
+ rx?: number | string | undefined | null;
1089
+ ry?: number | string | undefined | null;
1090
+ scale?: number | string | undefined | null;
1091
+ seed?: number | string | undefined | null;
1092
+ 'shape-rendering'?: number | string | undefined | null;
1093
+ slope?: number | string | undefined | null;
1094
+ spacing?: number | string | undefined | null;
1095
+ specularConstant?: number | string | undefined | null;
1096
+ specularExponent?: number | string | undefined | null;
1097
+ speed?: number | string | undefined | null;
1098
+ spreadMethod?: string | undefined | null;
1099
+ startOffset?: number | string | undefined | null;
1100
+ stdDeviation?: number | string | undefined | null;
1101
+ stemh?: number | string | undefined | null;
1102
+ stemv?: number | string | undefined | null;
1103
+ stitchTiles?: number | string | undefined | null;
1104
+ 'stop-color'?: string | undefined | null;
1105
+ 'stop-opacity'?: number | string | undefined | null;
1106
+ 'strikethrough-position'?: number | string | undefined | null;
1107
+ 'strikethrough-thickness'?: number | string | undefined | null;
1108
+ string?: number | string | undefined | null;
1109
+ stroke?: string | undefined | null;
1110
+ 'stroke-dasharray'?: string | number | undefined | null;
1111
+ 'stroke-dashoffset'?: string | number | undefined | null;
1112
+ 'stroke-linecap'?: 'butt' | 'round' | 'square' | 'inherit' | undefined | null;
1113
+ 'stroke-linejoin'?: 'miter' | 'round' | 'bevel' | 'inherit' | undefined | null;
1114
+ 'stroke-miterlimit'?: string | undefined | null;
1115
+ 'stroke-opacity'?: number | string | undefined | null;
1116
+ 'stroke-width'?: number | string | undefined | null;
1117
+ surfaceScale?: number | string | undefined | null;
1118
+ systemLanguage?: number | string | undefined | null;
1119
+ tableValues?: number | string | undefined | null;
1120
+ targetX?: number | string | undefined | null;
1121
+ targetY?: number | string | undefined | null;
1122
+ 'text-anchor'?: string | undefined | null;
1123
+ 'text-decoration'?: number | string | undefined | null;
1124
+ textLength?: number | string | undefined | null;
1125
+ 'text-rendering'?: number | string | undefined | null;
1126
+ to?: number | string | undefined | null;
1127
+ transform?: string | undefined | null;
1128
+ u1?: number | string | undefined | null;
1129
+ u2?: number | string | undefined | null;
1130
+ 'underline-position'?: number | string | undefined | null;
1131
+ 'underline-thickness'?: number | string | undefined | null;
1132
+ unicode?: number | string | undefined | null;
1133
+ 'unicode-bidi'?: number | string | undefined | null;
1134
+ 'unicode-range'?: number | string | undefined | null;
1135
+ 'units-per-em'?: number | string | undefined | null;
1136
+ 'v-alphabetic'?: number | string | undefined | null;
1137
+ values?: string | undefined | null;
1138
+ 'vector-effect'?: number | string | undefined | null;
1139
+ version?: string | undefined | null;
1140
+ 'vert-adv-y'?: number | string | undefined | null;
1141
+ 'vert-origin-x'?: number | string | undefined | null;
1142
+ 'vert-origin-y'?: number | string | undefined | null;
1143
+ 'v-hanging'?: number | string | undefined | null;
1144
+ 'v-ideographic'?: number | string | undefined | null;
1145
+ viewBox?: string | undefined | null;
1146
+ viewTarget?: number | string | undefined | null;
1147
+ visibility?: number | string | undefined | null;
1148
+ 'v-mathematical'?: number | string | undefined | null;
1149
+ widths?: number | string | undefined | null;
1150
+ 'word-spacing'?: number | string | undefined | null;
1151
+ 'writing-mode'?: number | string | undefined | null;
1152
+ x1?: number | string | undefined | null;
1153
+ x2?: number | string | undefined | null;
1154
+ x?: number | string | undefined | null;
1155
+ xChannelSelector?: string | undefined | null;
1156
+ 'x-height'?: number | string | undefined | null;
1157
+ xlinkActuate?: string | undefined | null;
1158
+ xlinkArcrole?: string | undefined | null;
1159
+ xlinkHref?: string | undefined | null;
1160
+ xlinkRole?: string | undefined | null;
1161
+ xlinkShow?: string | undefined | null;
1162
+ xlinkTitle?: string | undefined | null;
1163
+ xlinkType?: string | undefined | null;
1164
+ xmlBase?: string | undefined | null;
1165
+ xmlLang?: string | undefined | null;
1166
+ xmlns?: string | undefined | null;
1167
+ xmlnsXlink?: string | undefined | null;
1168
+ xmlSpace?: string | undefined | null;
1169
+ y1?: number | string | undefined | null;
1170
+ y2?: number | string | undefined | null;
1171
+ y?: number | string | undefined | null;
1172
+ yChannelSelector?: string | undefined | null;
1173
+ z?: number | string | undefined | null;
1174
+ zoomAndPan?: string | undefined | null;
1175
+ }
1176
+
1177
+ /**
1178
+ * @deprecated use the types from `svelte/elements` instead
1179
+ * For more info see https://github.com/sveltejs/language-tools/blob/master/docs/preprocessors/typescript.md#im-getting-deprecation-warnings-for-sveltejsx--i-want-to-migrate-to-the-new-typings
1180
+ */
1181
+ interface HTMLProps<T extends EventTarget> extends HTMLAttributes<T> {}
1182
+ /**
1183
+ * @deprecated use the types from `svelte/elements` instead
1184
+ * For more info see https://github.com/sveltejs/language-tools/blob/master/docs/preprocessors/typescript.md#im-getting-deprecation-warnings-for-sveltejsx--i-want-to-migrate-to-the-new-typings
1185
+ */
1186
+ interface SVGProps<T extends EventTarget> extends SVGAttributes<T> {}
1187
+
1188
+ /**
1189
+ * @deprecated use the types from `svelte/elements` instead
1190
+ * For more info see https://github.com/sveltejs/language-tools/blob/master/docs/preprocessors/typescript.md#im-getting-deprecation-warnings-for-sveltejsx--i-want-to-migrate-to-the-new-typings
1191
+ */
1192
+ interface SvelteInputProps extends HTMLProps<HTMLInputElement> {
1193
+ group?: any | undefined | null;
1194
+ files?: FileList | undefined | null;
1195
+ indeterminate?: boolean | undefined | null;
1196
+ }
1197
+
1198
+ /**
1199
+ * @deprecated use the types from `svelte/elements` instead
1200
+ * For more info see https://github.com/sveltejs/language-tools/blob/master/docs/preprocessors/typescript.md#im-getting-deprecation-warnings-for-sveltejsx--i-want-to-migrate-to-the-new-typings
1201
+ */
1202
+ interface SvelteWindowProps {
1203
+ readonly innerWidth?: Window['innerWidth'] | undefined | null;
1204
+ readonly innerHeight?: Window['innerHeight'] | undefined | null;
1205
+ readonly outerWidth?: Window['outerWidth'] | undefined | null;
1206
+ readonly outerHeight?: Window['outerHeight'] | undefined | null;
1207
+ scrollX?: Window['scrollX'] | undefined | null;
1208
+ scrollY?: Window['scrollY'] | undefined | null;
1209
+ readonly online?: Window['navigator']['onLine'] | undefined | null;
1210
+
1211
+ // Transformed from on:sveltekit:xy
1212
+ 'onsveltekit:start'?: EventHandler<CustomEvent, Window> | undefined | null;
1213
+ 'onsveltekit:navigation-start'?: EventHandler<CustomEvent, Window> | undefined | null;
1214
+ 'onsveltekit:navigation-end'?: EventHandler<CustomEvent, Window> | undefined | null;
1215
+
1216
+ ondevicelight?: EventHandler<Event, Window> | undefined | null;
1217
+ onbeforeinstallprompt?: EventHandler<Event, Window> | undefined | null;
1218
+ ondeviceproximity?: EventHandler<Event, Window> | undefined | null;
1219
+ onpaint?: EventHandler<Event, Window> | undefined | null;
1220
+ onuserproximity?: EventHandler<Event, Window> | undefined | null;
1221
+ onbeforeprint?: EventHandler<Event, Window> | undefined | null;
1222
+ onafterprint?: EventHandler<Event, Window> | undefined | null;
1223
+ onlanguagechange?: EventHandler<Event, Window> | undefined | null;
1224
+ onorientationchange?: EventHandler<Event, Window> | undefined | null;
1225
+ onmessage?: EventHandler<MessageEvent, Window> | undefined | null;
1226
+ onmessageerror?: EventHandler<MessageEvent, Window> | undefined | null;
1227
+ onoffline?: EventHandler<Event, Window> | undefined | null;
1228
+ ononline?: EventHandler<Event, Window> | undefined | null;
1229
+ onbeforeunload?: EventHandler<BeforeUnloadEvent, Window> | undefined | null;
1230
+ onunload?: EventHandler<Event, Window> | undefined | null;
1231
+ onstorage?: EventHandler<StorageEvent, Window> | undefined | null;
1232
+ onhashchange?: EventHandler<HashChangeEvent, Window> | undefined | null;
1233
+ onpagehide?: EventHandler<PageTransitionEvent, Window> | undefined | null;
1234
+ onpageshow?: EventHandler<PageTransitionEvent, Window> | undefined | null;
1235
+ onpopstate?: EventHandler<PopStateEvent, Window> | undefined | null;
1236
+ ondevicemotion?: EventHandler<DeviceMotionEvent> | undefined | null;
1237
+ ondeviceorientation?: EventHandler<DeviceOrientationEvent, Window> | undefined | null;
1238
+ ondeviceorientationabsolute?: EventHandler<DeviceOrientationEvent, Window> | undefined | null;
1239
+ onunhandledrejection?: EventHandler<PromiseRejectionEvent, Window> | undefined | null;
1240
+ onrejectionhandled?: EventHandler<PromiseRejectionEvent, Window> | undefined | null;
1241
+ }
1242
+
1243
+ /**
1244
+ * @deprecated use the types from `svelte/elements` instead
1245
+ * For more info see https://github.com/sveltejs/language-tools/blob/master/docs/preprocessors/typescript.md#im-getting-deprecation-warnings-for-sveltejsx--i-want-to-migrate-to-the-new-typings
1246
+ */
1247
+ interface SapperAnchorProps {
1248
+ // transformed from sapper:noscroll so it should be camel case
1249
+ sapperNoscroll?: true | undefined | null;
1250
+ sapperPrefetch?: true | undefined | null;
1251
+ }
1252
+
1253
+ /**
1254
+ * @deprecated use the types from `svelte/elements` instead
1255
+ * For more info see https://github.com/sveltejs/language-tools/blob/master/docs/preprocessors/typescript.md#im-getting-deprecation-warnings-for-sveltejsx--i-want-to-migrate-to-the-new-typings
1256
+ */
1257
+ interface SvelteMediaTimeRange {
1258
+ start: number;
1259
+ end: number;
1260
+ }
1261
+
1262
+ /**
1263
+ * @deprecated use the types from `svelte/elements` instead
1264
+ * For more info see https://github.com/sveltejs/language-tools/blob/master/docs/preprocessors/typescript.md#im-getting-deprecation-warnings-for-sveltejsx--i-want-to-migrate-to-the-new-typings
1265
+ */
1266
+ interface SvelteMediaProps {
1267
+ readonly duration?: number | undefined | null;
1268
+ readonly buffered?: SvelteMediaTimeRange[] | undefined | null;
1269
+ readonly played?: SvelteMediaTimeRange[] | undefined | null;
1270
+ readonly seekable?: SvelteMediaTimeRange[] | undefined | null;
1271
+ readonly seeking?: boolean | undefined | null;
1272
+ readonly ended?: boolean | undefined | null;
1273
+
1274
+ /**
1275
+ * the current playback time in the video, in seconds
1276
+ */
1277
+ currentTime?: number | undefined | null;
1278
+ /**
1279
+ * the current playback time in the video, in seconds
1280
+ */
1281
+ currenttime?: number | undefined | null;
1282
+ // Doesn't work when used as HTML Attribute
1283
+ /**
1284
+ * how fast or slow to play the video, where 1 is 'normal'
1285
+ */
1286
+ playbackRate?: number | undefined | null;
1287
+
1288
+ paused?: boolean | undefined | null;
1289
+ }
1290
+
1291
+ /**
1292
+ * @deprecated use the types from `svelte/elements` instead
1293
+ * For more info see https://github.com/sveltejs/language-tools/blob/master/docs/preprocessors/typescript.md#im-getting-deprecation-warnings-for-sveltejsx--i-want-to-migrate-to-the-new-typings
1294
+ */
1295
+ interface SvelteVideoProps extends SvelteMediaProps {
1296
+ // Binding only, don't need lowercase variant
1297
+ readonly videoWidth?: number | undefined | null;
1298
+ readonly videoHeight?: number | undefined | null;
1299
+ }
1300
+
1301
+ /**
1302
+ * @deprecated use the types from `svelte/elements` instead
1303
+ * For more info see https://github.com/sveltejs/language-tools/blob/master/docs/preprocessors/typescript.md#im-getting-deprecation-warnings-for-sveltejsx--i-want-to-migrate-to-the-new-typings
1304
+ */
1305
+ interface IntrinsicElements {
1306
+ // HTML
1307
+ a: HTMLProps<HTMLAnchorElement> & SapperAnchorProps;
1308
+ abbr: HTMLProps<HTMLElement>;
1309
+ address: HTMLProps<HTMLElement>;
1310
+ area: HTMLProps<HTMLAreaElement>;
1311
+ article: HTMLProps<HTMLElement>;
1312
+ aside: HTMLProps<HTMLElement>;
1313
+ audio: HTMLProps<HTMLAudioElement> & SvelteMediaProps;
1314
+ b: HTMLProps<HTMLElement>;
1315
+ base: HTMLProps<HTMLBaseElement>;
1316
+ bdi: HTMLProps<HTMLElement>;
1317
+ bdo: HTMLProps<HTMLElement>;
1318
+ big: HTMLProps<HTMLElement>;
1319
+ blockquote: HTMLProps<HTMLElement>;
1320
+ body: HTMLProps<HTMLBodyElement>;
1321
+ br: HTMLProps<HTMLBRElement>;
1322
+ button: HTMLProps<HTMLButtonElement>;
1323
+ canvas: HTMLProps<HTMLCanvasElement>;
1324
+ caption: HTMLProps<HTMLElement>;
1325
+ cite: HTMLProps<HTMLElement>;
1326
+ code: HTMLProps<HTMLElement>;
1327
+ col: HTMLProps<HTMLTableColElement>;
1328
+ colgroup: HTMLProps<HTMLTableColElement>;
1329
+ data: HTMLProps<HTMLElement>;
1330
+ datalist: HTMLProps<HTMLDataListElement>;
1331
+ dd: HTMLProps<HTMLElement>;
1332
+ del: HTMLProps<HTMLElement>;
1333
+ details: HTMLProps<HTMLElement>;
1334
+ dfn: HTMLProps<HTMLElement>;
1335
+ dialog: HTMLProps<HTMLElement>;
1336
+ div: HTMLProps<HTMLDivElement>;
1337
+ dl: HTMLProps<HTMLDListElement>;
1338
+ dt: HTMLProps<HTMLElement>;
1339
+ em: HTMLProps<HTMLElement>;
1340
+ embed: HTMLProps<HTMLEmbedElement>;
1341
+ fieldset: HTMLProps<HTMLFieldSetElement>;
1342
+ figcaption: HTMLProps<HTMLElement>;
1343
+ figure: HTMLProps<HTMLElement>;
1344
+ footer: HTMLProps<HTMLElement>;
1345
+ form: HTMLProps<HTMLFormElement>;
1346
+ h1: HTMLProps<HTMLHeadingElement>;
1347
+ h2: HTMLProps<HTMLHeadingElement>;
1348
+ h3: HTMLProps<HTMLHeadingElement>;
1349
+ h4: HTMLProps<HTMLHeadingElement>;
1350
+ h5: HTMLProps<HTMLHeadingElement>;
1351
+ h6: HTMLProps<HTMLHeadingElement>;
1352
+ head: HTMLProps<HTMLHeadElement>;
1353
+ header: HTMLProps<HTMLElement>;
1354
+ hgroup: HTMLProps<HTMLElement>;
1355
+ hr: HTMLProps<HTMLHRElement>;
1356
+ html: HTMLProps<HTMLHtmlElement>;
1357
+ i: HTMLProps<HTMLElement>;
1358
+ iframe: HTMLProps<HTMLIFrameElement>;
1359
+ img: HTMLProps<HTMLImageElement>;
1360
+ input: SvelteInputProps;
1361
+ ins: HTMLProps<HTMLModElement>;
1362
+ kbd: HTMLProps<HTMLElement>;
1363
+ keygen: HTMLProps<HTMLElement>;
1364
+ label: HTMLProps<HTMLLabelElement>;
1365
+ legend: HTMLProps<HTMLLegendElement>;
1366
+ li: HTMLProps<HTMLLIElement>;
1367
+ link: HTMLProps<HTMLLinkElement>;
1368
+ main: HTMLProps<HTMLElement>;
1369
+ map: HTMLProps<HTMLMapElement>;
1370
+ mark: HTMLProps<HTMLElement>;
1371
+ menu: HTMLProps<HTMLElement>;
1372
+ menuitem: HTMLProps<HTMLElement>;
1373
+ meta: HTMLProps<HTMLMetaElement>;
1374
+ meter: HTMLProps<HTMLElement>;
1375
+ nav: HTMLProps<HTMLElement>;
1376
+ noindex: HTMLProps<HTMLElement>;
1377
+ noscript: HTMLProps<HTMLElement>;
1378
+ object: HTMLProps<HTMLObjectElement>;
1379
+ ol: HTMLProps<HTMLOListElement>;
1380
+ optgroup: HTMLProps<HTMLOptGroupElement>;
1381
+ option: HTMLProps<HTMLOptionElement>;
1382
+ output: HTMLProps<HTMLElement>;
1383
+ p: HTMLProps<HTMLParagraphElement>;
1384
+ param: HTMLProps<HTMLParamElement>;
1385
+ picture: HTMLProps<HTMLElement>;
1386
+ pre: HTMLProps<HTMLPreElement>;
1387
+ progress: HTMLProps<HTMLProgressElement>;
1388
+ q: HTMLProps<HTMLQuoteElement>;
1389
+ rp: HTMLProps<HTMLElement>;
1390
+ rt: HTMLProps<HTMLElement>;
1391
+ ruby: HTMLProps<HTMLElement>;
1392
+ s: HTMLProps<HTMLElement>;
1393
+ samp: HTMLProps<HTMLElement>;
1394
+ script: HTMLProps<HTMLElement>;
1395
+ section: HTMLProps<HTMLElement>;
1396
+ select: HTMLProps<HTMLSelectElement>;
1397
+ small: HTMLProps<HTMLElement>;
1398
+ source: HTMLProps<HTMLSourceElement>;
1399
+ span: HTMLProps<HTMLSpanElement>;
1400
+ strong: HTMLProps<HTMLElement>;
1401
+ style: HTMLProps<HTMLStyleElement>;
1402
+ sub: HTMLProps<HTMLElement>;
1403
+ summary: HTMLProps<HTMLElement>;
1404
+ sup: HTMLProps<HTMLElement>;
1405
+ table: HTMLProps<HTMLTableElement>;
1406
+ tbody: HTMLProps<HTMLTableSectionElement>;
1407
+ td: HTMLProps<HTMLTableDataCellElement>;
1408
+ textarea: HTMLProps<HTMLTextAreaElement>;
1409
+ tfoot: HTMLProps<HTMLTableSectionElement>;
1410
+ th: HTMLProps<HTMLTableHeaderCellElement>;
1411
+ thead: HTMLProps<HTMLTableSectionElement>;
1412
+ time: HTMLProps<HTMLElement>;
1413
+ title: HTMLProps<HTMLTitleElement>;
1414
+ tr: HTMLProps<HTMLTableRowElement>;
1415
+ track: HTMLProps<HTMLTrackElement>;
1416
+ u: HTMLProps<HTMLElement>;
1417
+ ul: HTMLProps<HTMLUListElement>;
1418
+ var: HTMLProps<HTMLElement>;
1419
+ video: HTMLProps<HTMLVideoElement> & SvelteVideoProps;
1420
+ wbr: HTMLProps<HTMLElement>;
1421
+
1422
+ svg: SVGProps<SVGSVGElement>;
1423
+
1424
+ animate: SVGProps<SVGElement>; // @TODO: It is SVGAnimateElement but not in dom.d.ts for now.
1425
+ circle: SVGProps<SVGCircleElement>;
1426
+ clipPath: SVGProps<SVGClipPathElement>;
1427
+ defs: SVGProps<SVGDefsElement>;
1428
+ desc: SVGProps<SVGDescElement>;
1429
+ ellipse: SVGProps<SVGEllipseElement>;
1430
+ feBlend: SVGProps<SVGFEBlendElement>;
1431
+ feColorMatrix: SVGProps<SVGFEColorMatrixElement>;
1432
+ feComponentTransfer: SVGProps<SVGFEComponentTransferElement>;
1433
+ feComposite: SVGProps<SVGFECompositeElement>;
1434
+ feConvolveMatrix: SVGProps<SVGFEConvolveMatrixElement>;
1435
+ feDiffuseLighting: SVGProps<SVGFEDiffuseLightingElement>;
1436
+ feDisplacementMap: SVGProps<SVGFEDisplacementMapElement>;
1437
+ feDistantLight: SVGProps<SVGFEDistantLightElement>;
1438
+ feFlood: SVGProps<SVGFEFloodElement>;
1439
+ feFuncA: SVGProps<SVGFEFuncAElement>;
1440
+ feFuncB: SVGProps<SVGFEFuncBElement>;
1441
+ feFuncG: SVGProps<SVGFEFuncGElement>;
1442
+ feFuncR: SVGProps<SVGFEFuncRElement>;
1443
+ feGaussianBlur: SVGProps<SVGFEGaussianBlurElement>;
1444
+ feImage: SVGProps<SVGFEImageElement>;
1445
+ feMerge: SVGProps<SVGFEMergeElement>;
1446
+ feMergeNode: SVGProps<SVGFEMergeNodeElement>;
1447
+ feMorphology: SVGProps<SVGFEMorphologyElement>;
1448
+ feOffset: SVGProps<SVGFEOffsetElement>;
1449
+ fePointLight: SVGProps<SVGFEPointLightElement>;
1450
+ feSpecularLighting: SVGProps<SVGFESpecularLightingElement>;
1451
+ feSpotLight: SVGProps<SVGFESpotLightElement>;
1452
+ feTile: SVGProps<SVGFETileElement>;
1453
+ feTurbulence: SVGProps<SVGFETurbulenceElement>;
1454
+ filter: SVGProps<SVGFilterElement>;
1455
+ foreignObject: SVGProps<SVGForeignObjectElement>;
1456
+ g: SVGProps<SVGGElement>;
1457
+ image: SVGProps<SVGImageElement>;
1458
+ line: SVGProps<SVGLineElement>;
1459
+ linearGradient: SVGProps<SVGLinearGradientElement>;
1460
+ marker: SVGProps<SVGMarkerElement>;
1461
+ mask: SVGProps<SVGMaskElement>;
1462
+ metadata: SVGProps<SVGMetadataElement>;
1463
+ path: SVGProps<SVGPathElement>;
1464
+ pattern: SVGProps<SVGPatternElement>;
1465
+ polygon: SVGProps<SVGPolygonElement>;
1466
+ polyline: SVGProps<SVGPolylineElement>;
1467
+ radialGradient: SVGProps<SVGRadialGradientElement>;
1468
+ rect: SVGProps<SVGRectElement>;
1469
+ stop: SVGProps<SVGStopElement>;
1470
+ switch: SVGProps<SVGSwitchElement>;
1471
+ symbol: SVGProps<SVGSymbolElement>;
1472
+ text: SVGProps<SVGTextElement>;
1473
+ textPath: SVGProps<SVGTextPathElement>;
1474
+ tspan: SVGProps<SVGTSpanElement>;
1475
+ use: SVGProps<SVGUseElement>;
1476
+ view: SVGProps<SVGViewElement>;
1477
+
1478
+ // Svelte specific
1479
+ sveltewindow: HTMLProps<Window> & SvelteWindowProps;
1480
+ sveltebody: HTMLProps<HTMLElement>;
1481
+ sveltefragment: { slot?: string; };
1482
+ svelteoptions: { [name: string]: any };
1483
+ sveltehead: { [name: string]: any };
1484
+ svelteelement: { 'this': string | undefined | null; } & HTMLProps<any> & SVGProps<any> & SapperAnchorProps;
1485
+ // Needed due to backwards compatibility type which hits these
1486
+ 'svelte:window': HTMLProps<Window> & SvelteWindowProps;
1487
+ 'svelte:body': HTMLProps<HTMLElement>;
1488
+ 'svelte:fragment': { slot?: string; };
1489
+ 'svelte:options': { [name: string]: any };
1490
+ 'svelte:head': { [name: string]: any };
1491
+ }
1492
+ }