svelte-typecheck 0.0.0 → 0.1.0

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