@solidjs/h 2.0.0-beta.6 → 2.0.0-beta.8

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,4308 @@
1
+ import * as csstype from "csstype";
2
+ import type { PropKey, WidenPropValue } from "./jsx-properties.cjs";
3
+
4
+ /**
5
+ * Originally based on JSX types for Surplus and Inferno and adapted for `dom-expressions`.
6
+ *
7
+ * - https://github.com/adamhaile/surplus/blob/master/index.d.ts
8
+ * - https://github.com/infernojs/inferno/blob/master/packages/inferno/src/core/types.ts
9
+ *
10
+ * MathML typings coming mostly from Preact
11
+ *
12
+ * - https://github.com/preactjs/preact/blob/07dc9f324e58569ce66634aa03fe8949b4190358/src/jsx.d.ts#L2575
13
+ *
14
+ * Checked against other frameworks via the following table:
15
+ *
16
+ * - https://potahtml.github.io/namespace-jsx-project/index.html
17
+ *
18
+ * # Typings on elements
19
+ *
20
+ * ## Attributes
21
+ *
22
+ * - Typings include attributes and not properties (unless the property Is special-cased, such
23
+ * textContent, event handlers, etc).
24
+ * - Attributes are lowercase to avoid confusion with properties.
25
+ * - Attributes are used "as is" and won't be transformed in any way (such to `lowercase` or from
26
+ * `dashed-case` to `camelCase`).
27
+ *
28
+ * ## Event Handlers
29
+ *
30
+ * - Event handlers use `camelCase` such `onClick` and will be delegated when possible, bubbling
31
+ * through the component tree, not the dom tree.
32
+ * - Native event handlers use the namespace `on:` such `on:click`, and wont be delegated. bubbling
33
+ * the dom tree.
34
+ * - A global case-insensitive event handler can be added by extending `EventHandlersElement<T>`
35
+ * - A native `on:` event handler can be added by extending `CustomEvents<T>` interface
36
+ *
37
+ * ## Boolean Attributes (property setter that accepts `true | false`):
38
+ *
39
+ * - `(bool)true` adds the attribute `<video autoplay={true}/>` or in JSX as `<video autoplay/>`
40
+ * - `(bool)false` removes the attribute from the DOM `<video autoplay={false}/>`
41
+ * - `=""` may be accepted for the sake of parity with html `<video autoplay=""/>`
42
+ * - `"true" | "false"` are NOT allowed, these are strings that evaluate to `(bool)true`
43
+ *
44
+ * ## Enumerated Attributes (attribute accepts 1 string value out of many)
45
+ *
46
+ * - Accepts any of the enumerated values, such: `"perhaps" | "maybe"`
47
+ * - When one of the possible values is empty(in html that's for the attribute to be present), then it
48
+ * will also accept `(bool)true` to make it consistent with boolean attributes.
49
+ *
50
+ * Such `popover` attribute provides `"" | "manual" | "auto" | "hint"`.
51
+ *
52
+ * By NOT allowing `(bool)true` we will have to write `<div popover="" />`. Therefore, To make it
53
+ * consistent with Boolean Attributes we accept `true | "" | "manual" | "auto" | "hint"`, such as:
54
+ * `<div popover={true} />` or in JSX `<div popover />` is allowed and equivalent to `<div
55
+ * popover="" />`
56
+ *
57
+ * ## Pseudo-Boolean Attributes (enumerated attributes that happen to accept the strings `"true" | "false"`)
58
+ *
59
+ * - Such `<div draggable="true"/>` or `<div draggable="false"/>`. The value of the attribute is a
60
+ * string not a boolean.
61
+ * - `<div draggable={true}/>` is not valid because `(bool)true` is NOT transformed to the string
62
+ * `"true"`. Likewise `<div draggable={false}/>` removes the attribute from the element.
63
+ * - MDN documentation https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/draggable
64
+ *
65
+ * ## All Of The Above In a nutshell
66
+ *
67
+ * - `(bool)true` adds an empty attribute
68
+ * - `(bool)false` removes the attribute
69
+ * - Attributes are lowercase
70
+ * - Event handlers are camelCase
71
+ * - Anything else is a `string` and used "as is"
72
+ * - Additionally, an attribute may be removed by `undefined`
73
+ *
74
+ * ## Using Properties
75
+ *
76
+ * - The namespace `prop:` could be used to directly set properties in native elements and
77
+ * custom-elements. `<custom-element prop:myProp={true}/>` equivalent to `el.myProp = true`
78
+ *
79
+ * ## Interfaces
80
+ *
81
+ * Events
82
+ *
83
+ * 1. An event handler goes in `EventHandlersElement` when:
84
+ *
85
+ * - `event` is global, that's to be defined in `HTMLElement` AND `SVGElement` AND `MathMLElement`
86
+ * - `event` is defined in `Element` (as `HTMLElement/MathMLElement/SVGElement` -> `Element`)
87
+ * 2. `<body>`, `<svg>`, `<framesete>` are special as these include `window` events
88
+ * 3. Any other event is special for its own tag.
89
+ *
90
+ * Browser Hierarchy
91
+ *
92
+ * - $Element (ex HTMLDivElement <div>) -> ... -> HTMLElement -> Element -> Node
93
+ * - $Element (all math elements are MathMLElement) MathMLElement -> Element -> Node
94
+ * - $Element`(ex SVGMaskElement <mask>) -> ... -> SVGElement -> Element -> Node
95
+ *
96
+ * Attributes
97
+ *
98
+ * <div> -> ... -> HTMLAttributes -> ElementAttributes
99
+ * <svg> -> ... -> SVGAttributes -> ElementAttributes
100
+ * <math> -> ... -> MathMLAttributes -> ElementAttributes
101
+ *
102
+ * ElementAttributes = `Element` + `Node` attributes (aka global attributes)
103
+ *
104
+ * HTMLAttributes = `HTMLElement` attributes (aka HTML global attributes)
105
+ * SVGAttributes = `SVGElement` attributes (aka SVG global attributes)
106
+ * MathMLAttributes = `MathMLElement` attributes (aka MATH global attributes)
107
+ *
108
+ * CustomAttributes = Framework attributes
109
+ */
110
+
111
+ type DOMElement = Element;
112
+
113
+ /**
114
+ * Fallback declarations for event types that are not yet defined in older TypeScript
115
+ * `lib.dom.d.ts` versions. When the user's TS lib defines these, declaration merging
116
+ * yields the full specialized type; otherwise these serve as a bare `Event` fallback.
117
+ */
118
+ declare global {
119
+ interface CommandEvent extends Event {}
120
+ interface PageRevealEvent extends Event {}
121
+ interface PageSwapEvent extends Event {}
122
+ interface SnapEvent extends Event {}
123
+ interface TimeEvent extends Event {}
124
+ }
125
+
126
+ export namespace JSX {
127
+ // START - difference between `jsx.d.ts` and `jsx-h.d.ts`
128
+ type FunctionMaybe<T = unknown> = { (): T } | T;
129
+ interface FunctionElement {
130
+ (): Element;
131
+ }
132
+
133
+ type Element =
134
+ | Node
135
+ | ArrayElement
136
+ | FunctionElement
137
+ | (string & {})
138
+ | number
139
+ | boolean
140
+ | null
141
+ | undefined;
142
+ // END - difference between `jsx.d.ts` and `jsx-h.d.ts`
143
+
144
+ interface ArrayElement extends Array<Element> {}
145
+
146
+ interface ElementClass {
147
+ // empty, libs can define requirements downstream
148
+ }
149
+ interface ElementAttributesProperty {
150
+ // empty, libs can define requirements downstream
151
+ }
152
+ interface ElementChildrenAttribute {
153
+ children: {};
154
+ }
155
+
156
+ // Event handlers
157
+
158
+ interface EventHandler<T, E extends Event> {
159
+ (
160
+ e: E & {
161
+ currentTarget: T;
162
+ target: DOMElement;
163
+ }
164
+ ): void;
165
+ }
166
+
167
+ interface BoundEventHandler<
168
+ T,
169
+ E extends Event,
170
+ EHandler extends EventHandler<T, any> = EventHandler<T, E>
171
+ > {
172
+ 0: (data: any, ...e: Parameters<EHandler>) => void;
173
+ 1: any;
174
+ }
175
+ type EventHandlerUnion<
176
+ T,
177
+ E extends Event,
178
+ EHandler extends EventHandler<T, any> = EventHandler<T, E>
179
+ > = EHandler | BoundEventHandler<T, E, EHandler>;
180
+
181
+ interface EventHandlerWithOptions<T, E extends Event, EHandler = EventHandler<T, E>>
182
+ extends AddEventListenerOptions, EventListenerOptions {
183
+ handleEvent: EHandler;
184
+ }
185
+
186
+ type EventHandlerWithOptionsUnion<
187
+ T,
188
+ E extends Event,
189
+ EHandler extends EventHandler<T, any> = EventHandler<T, E>
190
+ > = EHandler | EventHandlerWithOptions<T, E, EHandler>;
191
+
192
+ interface InputEventHandler<T, E extends InputEvent> {
193
+ (
194
+ e: E & {
195
+ currentTarget: T;
196
+ target: T extends HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement
197
+ ? T
198
+ : DOMElement;
199
+ }
200
+ ): void;
201
+ }
202
+ type InputEventHandlerUnion<T, E extends InputEvent> = EventHandlerUnion<
203
+ T,
204
+ E,
205
+ InputEventHandler<T, E>
206
+ >;
207
+
208
+ interface ChangeEventHandler<T, E extends Event> {
209
+ (
210
+ e: E & {
211
+ currentTarget: T;
212
+ target: T extends HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement
213
+ ? T
214
+ : DOMElement;
215
+ }
216
+ ): void;
217
+ }
218
+ type ChangeEventHandlerUnion<T, E extends Event> = EventHandlerUnion<
219
+ T,
220
+ E,
221
+ ChangeEventHandler<T, E>
222
+ >;
223
+
224
+ interface FocusEventHandler<T, E extends FocusEvent> {
225
+ (
226
+ e: E & {
227
+ currentTarget: T;
228
+ target: T extends HTMLInputElement | HTMLSelectElement | HTMLTextAreaElement
229
+ ? T
230
+ : DOMElement;
231
+ }
232
+ ): void;
233
+ }
234
+ type FocusEventHandlerUnion<T, E extends FocusEvent> = EventHandlerUnion<
235
+ T,
236
+ E,
237
+ FocusEventHandler<T, E>
238
+ >;
239
+ // end event handlers
240
+
241
+ type ClassList =
242
+ | Record<string, boolean>
243
+ | Array<string | number | boolean | null | undefined | Record<string, boolean>>;
244
+
245
+ const SERIALIZABLE: unique symbol;
246
+ interface SerializableAttributeValue {
247
+ toString(): string;
248
+ [SERIALIZABLE]: never;
249
+ }
250
+
251
+ type RefCallback<T> = (el: T) => void;
252
+ type Ref<T> = T | RefCallback<T> | (RefCallback<T> | Ref<T>)[];
253
+
254
+ interface IntrinsicAttributes {
255
+ ref?: Ref<unknown> | undefined;
256
+ }
257
+ interface CustomAttributes<T> {
258
+ ref?: Ref<T> | undefined;
259
+ children?: FunctionMaybe<Element | undefined>;
260
+ $ServerOnly?: boolean | undefined;
261
+ }
262
+ interface ExplicitProperties {}
263
+ interface CustomEvents {}
264
+ type PropAttributes = {
265
+ [Key in keyof ExplicitProperties as `prop:${Key}`]?: ExplicitProperties[Key];
266
+ };
267
+ type OnAttributes<T> = {
268
+ [Key in keyof CustomEvents as `on:${Key}`]?: EventHandlerWithOptionsUnion<T, CustomEvents[Key]>;
269
+ };
270
+
271
+ /**
272
+ * Writable, element-specific DOM properties exposed as `prop:*` attributes, auto-derived
273
+ * from the element interface `T`. See `./jsx-properties.d.ts` for the filtering rules.
274
+ * Existing element interfaces can locally disable an auto-derived key with
275
+ * `"prop:foo"?: never;` to redirect users to a plain attribute form.
276
+ */
277
+ type Properties<T> = {
278
+ [K in keyof T as PropKey<T, K>]?: FunctionMaybe<WidenPropValue<T[K]>>;
279
+ };
280
+
281
+ // CSS
282
+
283
+ interface CSSProperties extends csstype.PropertiesHyphen {
284
+ // Override
285
+ [key: `-${string}`]: string | number | undefined;
286
+ }
287
+
288
+ // TODO: Should we allow this?
289
+ // type ClassKeys = `class:${string}`;
290
+ // type CSSKeys = Exclude<keyof csstype.PropertiesHyphen, `-${string}`>;
291
+
292
+ // type CSSAttributes = {
293
+ // [key in CSSKeys as `style:${key}`]: csstype.PropertiesHyphen[key];
294
+ // };
295
+
296
+ // BOOLEAN
297
+
298
+ /**
299
+ * Boolean and Pseudo-Boolean Attributes Helpers.
300
+ *
301
+ * Please use the helpers to describe boolean and pseudo boolean attributes to make this file and
302
+ * also the typings easier to understand and explain.
303
+ */
304
+
305
+ type BooleanAttribute = true | false | "";
306
+
307
+ type BooleanProperty = true | false;
308
+
309
+ type EnumeratedPseudoBoolean = "false" | "true";
310
+
311
+ type EnumeratedAcceptsEmpty = "" | true;
312
+
313
+ type RemoveAttribute = undefined | false;
314
+
315
+ type RemoveProperty = undefined;
316
+
317
+ // ARIA
318
+
319
+ // All the WAI-ARIA 1.1 attributes from https://www.w3.org/TR/wai-aria-1.1/
320
+ interface AriaAttributes {
321
+ /**
322
+ * Identifies the currently active element when DOM focus is on a composite widget, textbox,
323
+ * group, or application.
324
+ */
325
+ "aria-activedescendant"?: FunctionMaybe<string | RemoveAttribute>;
326
+ /**
327
+ * Indicates whether assistive technologies will present all, or only parts of, the changed
328
+ * region based on the change notifications defined by the aria-relevant attribute.
329
+ */
330
+ "aria-atomic"?: FunctionMaybe<EnumeratedPseudoBoolean | RemoveAttribute>;
331
+ /**
332
+ * Similar to the global aria-label. Defines a string value that labels the current element,
333
+ * which is intended to be converted into Braille.
334
+ *
335
+ * @see aria-label.
336
+ */
337
+ "aria-braillelabel"?: FunctionMaybe<string | RemoveAttribute>;
338
+ /**
339
+ * Defines a human-readable, author-localized abbreviated description for the role of an element
340
+ * intended to be converted into Braille. Braille is not a one-to-one transliteration of letters
341
+ * and numbers, but rather it includes various abbreviations, contractions, and characters that
342
+ * represent words (known as logograms).
343
+ *
344
+ * Instead of converting long role descriptions to Braille, the aria-brailleroledescription
345
+ * attribute allows for providing an abbreviated version of the aria-roledescription value,
346
+ * which is a human-readable, author-localized description for the role of an element, for
347
+ * improved user experience with braille interfaces.
348
+ *
349
+ * @see aria-roledescription.
350
+ */
351
+ "aria-brailleroledescription"?: FunctionMaybe<string | RemoveAttribute>;
352
+ /**
353
+ * Indicates whether inputting text could trigger display of one or more predictions of the
354
+ * user's intended value for an input and specifies how predictions would be presented if they
355
+ * are made.
356
+ */
357
+ "aria-autocomplete"?: FunctionMaybe<"none" | "inline" | "list" | "both" | RemoveAttribute>;
358
+ /**
359
+ * Indicates an element is being modified and that assistive technologies MAY want to wait until
360
+ * the modifications are complete before exposing them to the user.
361
+ */
362
+ "aria-busy"?: FunctionMaybe<EnumeratedPseudoBoolean | RemoveAttribute>;
363
+ /**
364
+ * Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.
365
+ *
366
+ * @see aria-pressed @see aria-selected.
367
+ */
368
+ "aria-checked"?: FunctionMaybe<EnumeratedPseudoBoolean | "mixed" | RemoveAttribute>;
369
+ /**
370
+ * Defines the total number of columns in a table, grid, or treegrid.
371
+ *
372
+ * @see aria-colindex.
373
+ */
374
+ "aria-colcount"?: FunctionMaybe<number | string | RemoveAttribute>;
375
+ /**
376
+ * Defines an element's column index or position with respect to the total number of columns
377
+ * within a table, grid, or treegrid.
378
+ *
379
+ * @see aria-colcount @see aria-colspan.
380
+ */
381
+ "aria-colindex"?: FunctionMaybe<number | string | RemoveAttribute>;
382
+ /** Defines a human-readable text alternative of the numeric aria-colindex. */
383
+ "aria-colindextext"?: FunctionMaybe<number | string | RemoveAttribute>;
384
+ /**
385
+ * Defines the number of columns spanned by a cell or gridcell within a table, grid, or
386
+ * treegrid.
387
+ *
388
+ * @see aria-colindex @see aria-rowspan.
389
+ */
390
+ "aria-colspan"?: FunctionMaybe<number | string | RemoveAttribute>;
391
+ /**
392
+ * Identifies the element (or elements) whose contents or presence are controlled by the current
393
+ * element.
394
+ *
395
+ * @see aria-owns.
396
+ */
397
+ "aria-controls"?: FunctionMaybe<string | RemoveAttribute>;
398
+ /**
399
+ * Indicates the element that represents the current item within a container or set of related
400
+ * elements.
401
+ */
402
+ "aria-current"?: FunctionMaybe<
403
+ EnumeratedPseudoBoolean | "page" | "step" | "location" | "date" | "time" | RemoveAttribute
404
+ >;
405
+ /**
406
+ * Identifies the element (or elements) that describes the object.
407
+ *
408
+ * @see aria-labelledby
409
+ */
410
+ "aria-describedby"?: FunctionMaybe<string | RemoveAttribute>;
411
+ /**
412
+ * Defines a string value that describes or annotates the current element.
413
+ *
414
+ * @see aria-describedby
415
+ */
416
+ "aria-description"?: FunctionMaybe<string | RemoveAttribute>;
417
+ /**
418
+ * Identifies the element that provides a detailed, extended description for the object.
419
+ *
420
+ * @see aria-describedby.
421
+ */
422
+ "aria-details"?: FunctionMaybe<string | RemoveAttribute>;
423
+ /**
424
+ * Indicates that the element is perceivable but disabled, so it is not editable or otherwise
425
+ * operable.
426
+ *
427
+ * @see aria-hidden @see aria-readonly.
428
+ */
429
+ "aria-disabled"?: FunctionMaybe<EnumeratedPseudoBoolean | RemoveAttribute>;
430
+ /**
431
+ * Indicates what functions can be performed when a dragged object is released on the drop
432
+ * target.
433
+ *
434
+ * @deprecated In ARIA 1.1
435
+ */
436
+ "aria-dropeffect"?: FunctionMaybe<
437
+ "none" | "copy" | "execute" | "link" | "move" | "popup" | RemoveAttribute
438
+ >;
439
+ /**
440
+ * Identifies the element that provides an error message for the object.
441
+ *
442
+ * @see aria-invalid @see aria-describedby.
443
+ */
444
+ "aria-errormessage"?: FunctionMaybe<string | RemoveAttribute>;
445
+ /**
446
+ * Indicates whether the element, or another grouping element it controls, is currently expanded
447
+ * or collapsed.
448
+ */
449
+ "aria-expanded"?: FunctionMaybe<EnumeratedPseudoBoolean | RemoveAttribute>;
450
+ /**
451
+ * Identifies the next element (or elements) in an alternate reading order of content which, at
452
+ * the user's discretion, allows assistive technology to override the general default of reading
453
+ * in document source order.
454
+ */
455
+ "aria-flowto"?: FunctionMaybe<string | RemoveAttribute>;
456
+ /**
457
+ * Indicates an element's "grabbed" state in a drag-and-drop operation.
458
+ *
459
+ * @deprecated In ARIA 1.1
460
+ */
461
+ "aria-grabbed"?: FunctionMaybe<EnumeratedPseudoBoolean | RemoveAttribute>;
462
+ /**
463
+ * Indicates the availability and type of interactive popup element, such as menu or dialog,
464
+ * that can be triggered by an element.
465
+ */
466
+ "aria-haspopup"?: FunctionMaybe<
467
+ EnumeratedPseudoBoolean | "menu" | "listbox" | "tree" | "grid" | "dialog" | RemoveAttribute
468
+ >;
469
+ /**
470
+ * Indicates whether the element is exposed to an accessibility API.
471
+ *
472
+ * @see aria-disabled.
473
+ */
474
+ "aria-hidden"?: FunctionMaybe<EnumeratedPseudoBoolean | RemoveAttribute>;
475
+ /**
476
+ * Indicates the entered value does not conform to the format expected by the application.
477
+ *
478
+ * @see aria-errormessage.
479
+ */
480
+ "aria-invalid"?: FunctionMaybe<
481
+ EnumeratedPseudoBoolean | "grammar" | "spelling" | RemoveAttribute
482
+ >;
483
+ /**
484
+ * Indicates keyboard shortcuts that an author has implemented to activate or give focus to an
485
+ * element.
486
+ */
487
+ "aria-keyshortcuts"?: FunctionMaybe<string | RemoveAttribute>;
488
+ /**
489
+ * Defines a string value that labels the current element.
490
+ *
491
+ * @see aria-labelledby.
492
+ */
493
+ "aria-label"?: FunctionMaybe<string | RemoveAttribute>;
494
+ /**
495
+ * Identifies the element (or elements) that labels the current element.
496
+ *
497
+ * @see aria-describedby.
498
+ */
499
+ "aria-labelledby"?: FunctionMaybe<string | RemoveAttribute>;
500
+ /** Defines the hierarchical level of an element within a structure. */
501
+ "aria-level"?: FunctionMaybe<number | string | RemoveAttribute>;
502
+ /**
503
+ * Indicates that an element will be updated, and describes the types of updates the user
504
+ * agents, assistive technologies, and user can expect from the live region.
505
+ */
506
+ "aria-live"?: FunctionMaybe<"off" | "assertive" | "polite" | RemoveAttribute>;
507
+ /** Indicates whether an element is modal when displayed. */
508
+ "aria-modal"?: FunctionMaybe<EnumeratedPseudoBoolean | RemoveAttribute>;
509
+ /** Indicates whether a text box accepts multiple lines of input or only a single line. */
510
+ "aria-multiline"?: FunctionMaybe<EnumeratedPseudoBoolean | RemoveAttribute>;
511
+ /**
512
+ * Indicates that the user may select more than one item from the current selectable
513
+ * descendants.
514
+ */
515
+ "aria-multiselectable"?: FunctionMaybe<EnumeratedPseudoBoolean | RemoveAttribute>;
516
+ /** Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous. */
517
+ "aria-orientation"?: FunctionMaybe<"horizontal" | "vertical" | RemoveAttribute>;
518
+ /**
519
+ * Identifies an element (or elements) in order to define a visual, functional, or contextual
520
+ * parent/child relationship between DOM elements where the DOM hierarchy cannot be used to
521
+ * represent the relationship.
522
+ *
523
+ * @see aria-controls.
524
+ */
525
+ "aria-owns"?: FunctionMaybe<string | RemoveAttribute>;
526
+ /**
527
+ * Defines a short hint (a word or short phrase) intended to aid the user with data entry when
528
+ * the control has no value. A hint could be a sample value or a brief description of the
529
+ * expected format.
530
+ */
531
+ "aria-placeholder"?: FunctionMaybe<string | RemoveAttribute>;
532
+ /**
533
+ * Defines an element's number or position in the current set of listitems or treeitems. Not
534
+ * required if all elements in the set are present in the DOM.
535
+ *
536
+ * @see aria-setsize.
537
+ */
538
+ "aria-posinset"?: FunctionMaybe<number | string | RemoveAttribute>;
539
+ /**
540
+ * Indicates the current "pressed" state of toggle buttons.
541
+ *
542
+ * @see aria-checked @see aria-selected.
543
+ */
544
+ "aria-pressed"?: FunctionMaybe<EnumeratedPseudoBoolean | "mixed" | RemoveAttribute>;
545
+ /**
546
+ * Indicates that the element is not editable, but is otherwise operable.
547
+ *
548
+ * @see aria-disabled.
549
+ */
550
+ "aria-readonly"?: FunctionMaybe<EnumeratedPseudoBoolean | RemoveAttribute>;
551
+ /**
552
+ * Indicates what notifications the user agent will trigger when the accessibility tree within a
553
+ * live region is modified.
554
+ *
555
+ * @see aria-atomic.
556
+ */
557
+ "aria-relevant"?: FunctionMaybe<
558
+ | "additions"
559
+ | "additions removals"
560
+ | "additions text"
561
+ | "all"
562
+ | "removals"
563
+ | "removals additions"
564
+ | "removals text"
565
+ | "text"
566
+ | "text additions"
567
+ | "text removals"
568
+ | RemoveAttribute
569
+ >;
570
+ /** Indicates that user input is required on the element before a form may be submitted. */
571
+ "aria-required"?: FunctionMaybe<EnumeratedPseudoBoolean | RemoveAttribute>;
572
+ /** Defines a human-readable, author-localized description for the role of an element. */
573
+ "aria-roledescription"?: FunctionMaybe<string | RemoveAttribute>;
574
+ /**
575
+ * Defines the total number of rows in a table, grid, or treegrid.
576
+ *
577
+ * @see aria-rowindex.
578
+ */
579
+ "aria-rowcount"?: FunctionMaybe<number | string | RemoveAttribute>;
580
+ /**
581
+ * Defines an element's row index or position with respect to the total number of rows within a
582
+ * table, grid, or treegrid.
583
+ *
584
+ * @see aria-rowcount @see aria-rowspan.
585
+ */
586
+ "aria-rowindex"?: FunctionMaybe<number | string | RemoveAttribute>;
587
+ /** Defines a human-readable text alternative of aria-rowindex. */
588
+ "aria-rowindextext"?: FunctionMaybe<number | string | RemoveAttribute>;
589
+
590
+ /**
591
+ * Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
592
+ *
593
+ * @see aria-rowindex @see aria-colspan.
594
+ */
595
+ "aria-rowspan"?: FunctionMaybe<number | string | RemoveAttribute>;
596
+ /**
597
+ * Indicates the current "selected" state of various widgets.
598
+ *
599
+ * @see aria-checked @see aria-pressed.
600
+ */
601
+ "aria-selected"?: FunctionMaybe<EnumeratedPseudoBoolean | RemoveAttribute>;
602
+ /**
603
+ * Defines the number of items in the current set of listitems or treeitems. Not required if all
604
+ * elements in the set are present in the DOM.
605
+ *
606
+ * @see aria-posinset.
607
+ */
608
+ "aria-setsize"?: FunctionMaybe<number | string | RemoveAttribute>;
609
+ /** Indicates if items in a table or grid are sorted in ascending or descending order. */
610
+ "aria-sort"?: FunctionMaybe<"none" | "ascending" | "descending" | "other" | RemoveAttribute>;
611
+ /** Defines the maximum allowed value for a range widget. */
612
+ "aria-valuemax"?: FunctionMaybe<number | string | RemoveAttribute>;
613
+ /** Defines the minimum allowed value for a range widget. */
614
+ "aria-valuemin"?: FunctionMaybe<number | string | RemoveAttribute>;
615
+ /**
616
+ * Defines the current value for a range widget.
617
+ *
618
+ * @see aria-valuetext.
619
+ */
620
+ "aria-valuenow"?: FunctionMaybe<number | string | RemoveAttribute>;
621
+ /** Defines the human readable text alternative of aria-valuenow for a range widget. */
622
+ "aria-valuetext"?: FunctionMaybe<string | RemoveAttribute>;
623
+ role?: FunctionMaybe<
624
+ | "alert"
625
+ | "alertdialog"
626
+ | "application"
627
+ | "article"
628
+ | "banner"
629
+ | "button"
630
+ | "cell"
631
+ | "checkbox"
632
+ | "columnheader"
633
+ | "combobox"
634
+ | "complementary"
635
+ | "contentinfo"
636
+ | "definition"
637
+ | "dialog"
638
+ | "directory"
639
+ | "document"
640
+ | "feed"
641
+ | "figure"
642
+ | "form"
643
+ | "grid"
644
+ | "gridcell"
645
+ | "group"
646
+ | "heading"
647
+ | "img"
648
+ | "link"
649
+ | "list"
650
+ | "listbox"
651
+ | "listitem"
652
+ | "log"
653
+ | "main"
654
+ | "marquee"
655
+ | "math"
656
+ | "menu"
657
+ | "menubar"
658
+ | "menuitem"
659
+ | "menuitemcheckbox"
660
+ | "menuitemradio"
661
+ | "meter"
662
+ | "navigation"
663
+ | "none"
664
+ | "note"
665
+ | "option"
666
+ | "presentation"
667
+ | "progressbar"
668
+ | "radio"
669
+ | "radiogroup"
670
+ | "region"
671
+ | "row"
672
+ | "rowgroup"
673
+ | "rowheader"
674
+ | "scrollbar"
675
+ | "search"
676
+ | "searchbox"
677
+ | "separator"
678
+ | "slider"
679
+ | "spinbutton"
680
+ | "status"
681
+ | "switch"
682
+ | "tab"
683
+ | "table"
684
+ | "tablist"
685
+ | "tabpanel"
686
+ | "term"
687
+ | "textbox"
688
+ | "timer"
689
+ | "toolbar"
690
+ | "tooltip"
691
+ | "tree"
692
+ | "treegrid"
693
+ | "treeitem"
694
+ | RemoveAttribute
695
+ >;
696
+ }
697
+
698
+ // EVENTS
699
+
700
+ /**
701
+ * `Window` events, defined for `<body>`, `<svg>`, `<frameset>` tags.
702
+ *
703
+ * Excluding `EventHandlersElement` events already defined as globals that all tags share, such as
704
+ * `onblur`.
705
+ */
706
+ interface EventHandlersWindow<T> {
707
+ onAfterPrint?: EventHandlerUnion<T, Event> | undefined;
708
+ onBeforePrint?: EventHandlerUnion<T, Event> | undefined;
709
+ onBeforeUnload?: EventHandlerUnion<T, BeforeUnloadEvent> | undefined;
710
+ onDeviceMotion?: EventHandlerUnion<T, DeviceMotionEvent> | undefined;
711
+ onDeviceOrientation?: EventHandlerUnion<T, DeviceOrientationEvent> | undefined;
712
+ onDeviceOrientationAbsolute?: EventHandlerUnion<T, DeviceOrientationEvent> | undefined;
713
+ onGamepadConnected?: EventHandlerUnion<T, GamepadEvent> | undefined;
714
+ onGamepadDisconnected?: EventHandlerUnion<T, GamepadEvent> | undefined;
715
+ onHashchange?: EventHandlerUnion<T, HashChangeEvent> | undefined;
716
+ onLanguageChange?: EventHandlerUnion<T, Event> | undefined;
717
+ onMessage?: EventHandlerUnion<T, MessageEvent> | undefined;
718
+ onMessageError?: EventHandlerUnion<T, MessageEvent> | undefined;
719
+ onOffline?: EventHandlerUnion<T, Event> | undefined;
720
+ onOnline?: EventHandlerUnion<T, Event> | undefined;
721
+ /** @deprecated Use `screen.orientation` (`ScreenOrientation.change`) instead. */
722
+ onOrientationChange?: EventHandlerUnion<T, Event> | undefined;
723
+ onPageHide?: EventHandlerUnion<T, PageTransitionEvent> | undefined;
724
+ onPageReveal?: EventHandlerUnion<T, PageRevealEvent> | undefined;
725
+ onPageShow?: EventHandlerUnion<T, PageTransitionEvent> | undefined;
726
+ onPageSwap?: EventHandlerUnion<T, PageSwapEvent> | undefined;
727
+ onPopstate?: EventHandlerUnion<T, PopStateEvent> | undefined;
728
+ onRejectionHandled?: EventHandlerUnion<T, PromiseRejectionEvent> | undefined;
729
+ onStorage?: EventHandlerUnion<T, StorageEvent> | undefined;
730
+ onUnhandledRejection?: EventHandlerUnion<T, PromiseRejectionEvent> | undefined;
731
+ onUnload?: EventHandlerUnion<T, Event> | undefined;
732
+
733
+ "on:afterprint"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
734
+ "on:beforeprint"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
735
+ "on:beforeunload"?: EventHandlerWithOptionsUnion<T, BeforeUnloadEvent> | undefined;
736
+ "on:devicemotion"?: EventHandlerWithOptionsUnion<T, DeviceMotionEvent> | undefined;
737
+ "on:deviceorientation"?: EventHandlerWithOptionsUnion<T, DeviceOrientationEvent> | undefined;
738
+ "on:deviceorientationabsolute"?:
739
+ | EventHandlerWithOptionsUnion<T, DeviceOrientationEvent>
740
+ | undefined;
741
+ "on:gamepadconnected"?: EventHandlerWithOptionsUnion<T, GamepadEvent> | undefined;
742
+ "on:gamepaddisconnected"?: EventHandlerWithOptionsUnion<T, GamepadEvent> | undefined;
743
+ "on:hashchange"?: EventHandlerWithOptionsUnion<T, HashChangeEvent> | undefined;
744
+ "on:languagechange"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
745
+ "on:message"?: EventHandlerWithOptionsUnion<T, MessageEvent> | undefined;
746
+ "on:messageerror"?: EventHandlerWithOptionsUnion<T, MessageEvent> | undefined;
747
+ "on:offline"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
748
+ "on:online"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
749
+ /** @deprecated Use `screen.orientation` (`ScreenOrientation.change`) instead. */
750
+ "on:orientationchange"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
751
+ "on:pagehide"?: EventHandlerWithOptionsUnion<T, PageTransitionEvent> | undefined;
752
+ "on:pagereveal"?: EventHandlerWithOptionsUnion<T, PageRevealEvent> | undefined;
753
+ "on:pageshow"?: EventHandlerWithOptionsUnion<T, PageTransitionEvent> | undefined;
754
+ "on:pageswap"?: EventHandlerWithOptionsUnion<T, PageSwapEvent> | undefined;
755
+ "on:popstate"?: EventHandlerWithOptionsUnion<T, PopStateEvent> | undefined;
756
+ "on:rejectionhandled"?: EventHandlerWithOptionsUnion<T, PromiseRejectionEvent> | undefined;
757
+ "on:storage"?: EventHandlerWithOptionsUnion<T, StorageEvent> | undefined;
758
+ "on:unhandledrejection"?: EventHandlerWithOptionsUnion<T, PromiseRejectionEvent> | undefined;
759
+ "on:unload"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
760
+ }
761
+
762
+ /**
763
+ * Global `EventHandlersElement`, defined for all tags.
764
+ *
765
+ * That's events defined and shared BY ALL of the `HTMLElement/SVGElement/MathMLElement`
766
+ * interfaces.
767
+ *
768
+ * Includes events defined for the `Element` interface.
769
+ */
770
+ interface EventHandlersElement<T> {
771
+ onAbort?: EventHandlerUnion<T, UIEvent> | undefined;
772
+ onAnimationCancel?: EventHandlerUnion<T, AnimationEvent> | undefined;
773
+ onAnimationEnd?: EventHandlerUnion<T, AnimationEvent> | undefined;
774
+ onAnimationIteration?: EventHandlerUnion<T, AnimationEvent> | undefined;
775
+ onAnimationStart?: EventHandlerUnion<T, AnimationEvent> | undefined;
776
+ onAuxClick?: EventHandlerUnion<T, PointerEvent> | undefined;
777
+ onBeforeCopy?: EventHandlerUnion<T, ClipboardEvent> | undefined;
778
+ onBeforeCut?: EventHandlerUnion<T, ClipboardEvent> | undefined;
779
+ onBeforeInput?: InputEventHandlerUnion<T, InputEvent> | undefined;
780
+ onBeforeMatch?: EventHandlerUnion<T, Event> | undefined;
781
+ onBeforePaste?: EventHandlerUnion<T, ClipboardEvent> | undefined;
782
+ onBeforeToggle?: EventHandlerUnion<T, ToggleEvent> | undefined;
783
+ onBeforeXRSelect?: EventHandlerUnion<T, Event> | undefined;
784
+ onBlur?: FocusEventHandlerUnion<T, FocusEvent> | undefined;
785
+ onCancel?: EventHandlerUnion<T, Event> | undefined;
786
+ onCanPlay?: EventHandlerUnion<T, Event> | undefined;
787
+ onCanPlayThrough?: EventHandlerUnion<T, Event> | undefined;
788
+ onChange?: ChangeEventHandlerUnion<T, Event> | undefined;
789
+ onClick?: EventHandlerUnion<T, MouseEvent> | undefined;
790
+ onClose?: EventHandlerUnion<T, Event> | undefined;
791
+ onCommand?: EventHandlerUnion<T, CommandEvent> | undefined;
792
+ onCompositionEnd?: EventHandlerUnion<T, CompositionEvent> | undefined;
793
+ onCompositionStart?: EventHandlerUnion<T, CompositionEvent> | undefined;
794
+ onCompositionUpdate?: EventHandlerUnion<T, CompositionEvent> | undefined;
795
+ onContentVisibilityAutoStateChange?:
796
+ | EventHandlerUnion<T, ContentVisibilityAutoStateChangeEvent>
797
+ | undefined;
798
+ onContextLost?: EventHandlerUnion<T, Event> | undefined;
799
+ onContextMenu?: EventHandlerUnion<T, PointerEvent> | undefined;
800
+ onContextRestored?: EventHandlerUnion<T, Event> | undefined;
801
+ onCopy?: EventHandlerUnion<T, ClipboardEvent> | undefined;
802
+ onCueChange?: EventHandlerUnion<T, Event> | undefined;
803
+ onCut?: EventHandlerUnion<T, ClipboardEvent> | undefined;
804
+ onDblClick?: EventHandlerUnion<T, MouseEvent> | undefined;
805
+ onDrag?: EventHandlerUnion<T, DragEvent> | undefined;
806
+ onDragEnd?: EventHandlerUnion<T, DragEvent> | undefined;
807
+ onDragEnter?: EventHandlerUnion<T, DragEvent> | undefined;
808
+ onDragExit?: EventHandlerUnion<T, DragEvent> | undefined;
809
+ onDragLeave?: EventHandlerUnion<T, DragEvent> | undefined;
810
+ onDragOver?: EventHandlerUnion<T, DragEvent> | undefined;
811
+ onDragStart?: EventHandlerUnion<T, DragEvent> | undefined;
812
+ onDrop?: EventHandlerUnion<T, DragEvent> | undefined;
813
+ onDurationChange?: EventHandlerUnion<T, Event> | undefined;
814
+ onEmptied?: EventHandlerUnion<T, Event> | undefined;
815
+ onEnded?: EventHandlerUnion<T, Event> | undefined;
816
+ onError?: EventHandlerUnion<T, ErrorEvent> | undefined;
817
+ onFocus?: FocusEventHandlerUnion<T, FocusEvent> | undefined;
818
+ onFocusIn?: FocusEventHandlerUnion<T, FocusEvent> | undefined;
819
+ onFocusOut?: FocusEventHandlerUnion<T, FocusEvent> | undefined;
820
+ onFormData?: EventHandlerUnion<T, FormDataEvent> | undefined;
821
+ onFullscreenChange?: EventHandlerUnion<T, Event> | undefined;
822
+ onFullscreenError?: EventHandlerUnion<T, Event> | undefined;
823
+ onGotPointerCapture?: EventHandlerUnion<T, PointerEvent> | undefined;
824
+ onInput?: InputEventHandlerUnion<T, InputEvent> | undefined;
825
+ onInvalid?: EventHandlerUnion<T, Event> | undefined;
826
+ onKeyDown?: EventHandlerUnion<T, KeyboardEvent> | undefined;
827
+ onKeyPress?: EventHandlerUnion<T, KeyboardEvent> | undefined;
828
+ onKeyUp?: EventHandlerUnion<T, KeyboardEvent> | undefined;
829
+ onLoad?: EventHandlerUnion<T, Event> | undefined;
830
+ onLoadedData?: EventHandlerUnion<T, Event> | undefined;
831
+ onLoadedMetadata?: EventHandlerUnion<T, Event> | undefined;
832
+ onLoadStart?: EventHandlerUnion<T, Event> | undefined;
833
+ onLostPointerCapture?: EventHandlerUnion<T, PointerEvent> | undefined;
834
+ onMouseDown?: EventHandlerUnion<T, MouseEvent> | undefined;
835
+ onMouseEnter?: EventHandlerUnion<T, MouseEvent> | undefined;
836
+ onMouseLeave?: EventHandlerUnion<T, MouseEvent> | undefined;
837
+ onMouseMove?: EventHandlerUnion<T, MouseEvent> | undefined;
838
+ onMouseOut?: EventHandlerUnion<T, MouseEvent> | undefined;
839
+ onMouseOver?: EventHandlerUnion<T, MouseEvent> | undefined;
840
+ onMouseUp?: EventHandlerUnion<T, MouseEvent> | undefined;
841
+ onPaste?: EventHandlerUnion<T, ClipboardEvent> | undefined;
842
+ onPause?: EventHandlerUnion<T, Event> | undefined;
843
+ onPlay?: EventHandlerUnion<T, Event> | undefined;
844
+ onPlaying?: EventHandlerUnion<T, Event> | undefined;
845
+ onPointerCancel?: EventHandlerUnion<T, PointerEvent> | undefined;
846
+ onPointerDown?: EventHandlerUnion<T, PointerEvent> | undefined;
847
+ onPointerEnter?: EventHandlerUnion<T, PointerEvent> | undefined;
848
+ onPointerLeave?: EventHandlerUnion<T, PointerEvent> | undefined;
849
+ onPointerMove?: EventHandlerUnion<T, PointerEvent> | undefined;
850
+ onPointerOut?: EventHandlerUnion<T, PointerEvent> | undefined;
851
+ onPointerOver?: EventHandlerUnion<T, PointerEvent> | undefined;
852
+ onPointerRawUpdate?: EventHandlerUnion<T, PointerEvent> | undefined;
853
+ onPointerUp?: EventHandlerUnion<T, PointerEvent> | undefined;
854
+ onProgress?: EventHandlerUnion<T, ProgressEvent> | undefined;
855
+ onRateChange?: EventHandlerUnion<T, Event> | undefined;
856
+ onReset?: EventHandlerUnion<T, Event> | undefined;
857
+ onResize?: EventHandlerUnion<T, UIEvent> | undefined;
858
+ onScroll?: EventHandlerUnion<T, Event> | undefined;
859
+ onScrollEnd?: EventHandlerUnion<T, Event> | undefined;
860
+ onScrollSnapChange?: EventHandlerUnion<T, SnapEvent> | undefined;
861
+ onScrollSnapChanging?: EventHandlerUnion<T, SnapEvent> | undefined;
862
+ onSecurityPolicyViolation?: EventHandlerUnion<T, SecurityPolicyViolationEvent> | undefined;
863
+ onSeeked?: EventHandlerUnion<T, Event> | undefined;
864
+ onSeeking?: EventHandlerUnion<T, Event> | undefined;
865
+ onSelect?: EventHandlerUnion<T, Event> | undefined;
866
+ onSelectionChange?: EventHandlerUnion<T, Event> | undefined;
867
+ onSelectStart?: EventHandlerUnion<T, Event> | undefined;
868
+ onSlotChange?: EventHandlerUnion<T, Event> | undefined;
869
+ onStalled?: EventHandlerUnion<T, Event> | undefined;
870
+ onSubmit?: EventHandlerUnion<T, SubmitEvent> | undefined;
871
+ onSuspend?: EventHandlerUnion<T, Event> | undefined;
872
+ onTimeUpdate?: EventHandlerUnion<T, Event> | undefined;
873
+ onToggle?: EventHandlerUnion<T, ToggleEvent> | undefined;
874
+ onTouchCancel?: EventHandlerUnion<T, TouchEvent> | undefined;
875
+ onTouchEnd?: EventHandlerUnion<T, TouchEvent> | undefined;
876
+ onTouchMove?: EventHandlerUnion<T, TouchEvent> | undefined;
877
+ onTouchStart?: EventHandlerUnion<T, TouchEvent> | undefined;
878
+ onTransitionCancel?: EventHandlerUnion<T, TransitionEvent> | undefined;
879
+ onTransitionEnd?: EventHandlerUnion<T, TransitionEvent> | undefined;
880
+ onTransitionRun?: EventHandlerUnion<T, TransitionEvent> | undefined;
881
+ onTransitionStart?: EventHandlerUnion<T, TransitionEvent> | undefined;
882
+ onVolumeChange?: EventHandlerUnion<T, Event> | undefined;
883
+ onWaiting?: EventHandlerUnion<T, Event> | undefined;
884
+ onWheel?: EventHandlerUnion<T, WheelEvent> | undefined;
885
+
886
+ "on:abort"?: EventHandlerWithOptionsUnion<T, UIEvent> | undefined;
887
+ "on:animationcancel"?: EventHandlerWithOptionsUnion<T, AnimationEvent> | undefined;
888
+ "on:animationend"?: EventHandlerWithOptionsUnion<T, AnimationEvent> | undefined;
889
+ "on:animationiteration"?: EventHandlerWithOptionsUnion<T, AnimationEvent> | undefined;
890
+ "on:animationstart"?: EventHandlerWithOptionsUnion<T, AnimationEvent> | undefined;
891
+ "on:auxclick"?: EventHandlerWithOptionsUnion<T, PointerEvent> | undefined;
892
+ "on:beforecopy"?: EventHandlerWithOptionsUnion<T, ClipboardEvent> | undefined;
893
+ "on:beforecut"?: EventHandlerWithOptionsUnion<T, ClipboardEvent> | undefined;
894
+ "on:beforeinput"?:
895
+ | EventHandlerWithOptionsUnion<T, InputEvent, InputEventHandler<T, InputEvent>>
896
+ | undefined;
897
+ "on:beforematch"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
898
+ "on:beforepaste"?: EventHandlerWithOptionsUnion<T, ClipboardEvent> | undefined;
899
+ "on:beforetoggle"?: EventHandlerWithOptionsUnion<T, ToggleEvent> | undefined;
900
+ "on:beforexrselect"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
901
+ "on:blur"?:
902
+ | EventHandlerWithOptionsUnion<T, FocusEvent, FocusEventHandler<T, FocusEvent>>
903
+ | undefined;
904
+ "on:cancel"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
905
+ "on:canplay"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
906
+ "on:canplaythrough"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
907
+ "on:change"?: EventHandlerWithOptionsUnion<T, Event, ChangeEventHandler<T, Event>> | undefined;
908
+ "on:click"?: EventHandlerWithOptionsUnion<T, MouseEvent> | undefined;
909
+ "on:close"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
910
+ "on:command"?: EventHandlerWithOptionsUnion<T, CommandEvent> | undefined;
911
+ "on:compositionend"?: EventHandlerWithOptionsUnion<T, CompositionEvent> | undefined;
912
+ "on:compositionstart"?: EventHandlerWithOptionsUnion<T, CompositionEvent> | undefined;
913
+ "on:compositionupdate"?: EventHandlerWithOptionsUnion<T, CompositionEvent> | undefined;
914
+ "on:contentvisibilityautostatechange"?:
915
+ | EventHandlerWithOptionsUnion<T, ContentVisibilityAutoStateChangeEvent>
916
+ | undefined;
917
+ "on:contextlost"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
918
+ "on:contextmenu"?: EventHandlerWithOptionsUnion<T, PointerEvent> | undefined;
919
+ "on:contextrestored"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
920
+ "on:copy"?: EventHandlerWithOptionsUnion<T, ClipboardEvent> | undefined;
921
+ "on:cuechange"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
922
+ "on:cut"?: EventHandlerWithOptionsUnion<T, ClipboardEvent> | undefined;
923
+ "on:dblclick"?: EventHandlerWithOptionsUnion<T, MouseEvent> | undefined;
924
+ "on:drag"?: EventHandlerWithOptionsUnion<T, DragEvent> | undefined;
925
+ "on:dragend"?: EventHandlerWithOptionsUnion<T, DragEvent> | undefined;
926
+ "on:dragenter"?: EventHandlerWithOptionsUnion<T, DragEvent> | undefined;
927
+ "on:dragexit"?: EventHandlerWithOptionsUnion<T, DragEvent> | undefined;
928
+ "on:dragleave"?: EventHandlerWithOptionsUnion<T, DragEvent> | undefined;
929
+ "on:dragover"?: EventHandlerWithOptionsUnion<T, DragEvent> | undefined;
930
+ "on:dragstart"?: EventHandlerWithOptionsUnion<T, DragEvent> | undefined;
931
+ "on:drop"?: EventHandlerWithOptionsUnion<T, DragEvent> | undefined;
932
+ "on:durationchange"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
933
+ "on:emptied"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
934
+ "on:ended"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
935
+ "on:error"?: EventHandlerWithOptionsUnion<T, ErrorEvent> | undefined;
936
+ "on:focus"?:
937
+ | EventHandlerWithOptionsUnion<T, FocusEvent, FocusEventHandler<T, FocusEvent>>
938
+ | undefined;
939
+ "on:focusin"?:
940
+ | EventHandlerWithOptionsUnion<T, FocusEvent, FocusEventHandler<T, FocusEvent>>
941
+ | undefined;
942
+ "on:focusout"?:
943
+ | EventHandlerWithOptionsUnion<T, FocusEvent, FocusEventHandler<T, FocusEvent>>
944
+ | undefined;
945
+ "on:formdata"?: EventHandlerWithOptionsUnion<T, FormDataEvent> | undefined;
946
+ "on:fullscreenchange"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
947
+ "on:fullscreenerror"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
948
+ "on:gotpointercapture"?: EventHandlerWithOptionsUnion<T, PointerEvent> | undefined;
949
+ "on:input"?:
950
+ | EventHandlerWithOptionsUnion<T, InputEvent, InputEventHandler<T, InputEvent>>
951
+ | undefined;
952
+ "on:invalid"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
953
+ "on:keydown"?: EventHandlerWithOptionsUnion<T, KeyboardEvent> | undefined;
954
+ "on:keypress"?: EventHandlerWithOptionsUnion<T, KeyboardEvent> | undefined;
955
+ "on:keyup"?: EventHandlerWithOptionsUnion<T, KeyboardEvent> | undefined;
956
+ "on:load"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
957
+ "on:loadeddata"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
958
+ "on:loadedmetadata"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
959
+ "on:loadstart"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
960
+ "on:lostpointercapture"?: EventHandlerWithOptionsUnion<T, PointerEvent> | undefined;
961
+ "on:mousedown"?: EventHandlerWithOptionsUnion<T, MouseEvent> | undefined;
962
+ "on:mouseenter"?: EventHandlerWithOptionsUnion<T, MouseEvent> | undefined;
963
+ "on:mouseleave"?: EventHandlerWithOptionsUnion<T, MouseEvent> | undefined;
964
+ "on:mousemove"?: EventHandlerWithOptionsUnion<T, MouseEvent> | undefined;
965
+ "on:mouseout"?: EventHandlerWithOptionsUnion<T, MouseEvent> | undefined;
966
+ "on:mouseover"?: EventHandlerWithOptionsUnion<T, MouseEvent> | undefined;
967
+ "on:mouseup"?: EventHandlerWithOptionsUnion<T, MouseEvent> | undefined;
968
+ "on:paste"?: EventHandlerWithOptionsUnion<T, ClipboardEvent> | undefined;
969
+ "on:pause"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
970
+ "on:play"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
971
+ "on:playing"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
972
+ "on:pointercancel"?: EventHandlerWithOptionsUnion<T, PointerEvent> | undefined;
973
+ "on:pointerdown"?: EventHandlerWithOptionsUnion<T, PointerEvent> | undefined;
974
+ "on:pointerenter"?: EventHandlerWithOptionsUnion<T, PointerEvent> | undefined;
975
+ "on:pointerleave"?: EventHandlerWithOptionsUnion<T, PointerEvent> | undefined;
976
+ "on:pointermove"?: EventHandlerWithOptionsUnion<T, PointerEvent> | undefined;
977
+ "on:pointerout"?: EventHandlerWithOptionsUnion<T, PointerEvent> | undefined;
978
+ "on:pointerover"?: EventHandlerWithOptionsUnion<T, PointerEvent> | undefined;
979
+ "on:pointerrawupdate"?: EventHandlerWithOptionsUnion<T, PointerEvent> | undefined;
980
+ "on:pointerup"?: EventHandlerWithOptionsUnion<T, PointerEvent> | undefined;
981
+ "on:progress"?: EventHandlerWithOptionsUnion<T, ProgressEvent> | undefined;
982
+ "on:ratechange"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
983
+ "on:reset"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
984
+ "on:resize"?: EventHandlerWithOptionsUnion<T, UIEvent> | undefined;
985
+ "on:scroll"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
986
+ "on:scrollend"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
987
+ "on:scrollsnapchange"?: EventHandlerWithOptionsUnion<T, SnapEvent> | undefined;
988
+ "on:scrollsnapchanging"?: EventHandlerWithOptionsUnion<T, SnapEvent> | undefined;
989
+ "on:securitypolicyviolation"?:
990
+ | EventHandlerWithOptionsUnion<T, SecurityPolicyViolationEvent>
991
+ | undefined;
992
+ "on:seeked"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
993
+ "on:seeking"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
994
+ "on:select"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
995
+ "on:selectionchange"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
996
+ "on:selectstart"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
997
+ "on:slotchange"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
998
+ "on:stalled"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
999
+ "on:submit"?: EventHandlerWithOptionsUnion<T, SubmitEvent> | undefined;
1000
+ "on:suspend"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
1001
+ "on:timeupdate"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
1002
+ "on:toggle"?: EventHandlerWithOptionsUnion<T, ToggleEvent> | undefined;
1003
+ "on:touchcancel"?: EventHandlerWithOptionsUnion<T, TouchEvent> | undefined;
1004
+ "on:touchend"?: EventHandlerWithOptionsUnion<T, TouchEvent> | undefined;
1005
+ "on:touchmove"?: EventHandlerWithOptionsUnion<T, TouchEvent> | undefined;
1006
+ "on:touchstart"?: EventHandlerWithOptionsUnion<T, TouchEvent> | undefined;
1007
+ "on:transitioncancel"?: EventHandlerWithOptionsUnion<T, TransitionEvent> | undefined;
1008
+ "on:transitionend"?: EventHandlerWithOptionsUnion<T, TransitionEvent> | undefined;
1009
+ "on:transitionrun"?: EventHandlerWithOptionsUnion<T, TransitionEvent> | undefined;
1010
+ "on:transitionstart"?: EventHandlerWithOptionsUnion<T, TransitionEvent> | undefined;
1011
+ "on:volumechange"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
1012
+ "on:waiting"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
1013
+ "on:wheel"?: EventHandlerWithOptionsUnion<T, WheelEvent> | undefined;
1014
+ }
1015
+
1016
+ // EventName = "click" | "mousedown" ...
1017
+
1018
+ type EventName =
1019
+ | (keyof EventHandlersWindow<any> extends infer K
1020
+ ? K extends `on:${infer T}`
1021
+ ? T
1022
+ : K extends `on${infer T}`
1023
+ ? Lowercase<T>
1024
+ : never
1025
+ : never)
1026
+ | (keyof EventHandlersElement<any> extends infer K
1027
+ ? K extends `on:${infer T}`
1028
+ ? T
1029
+ : K extends `on${infer T}`
1030
+ ? Lowercase<T>
1031
+ : never
1032
+ : never)
1033
+ | (string & {});
1034
+
1035
+ type ExtractEventType<T> = {
1036
+ [K in keyof T as K extends `on:${infer Name}`
1037
+ ? Name
1038
+ : never]: T[K] extends EventHandlerWithOptionsUnion<Element, infer E> ? E : never;
1039
+ };
1040
+
1041
+ // EventType["click"] = MouseEvent
1042
+
1043
+ type EventType = ExtractEventType<EventHandlersElement<Element>> &
1044
+ ExtractEventType<EventHandlersWindow<Element>>;
1045
+
1046
+ // GLOBAL ATTRIBUTES
1047
+
1048
+ /**
1049
+ * Global `Element` + `Node` interface keys, shared by all tags regardless of their namespace:
1050
+ *
1051
+ * 1. That's `keys` that are defined BY ALL `HTMLElement/SVGElement/MathMLElement` interfaces.
1052
+ * 2. Includes `keys` defined by `Element` and `Node` interfaces.
1053
+ */
1054
+ interface ElementAttributes<T>
1055
+ extends
1056
+ CustomAttributes<T>,
1057
+ PropAttributes,
1058
+ OnAttributes<T>,
1059
+ EventHandlersElement<T>,
1060
+ AriaAttributes {
1061
+ // [key: ClassKeys]: boolean;
1062
+
1063
+ // properties
1064
+ innerHTML?: FunctionMaybe<string>;
1065
+ textContent?: FunctionMaybe<string | number>;
1066
+
1067
+ // attributes
1068
+ autofocus?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1069
+ class?: FunctionMaybe<string | ClassList | RemoveAttribute>;
1070
+ elementtiming?: FunctionMaybe<string | RemoveAttribute>;
1071
+ id?: FunctionMaybe<string | RemoveAttribute>;
1072
+ nonce?: FunctionMaybe<string | RemoveAttribute>;
1073
+ part?: FunctionMaybe<string | RemoveAttribute>;
1074
+ slot?: FunctionMaybe<string | RemoveAttribute>;
1075
+ style?: FunctionMaybe<CSSProperties | string | RemoveAttribute>;
1076
+ tabindex?: FunctionMaybe<number | string | RemoveAttribute>;
1077
+ }
1078
+ /** Global `SVGElement` interface keys only. */
1079
+ interface SVGAttributes<T> extends ElementAttributes<T> {
1080
+ id?: FunctionMaybe<string | RemoveAttribute>;
1081
+ lang?: FunctionMaybe<string | RemoveAttribute>;
1082
+ tabindex?: FunctionMaybe<number | string | RemoveAttribute>;
1083
+ xmlns?: FunctionMaybe<string | RemoveAttribute>;
1084
+ }
1085
+ /** Global `MathMLElement` interface keys only. */
1086
+ interface MathMLAttributes<T> extends ElementAttributes<T> {
1087
+ dir?: FunctionMaybe<HTMLDir | RemoveAttribute>;
1088
+ displaystyle?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1089
+ scriptlevel?: FunctionMaybe<string | RemoveAttribute>;
1090
+ xmlns?: FunctionMaybe<string | RemoveAttribute>;
1091
+
1092
+ /** @deprecated */
1093
+ href?: FunctionMaybe<string | RemoveAttribute>;
1094
+ /** @deprecated */
1095
+ mathbackground?: FunctionMaybe<string | RemoveAttribute>;
1096
+ /** @deprecated */
1097
+ mathcolor?: FunctionMaybe<string | RemoveAttribute>;
1098
+ /** @deprecated */
1099
+ mathsize?: FunctionMaybe<string | RemoveAttribute>;
1100
+ }
1101
+ /** Global `HTMLElement` interface keys only. */
1102
+ interface HTMLAttributes<T> extends ElementAttributes<T> {
1103
+ // properties
1104
+ innerText?: FunctionMaybe<string | number>;
1105
+
1106
+ // attributes
1107
+ accesskey?: FunctionMaybe<string | RemoveAttribute>;
1108
+ autocapitalize?: FunctionMaybe<HTMLAutocapitalize | RemoveAttribute>;
1109
+ autocorrect?: FunctionMaybe<"on" | "off" | RemoveAttribute>;
1110
+ contenteditable?: FunctionMaybe<
1111
+ | EnumeratedPseudoBoolean
1112
+ | EnumeratedAcceptsEmpty
1113
+ | "plaintext-only"
1114
+ | "inherit"
1115
+ | RemoveAttribute
1116
+ >;
1117
+ dir?: FunctionMaybe<HTMLDir | RemoveAttribute>;
1118
+ draggable?: FunctionMaybe<EnumeratedPseudoBoolean | RemoveAttribute>;
1119
+ enterkeyhint?: FunctionMaybe<
1120
+ "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | RemoveAttribute
1121
+ >;
1122
+ exportparts?: FunctionMaybe<string | RemoveAttribute>;
1123
+ hidden?: FunctionMaybe<EnumeratedAcceptsEmpty | "hidden" | "until-found" | RemoveAttribute>;
1124
+ inert?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1125
+ inputmode?: FunctionMaybe<
1126
+ "decimal" | "email" | "none" | "numeric" | "search" | "tel" | "text" | "url" | RemoveAttribute
1127
+ >;
1128
+ is?: FunctionMaybe<string | RemoveAttribute>;
1129
+ lang?: FunctionMaybe<string | RemoveAttribute>;
1130
+ popover?: FunctionMaybe<EnumeratedAcceptsEmpty | "manual" | "auto" | "hint" | RemoveAttribute>;
1131
+ spellcheck?: FunctionMaybe<EnumeratedPseudoBoolean | EnumeratedAcceptsEmpty | RemoveAttribute>;
1132
+ title?: FunctionMaybe<string | RemoveAttribute>;
1133
+ translate?: FunctionMaybe<"yes" | "no" | RemoveAttribute>;
1134
+
1135
+ /** @experimental */
1136
+ virtualkeyboardpolicy?: FunctionMaybe<
1137
+ EnumeratedAcceptsEmpty | "auto" | "manual" | RemoveAttribute
1138
+ >;
1139
+ /** @experimental */
1140
+ writingsuggestions?: FunctionMaybe<EnumeratedPseudoBoolean | RemoveAttribute>;
1141
+
1142
+ // Microdata
1143
+ itemid?: FunctionMaybe<string | RemoveAttribute>;
1144
+ itemprop?: FunctionMaybe<string | RemoveAttribute>;
1145
+ itemref?: FunctionMaybe<string | RemoveAttribute>;
1146
+ itemscope?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1147
+ itemtype?: FunctionMaybe<string | RemoveAttribute>;
1148
+
1149
+ // RDFa Attributes
1150
+ about?: FunctionMaybe<string | RemoveAttribute>;
1151
+ datatype?: FunctionMaybe<string | RemoveAttribute>;
1152
+ inlist?: FunctionMaybe<any | RemoveAttribute>;
1153
+ prefix?: FunctionMaybe<string | RemoveAttribute>;
1154
+ property?: FunctionMaybe<string | RemoveAttribute>;
1155
+ resource?: FunctionMaybe<string | RemoveAttribute>;
1156
+ typeof?: FunctionMaybe<string | RemoveAttribute>;
1157
+ vocab?: FunctionMaybe<string | RemoveAttribute>;
1158
+
1159
+ /** @deprecated */
1160
+ contextmenu?: FunctionMaybe<string | RemoveAttribute>;
1161
+ }
1162
+
1163
+ // HTML
1164
+
1165
+ type HTMLAutocapitalize = "off" | "none" | "on" | "sentences" | "words" | "characters";
1166
+ type HTMLAutocomplete =
1167
+ | "additional-name"
1168
+ | "address-level1"
1169
+ | "address-level2"
1170
+ | "address-level3"
1171
+ | "address-level4"
1172
+ | "address-line1"
1173
+ | "address-line2"
1174
+ | "address-line3"
1175
+ | "bday"
1176
+ | "bday-day"
1177
+ | "bday-month"
1178
+ | "bday-year"
1179
+ | "billing"
1180
+ | "cc-additional-name"
1181
+ | "cc-csc"
1182
+ | "cc-exp"
1183
+ | "cc-exp-month"
1184
+ | "cc-exp-year"
1185
+ | "cc-family-name"
1186
+ | "cc-given-name"
1187
+ | "cc-name"
1188
+ | "cc-number"
1189
+ | "cc-type"
1190
+ | "country"
1191
+ | "country-name"
1192
+ | "current-password"
1193
+ | "email"
1194
+ | "family-name"
1195
+ | "fax"
1196
+ | "given-name"
1197
+ | "home"
1198
+ | "honorific-prefix"
1199
+ | "honorific-suffix"
1200
+ | "impp"
1201
+ | "language"
1202
+ | "mobile"
1203
+ | "name"
1204
+ | "new-password"
1205
+ | "nickname"
1206
+ | "off"
1207
+ | "on"
1208
+ | "organization"
1209
+ | "organization-title"
1210
+ | "pager"
1211
+ | "photo"
1212
+ | "postal-code"
1213
+ | "sex"
1214
+ | "shipping"
1215
+ | "street-address"
1216
+ | "tel"
1217
+ | "tel-area-code"
1218
+ | "tel-country-code"
1219
+ | "tel-extension"
1220
+ | "tel-local"
1221
+ | "tel-local-prefix"
1222
+ | "tel-local-suffix"
1223
+ | "tel-national"
1224
+ | "transaction-amount"
1225
+ | "transaction-currency"
1226
+ | "url"
1227
+ | "username"
1228
+ | "work"
1229
+ | (string & {});
1230
+ type HTMLDir = "ltr" | "rtl" | "auto";
1231
+ type HTMLFormEncType = "application/x-www-form-urlencoded" | "multipart/form-data" | "text/plain";
1232
+ type HTMLFormMethod = "post" | "get" | "dialog";
1233
+ type HTMLCrossorigin = "anonymous" | "use-credentials" | EnumeratedAcceptsEmpty;
1234
+ type HTMLReferrerPolicy =
1235
+ | "no-referrer"
1236
+ | "no-referrer-when-downgrade"
1237
+ | "origin"
1238
+ | "origin-when-cross-origin"
1239
+ | "same-origin"
1240
+ | "strict-origin"
1241
+ | "strict-origin-when-cross-origin"
1242
+ | "unsafe-url";
1243
+ type HTMLIframeSandbox =
1244
+ | "allow-downloads-without-user-activation"
1245
+ | "allow-downloads"
1246
+ | "allow-forms"
1247
+ | "allow-modals"
1248
+ | "allow-orientation-lock"
1249
+ | "allow-pointer-lock"
1250
+ | "allow-popups"
1251
+ | "allow-popups-to-escape-sandbox"
1252
+ | "allow-presentation"
1253
+ | "allow-same-origin"
1254
+ | "allow-scripts"
1255
+ | "allow-storage-access-by-user-activation"
1256
+ | "allow-top-navigation"
1257
+ | "allow-top-navigation-by-user-activation"
1258
+ | "allow-top-navigation-to-custom-protocols";
1259
+ type HTMLLinkAs =
1260
+ | "audio"
1261
+ | "document"
1262
+ | "embed"
1263
+ | "fetch"
1264
+ | "font"
1265
+ | "image"
1266
+ | "object"
1267
+ | "script"
1268
+ | "style"
1269
+ | "track"
1270
+ | "video"
1271
+ | "worker";
1272
+
1273
+ interface AnchorHTMLAttributes<T> extends HTMLAttributes<T> {
1274
+ download?: FunctionMaybe<string | EnumeratedAcceptsEmpty | RemoveAttribute>;
1275
+ href?: FunctionMaybe<string | RemoveAttribute>;
1276
+ hreflang?: FunctionMaybe<string | RemoveAttribute>;
1277
+ ping?: FunctionMaybe<string | RemoveAttribute>;
1278
+ referrerpolicy?: FunctionMaybe<HTMLReferrerPolicy | RemoveAttribute>;
1279
+ rel?: FunctionMaybe<string | RemoveAttribute>;
1280
+ target?: FunctionMaybe<
1281
+ "_self" | "_blank" | "_parent" | "_top" | (string & {}) | RemoveAttribute
1282
+ >;
1283
+ type?: FunctionMaybe<string | RemoveAttribute>;
1284
+
1285
+ /** @experimental */
1286
+ attributionsrc?: FunctionMaybe<string | RemoveAttribute>;
1287
+
1288
+ /** @deprecated */
1289
+ charset?: FunctionMaybe<string | RemoveAttribute>;
1290
+ /** @deprecated */
1291
+ coords?: FunctionMaybe<string | RemoveAttribute>;
1292
+ /** @deprecated */
1293
+ name?: FunctionMaybe<string | RemoveAttribute>;
1294
+ /** @deprecated */
1295
+ rev?: FunctionMaybe<string | RemoveAttribute>;
1296
+ /** @deprecated */
1297
+ shape?: FunctionMaybe<"rect" | "circle" | "poly" | "default" | RemoveAttribute>;
1298
+ }
1299
+ interface AudioHTMLAttributes<T> extends MediaHTMLAttributes<T> {}
1300
+ interface AreaHTMLAttributes<T> extends HTMLAttributes<T> {
1301
+ alt?: FunctionMaybe<string | RemoveAttribute>;
1302
+ coords?: FunctionMaybe<string | RemoveAttribute>;
1303
+ download?: FunctionMaybe<string | EnumeratedAcceptsEmpty | RemoveAttribute>;
1304
+ href?: FunctionMaybe<string | RemoveAttribute>;
1305
+ ping?: FunctionMaybe<string | RemoveAttribute>;
1306
+ referrerpolicy?: FunctionMaybe<HTMLReferrerPolicy | RemoveAttribute>;
1307
+ rel?: FunctionMaybe<string | RemoveAttribute>;
1308
+ shape?: FunctionMaybe<"rect" | "circle" | "poly" | "default" | RemoveAttribute>;
1309
+ target?: FunctionMaybe<
1310
+ "_self" | "_blank" | "_parent" | "_top" | (string & {}) | RemoveAttribute
1311
+ >;
1312
+
1313
+ /** @experimental */
1314
+ attributionsrc?: FunctionMaybe<string | RemoveAttribute>;
1315
+
1316
+ /** @deprecated */
1317
+ nohref?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1318
+ }
1319
+ interface BaseHTMLAttributes<T> extends HTMLAttributes<T> {
1320
+ href?: FunctionMaybe<string | RemoveAttribute>;
1321
+ target?: FunctionMaybe<
1322
+ "_self" | "_blank" | "_parent" | "_top" | (string & {}) | RemoveAttribute
1323
+ >;
1324
+ }
1325
+ interface BdoHTMLAttributes<T> extends HTMLAttributes<T> {
1326
+ dir?: FunctionMaybe<"ltr" | "rtl" | RemoveAttribute>;
1327
+ }
1328
+ interface BlockquoteHTMLAttributes<T> extends HTMLAttributes<T> {
1329
+ cite?: FunctionMaybe<string | RemoveAttribute>;
1330
+ }
1331
+ interface BodyHTMLAttributes<T> extends HTMLAttributes<T>, EventHandlersWindow<T> {}
1332
+ interface ButtonHTMLAttributes<T> extends HTMLAttributes<T> {
1333
+ disabled?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1334
+ form?: FunctionMaybe<string | RemoveAttribute>;
1335
+ formaction?: FunctionMaybe<string | SerializableAttributeValue | RemoveAttribute>;
1336
+ formenctype?: FunctionMaybe<HTMLFormEncType | RemoveAttribute>;
1337
+ formmethod?: FunctionMaybe<HTMLFormMethod | RemoveAttribute>;
1338
+ formnovalidate?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1339
+ formtarget?: FunctionMaybe<
1340
+ "_self" | "_blank" | "_parent" | "_top" | (string & {}) | RemoveAttribute
1341
+ >;
1342
+ name?: FunctionMaybe<string | RemoveAttribute>;
1343
+ popovertarget?: FunctionMaybe<string | RemoveAttribute>;
1344
+ popovertargetaction?: FunctionMaybe<"hide" | "show" | "toggle" | RemoveAttribute>;
1345
+ type?: FunctionMaybe<"submit" | "reset" | "button" | "menu" | RemoveAttribute>;
1346
+ value?: FunctionMaybe<string | RemoveAttribute>;
1347
+
1348
+ /** @experimental */
1349
+ command?: FunctionMaybe<
1350
+ | "show-modal"
1351
+ | "close"
1352
+ | "show-popover"
1353
+ | "hide-popover"
1354
+ | "toggle-popover"
1355
+ | (string & {})
1356
+ | RemoveAttribute
1357
+ >;
1358
+ /** @experimental */
1359
+ commandfor?: FunctionMaybe<string | RemoveAttribute>;
1360
+ }
1361
+ interface CanvasHTMLAttributes<T> extends HTMLAttributes<T> {
1362
+ height?: FunctionMaybe<number | string | RemoveAttribute>;
1363
+ width?: FunctionMaybe<number | string | RemoveAttribute>;
1364
+
1365
+ /**
1366
+ * @deprecated
1367
+ * @non-standard
1368
+ */
1369
+ "moz-opaque"?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1370
+ }
1371
+ interface CaptionHTMLAttributes<T> extends HTMLAttributes<T> {
1372
+ /** @deprecated */
1373
+ align?: FunctionMaybe<"left" | "center" | "right" | RemoveAttribute>;
1374
+ }
1375
+ interface ColHTMLAttributes<T> extends HTMLAttributes<T> {
1376
+ span?: FunctionMaybe<number | string | RemoveAttribute>;
1377
+
1378
+ /** @deprecated */
1379
+ align?: FunctionMaybe<"left" | "center" | "right" | "justify" | "char" | RemoveAttribute>;
1380
+ /** @deprecated */
1381
+ bgcolor?: FunctionMaybe<string | RemoveAttribute>;
1382
+ /** @deprecated */
1383
+ char?: FunctionMaybe<string | RemoveAttribute>;
1384
+ /** @deprecated */
1385
+ charoff?: FunctionMaybe<string | RemoveAttribute>;
1386
+ /** @deprecated */
1387
+ valign?: FunctionMaybe<"baseline" | "bottom" | "middle" | "top" | RemoveAttribute>;
1388
+ /** @deprecated */
1389
+ width?: FunctionMaybe<number | string | RemoveAttribute>;
1390
+ }
1391
+ interface ColgroupHTMLAttributes<T> extends HTMLAttributes<T> {
1392
+ span?: FunctionMaybe<number | string | RemoveAttribute>;
1393
+
1394
+ /** @deprecated */
1395
+ align?: FunctionMaybe<"left" | "center" | "right" | "justify" | "char" | RemoveAttribute>;
1396
+ /** @deprecated */
1397
+ bgcolor?: FunctionMaybe<string | RemoveAttribute>;
1398
+ /** @deprecated */
1399
+ char?: FunctionMaybe<string | RemoveAttribute>;
1400
+ /** @deprecated */
1401
+ charoff?: FunctionMaybe<string | RemoveAttribute>;
1402
+ /** @deprecated */
1403
+ valign?: FunctionMaybe<"baseline" | "bottom" | "middle" | "top" | RemoveAttribute>;
1404
+ /** @deprecated */
1405
+ width?: FunctionMaybe<number | string | RemoveAttribute>;
1406
+ }
1407
+ interface DataHTMLAttributes<T> extends HTMLAttributes<T> {
1408
+ value?: FunctionMaybe<string | string[] | number | RemoveAttribute>;
1409
+ }
1410
+ interface DetailsHtmlAttributes<T> extends HTMLAttributes<T> {
1411
+ name?: FunctionMaybe<string | RemoveAttribute>;
1412
+ open?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1413
+ }
1414
+ interface DialogHtmlAttributes<T> extends HTMLAttributes<T> {
1415
+ open?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1416
+ /**
1417
+ * Do not add the `tabindex` property to the `<dialog>` element as it is not interactive and
1418
+ * does not receive focus. The dialog's contents, including the close button contained in the
1419
+ * dialog, can receive focus and be interactive.
1420
+ *
1421
+ * @see https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/dialog#usage_notes
1422
+ */
1423
+ tabindex?: never;
1424
+ "prop:tabIndex"?: never;
1425
+
1426
+ /** @experimental */
1427
+ closedby?: FunctionMaybe<"any" | "closerequest" | "none" | RemoveAttribute>;
1428
+ }
1429
+ interface EmbedHTMLAttributes<T> extends HTMLAttributes<T> {
1430
+ height?: FunctionMaybe<number | string | RemoveAttribute>;
1431
+ src?: FunctionMaybe<string | RemoveAttribute>;
1432
+ type?: FunctionMaybe<string | RemoveAttribute>;
1433
+ width?: FunctionMaybe<number | string | RemoveAttribute>;
1434
+
1435
+ /** @deprecated */
1436
+ align?: FunctionMaybe<"left" | "right" | "justify" | "center" | RemoveAttribute>;
1437
+ /** @deprecated */
1438
+ name?: FunctionMaybe<string | RemoveAttribute>;
1439
+ }
1440
+ interface FieldsetHTMLAttributes<T> extends HTMLAttributes<T> {
1441
+ disabled?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1442
+ form?: FunctionMaybe<string | RemoveAttribute>;
1443
+ name?: FunctionMaybe<string | RemoveAttribute>;
1444
+ }
1445
+ interface FormHTMLAttributes<T> extends HTMLAttributes<T> {
1446
+ "accept-charset"?: FunctionMaybe<string | RemoveAttribute>;
1447
+ action?: FunctionMaybe<string | SerializableAttributeValue | RemoveAttribute>;
1448
+ autocomplete?: FunctionMaybe<"on" | "off" | RemoveAttribute>;
1449
+ encoding?: FunctionMaybe<HTMLFormEncType | RemoveAttribute>;
1450
+ enctype?: FunctionMaybe<HTMLFormEncType | RemoveAttribute>;
1451
+ method?: FunctionMaybe<HTMLFormMethod | RemoveAttribute>;
1452
+ name?: FunctionMaybe<string | RemoveAttribute>;
1453
+ novalidate?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1454
+ rel?: FunctionMaybe<string | RemoveAttribute>;
1455
+ target?: FunctionMaybe<
1456
+ "_self" | "_blank" | "_parent" | "_top" | (string & {}) | RemoveAttribute
1457
+ >;
1458
+
1459
+ /** @deprecated */
1460
+ accept?: FunctionMaybe<string | RemoveAttribute>;
1461
+ }
1462
+ interface IframeHTMLAttributes<T> extends HTMLAttributes<T> {
1463
+ allow?: FunctionMaybe<string | RemoveAttribute>;
1464
+ allowfullscreen?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1465
+ height?: FunctionMaybe<number | string | RemoveAttribute>;
1466
+ loading?: FunctionMaybe<"eager" | "lazy" | RemoveAttribute>;
1467
+ name?: FunctionMaybe<string | RemoveAttribute>;
1468
+ referrerpolicy?: FunctionMaybe<HTMLReferrerPolicy | RemoveAttribute>;
1469
+ sandbox?: FunctionMaybe<HTMLIframeSandbox | string | RemoveAttribute>;
1470
+ src?: FunctionMaybe<string | RemoveAttribute>;
1471
+ srcdoc?: FunctionMaybe<string | RemoveAttribute>;
1472
+ width?: FunctionMaybe<number | string | RemoveAttribute>;
1473
+
1474
+ /** @experimental */
1475
+ adauctionheaders?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1476
+ /**
1477
+ * @non-standard
1478
+ * @experimental
1479
+ */
1480
+ browsingtopics?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1481
+ /** @experimental */
1482
+ credentialless?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1483
+ /** @experimental */
1484
+ csp?: FunctionMaybe<string | RemoveAttribute>;
1485
+ /** @experimental */
1486
+ privatetoken?: FunctionMaybe<string | RemoveAttribute>;
1487
+ /** @experimental */
1488
+ sharedstoragewritable?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1489
+
1490
+ /** @deprecated */
1491
+ align?: FunctionMaybe<string | RemoveAttribute>;
1492
+ /**
1493
+ * @deprecated
1494
+ * @non-standard
1495
+ */
1496
+ allowpaymentrequest?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1497
+ /** @deprecated */
1498
+ allowtransparency?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1499
+ /** @deprecated */
1500
+ frameborder?: FunctionMaybe<number | string | RemoveAttribute>;
1501
+ /** @deprecated */
1502
+ longdesc?: FunctionMaybe<string | RemoveAttribute>;
1503
+ /** @deprecated */
1504
+ marginheight?: FunctionMaybe<number | string | RemoveAttribute>;
1505
+ /** @deprecated */
1506
+ marginwidth?: FunctionMaybe<number | string | RemoveAttribute>;
1507
+ /** @deprecated */
1508
+ scrolling?: FunctionMaybe<"yes" | "no" | "auto" | RemoveAttribute>;
1509
+ /** @deprecated */
1510
+ seamless?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1511
+ }
1512
+ interface ImgHTMLAttributes<T> extends HTMLAttributes<T> {
1513
+ alt?: FunctionMaybe<string | RemoveAttribute>;
1514
+ browsingtopics?: FunctionMaybe<string | RemoveAttribute>;
1515
+ crossorigin?: FunctionMaybe<HTMLCrossorigin | RemoveAttribute>;
1516
+ decoding?: FunctionMaybe<"sync" | "async" | "auto" | RemoveAttribute>;
1517
+ fetchpriority?: FunctionMaybe<"high" | "low" | "auto" | RemoveAttribute>;
1518
+ height?: FunctionMaybe<number | string | RemoveAttribute>;
1519
+ ismap?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1520
+ loading?: FunctionMaybe<"eager" | "lazy" | RemoveAttribute>;
1521
+ referrerpolicy?: FunctionMaybe<HTMLReferrerPolicy | RemoveAttribute>;
1522
+ sizes?: FunctionMaybe<string | RemoveAttribute>;
1523
+ src?: FunctionMaybe<string | RemoveAttribute>;
1524
+ srcset?: FunctionMaybe<string | RemoveAttribute>;
1525
+ usemap?: FunctionMaybe<string | RemoveAttribute>;
1526
+ width?: FunctionMaybe<number | string | RemoveAttribute>;
1527
+
1528
+ /** @experimental */
1529
+ attributionsrc?: FunctionMaybe<string | RemoveAttribute>;
1530
+ /** @experimental */
1531
+ sharedstoragewritable?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1532
+
1533
+ /** @deprecated */
1534
+ align?: FunctionMaybe<"top" | "middle" | "bottom" | "left" | "right" | RemoveAttribute>;
1535
+ /** @deprecated */
1536
+ border?: FunctionMaybe<string | RemoveAttribute>;
1537
+ /** @deprecated */
1538
+ hspace?: FunctionMaybe<number | string | RemoveAttribute>;
1539
+ /** @deprecated */
1540
+ intrinsicsize?: FunctionMaybe<string | RemoveAttribute>;
1541
+ /** @deprecated */
1542
+ longdesc?: FunctionMaybe<string | RemoveAttribute>;
1543
+ /** @deprecated */
1544
+ lowsrc?: FunctionMaybe<string | RemoveAttribute>;
1545
+ /** @deprecated */
1546
+ name?: FunctionMaybe<string | RemoveAttribute>;
1547
+ /** @deprecated */
1548
+ vspace?: FunctionMaybe<number | string | RemoveAttribute>;
1549
+ }
1550
+ interface InputHTMLAttributes<T> extends HTMLAttributes<T> {
1551
+ accept?: FunctionMaybe<string | RemoveAttribute>;
1552
+ alpha?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1553
+ alt?: FunctionMaybe<string | RemoveAttribute>;
1554
+ autocomplete?: FunctionMaybe<HTMLAutocomplete | RemoveAttribute>;
1555
+ capture?: FunctionMaybe<"user" | "environment" | RemoveAttribute>;
1556
+
1557
+ colorspace?: FunctionMaybe<string | RemoveAttribute>;
1558
+ dirname?: FunctionMaybe<string | RemoveAttribute>;
1559
+ disabled?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1560
+ form?: FunctionMaybe<string | RemoveAttribute>;
1561
+ formaction?: FunctionMaybe<string | SerializableAttributeValue | RemoveAttribute>;
1562
+ formenctype?: FunctionMaybe<HTMLFormEncType | RemoveAttribute>;
1563
+ formmethod?: FunctionMaybe<HTMLFormMethod | RemoveAttribute>;
1564
+ formnovalidate?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1565
+ formtarget?: FunctionMaybe<string | RemoveAttribute>;
1566
+ height?: FunctionMaybe<number | string | RemoveAttribute>;
1567
+ list?: FunctionMaybe<string | RemoveAttribute>;
1568
+ max?: FunctionMaybe<number | string | RemoveAttribute>;
1569
+ maxlength?: FunctionMaybe<number | string | RemoveAttribute>;
1570
+ min?: FunctionMaybe<number | string | RemoveAttribute>;
1571
+ minlength?: FunctionMaybe<number | string | RemoveAttribute>;
1572
+ multiple?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1573
+ name?: FunctionMaybe<string | RemoveAttribute>;
1574
+ pattern?: FunctionMaybe<string | RemoveAttribute>;
1575
+ placeholder?: FunctionMaybe<string | RemoveAttribute>;
1576
+ popovertarget?: FunctionMaybe<string | RemoveAttribute>;
1577
+ popovertargetaction?: FunctionMaybe<"hide" | "show" | "toggle" | RemoveAttribute>;
1578
+ readonly?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1579
+ required?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1580
+ // https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/search#results
1581
+ results?: FunctionMaybe<number | RemoveAttribute>;
1582
+ size?: FunctionMaybe<number | string | RemoveAttribute>;
1583
+ src?: FunctionMaybe<string | RemoveAttribute>;
1584
+ step?: FunctionMaybe<number | string | RemoveAttribute>;
1585
+ type?: FunctionMaybe<
1586
+ | "button"
1587
+ | "checkbox"
1588
+ | "color"
1589
+ | "date"
1590
+ | "datetime-local"
1591
+ | "email"
1592
+ | "file"
1593
+ | "hidden"
1594
+ | "image"
1595
+ | "month"
1596
+ | "number"
1597
+ | "password"
1598
+ | "radio"
1599
+ | "range"
1600
+ | "reset"
1601
+ | "search"
1602
+ | "submit"
1603
+ | "tel"
1604
+ | "text"
1605
+ | "time"
1606
+ | "url"
1607
+ | "week"
1608
+ | (string & {})
1609
+ | RemoveAttribute
1610
+ >;
1611
+ width?: FunctionMaybe<number | string | RemoveAttribute>;
1612
+ webkitdirectory?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1613
+
1614
+ /** @non-standard */
1615
+ incremental?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1616
+
1617
+ /** @deprecated */
1618
+ align?: FunctionMaybe<string | RemoveAttribute>;
1619
+ /** @deprecated */
1620
+ usemap?: FunctionMaybe<string | RemoveAttribute>;
1621
+
1622
+ // special cases locked to properties
1623
+
1624
+ checked?: FunctionMaybe<BooleanProperty | RemoveProperty>;
1625
+ /** @error use `<input checked={..}/>` instead */
1626
+ "prop:checked"?: never;
1627
+
1628
+ defaultChecked?: FunctionMaybe<BooleanProperty | RemoveProperty>;
1629
+ /** @error use `<input defaultChecked={..}/>` instead */
1630
+ "prop:defaultChecked"?: never;
1631
+
1632
+ value?: FunctionMaybe<string | string[] | number | RemoveProperty>;
1633
+ /** @error use `<input value={..}/>` instead */
1634
+ "prop:value"?: never;
1635
+
1636
+ defaultValue?: FunctionMaybe<string | string[] | number | RemoveProperty>;
1637
+ /** @error use `<input defaultValue={..}/>` instead */
1638
+ "prop:defaultValue"?: never;
1639
+ }
1640
+ interface ModHTMLAttributes<T> extends HTMLAttributes<T> {
1641
+ cite?: FunctionMaybe<string | RemoveAttribute>;
1642
+ datetime?: FunctionMaybe<string | RemoveAttribute>;
1643
+ }
1644
+ interface KeygenHTMLAttributes<T> extends HTMLAttributes<T> {
1645
+ /** @deprecated */
1646
+ challenge?: FunctionMaybe<string | RemoveAttribute>;
1647
+ /** @deprecated */
1648
+ disabled?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1649
+ /** @deprecated */
1650
+ form?: FunctionMaybe<string | RemoveAttribute>;
1651
+ /** @deprecated */
1652
+ keyparams?: FunctionMaybe<string | RemoveAttribute>;
1653
+ /** @deprecated */
1654
+ keytype?: FunctionMaybe<string | RemoveAttribute>;
1655
+ /** @deprecated */
1656
+ name?: FunctionMaybe<string | RemoveAttribute>;
1657
+ }
1658
+ interface LabelHTMLAttributes<T> extends HTMLAttributes<T> {
1659
+ for?: FunctionMaybe<string | RemoveAttribute>;
1660
+ }
1661
+ interface LiHTMLAttributes<T> extends HTMLAttributes<T> {
1662
+ value?: FunctionMaybe<number | string | RemoveAttribute>;
1663
+
1664
+ /** @deprecated */
1665
+ type?: FunctionMaybe<"1" | "a" | "A" | "i" | "I" | RemoveAttribute>;
1666
+ }
1667
+ interface LinkHTMLAttributes<T> extends HTMLAttributes<T> {
1668
+ as?: FunctionMaybe<HTMLLinkAs | RemoveAttribute>;
1669
+ blocking?: FunctionMaybe<"render" | RemoveAttribute>;
1670
+ color?: FunctionMaybe<string | RemoveAttribute>;
1671
+ crossorigin?: FunctionMaybe<HTMLCrossorigin | RemoveAttribute>;
1672
+ disabled?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1673
+ fetchpriority?: FunctionMaybe<"high" | "low" | "auto" | RemoveAttribute>;
1674
+ href?: FunctionMaybe<string | RemoveAttribute>;
1675
+ hreflang?: FunctionMaybe<string | RemoveAttribute>;
1676
+ imagesizes?: FunctionMaybe<string | RemoveAttribute>;
1677
+ imagesrcset?: FunctionMaybe<string | RemoveAttribute>;
1678
+ integrity?: FunctionMaybe<string | RemoveAttribute>;
1679
+ media?: FunctionMaybe<string | RemoveAttribute>;
1680
+ referrerpolicy?: FunctionMaybe<HTMLReferrerPolicy | RemoveAttribute>;
1681
+ rel?: FunctionMaybe<string | RemoveAttribute>;
1682
+ sizes?: FunctionMaybe<string | RemoveAttribute>;
1683
+ type?: FunctionMaybe<string | RemoveAttribute>;
1684
+
1685
+ /** @deprecated */
1686
+ charset?: FunctionMaybe<string | RemoveAttribute>;
1687
+ /** @deprecated */
1688
+ rev?: FunctionMaybe<string | RemoveAttribute>;
1689
+ /** @deprecated */
1690
+ target?: FunctionMaybe<string | RemoveAttribute>;
1691
+ }
1692
+ interface MapHTMLAttributes<T> extends HTMLAttributes<T> {
1693
+ name?: FunctionMaybe<string | RemoveAttribute>;
1694
+ }
1695
+ interface MediaHTMLAttributes<T> extends HTMLAttributes<T> {
1696
+ autoplay?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1697
+ controls?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1698
+ controlslist?: FunctionMaybe<
1699
+ | "nodownload"
1700
+ | "nofullscreen"
1701
+ | "noplaybackrate"
1702
+ | "noremoteplayback"
1703
+ | (string & {})
1704
+ | RemoveAttribute
1705
+ >;
1706
+ crossorigin?: FunctionMaybe<HTMLCrossorigin | RemoveAttribute>;
1707
+ disableremoteplayback?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1708
+ loop?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1709
+
1710
+ preload?: FunctionMaybe<
1711
+ "none" | "metadata" | "auto" | EnumeratedAcceptsEmpty | RemoveAttribute
1712
+ >;
1713
+ src?: FunctionMaybe<string | RemoveAttribute>;
1714
+
1715
+ onEncrypted?: EventHandlerUnion<T, MediaEncryptedEvent> | undefined;
1716
+ "on:encrypted"?: EventHandlerWithOptionsUnion<T, MediaEncryptedEvent> | undefined;
1717
+
1718
+ onWaitingForKey?: EventHandlerUnion<T, Event> | undefined;
1719
+ "on:waitingforkey"?: EventHandlerWithOptionsUnion<T, Event> | undefined;
1720
+
1721
+ /** @deprecated */
1722
+ mediagroup?: FunctionMaybe<string | RemoveAttribute>;
1723
+
1724
+ // special cases locked to properties
1725
+
1726
+ muted?: FunctionMaybe<BooleanProperty | RemoveProperty>;
1727
+ /** @error use `<video/audio muted={..}/>` instead */
1728
+ "prop:muted"?: never;
1729
+
1730
+ defaultMuted?: FunctionMaybe<BooleanProperty | RemoveProperty>;
1731
+ /** @error use `<video/audio defaultMuted={..}/>` instead */
1732
+ "prop:defaultMuted"?: never;
1733
+ }
1734
+ interface MenuHTMLAttributes<T> extends HTMLAttributes<T> {
1735
+ /** @deprecated */
1736
+ compact?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1737
+ /** @deprecated */
1738
+ label?: FunctionMaybe<string | RemoveAttribute>;
1739
+ /** @deprecated */
1740
+ type?: FunctionMaybe<"context" | "toolbar" | RemoveAttribute>;
1741
+ }
1742
+ interface MetaHTMLAttributes<T> extends HTMLAttributes<T> {
1743
+ "http-equiv"?: FunctionMaybe<
1744
+ | "content-security-policy"
1745
+ | "content-type"
1746
+ | "default-style"
1747
+ | "x-ua-compatible"
1748
+ | "refresh"
1749
+ | RemoveAttribute
1750
+ >;
1751
+ charset?: FunctionMaybe<string | RemoveAttribute>;
1752
+ content?: FunctionMaybe<string | RemoveAttribute>;
1753
+ media?: FunctionMaybe<string | RemoveAttribute>;
1754
+ name?: FunctionMaybe<string | RemoveAttribute>;
1755
+
1756
+ /** @deprecated */
1757
+ scheme?: FunctionMaybe<string | RemoveAttribute>;
1758
+ }
1759
+ interface MeterHTMLAttributes<T> extends HTMLAttributes<T> {
1760
+ form?: FunctionMaybe<string | RemoveAttribute>;
1761
+ high?: FunctionMaybe<number | string | RemoveAttribute>;
1762
+ low?: FunctionMaybe<number | string | RemoveAttribute>;
1763
+ max?: FunctionMaybe<number | string | RemoveAttribute>;
1764
+ min?: FunctionMaybe<number | string | RemoveAttribute>;
1765
+ optimum?: FunctionMaybe<number | string | RemoveAttribute>;
1766
+ value?: FunctionMaybe<string | string[] | number | RemoveAttribute>;
1767
+ }
1768
+ interface QuoteHTMLAttributes<T> extends HTMLAttributes<T> {
1769
+ cite?: FunctionMaybe<string | RemoveAttribute>;
1770
+ }
1771
+ interface ObjectHTMLAttributes<T> extends HTMLAttributes<T> {
1772
+ data?: FunctionMaybe<string | RemoveAttribute>;
1773
+ form?: FunctionMaybe<string | RemoveAttribute>;
1774
+ height?: FunctionMaybe<number | string | RemoveAttribute>;
1775
+ name?: FunctionMaybe<string | RemoveAttribute>;
1776
+ type?: FunctionMaybe<string | RemoveAttribute>;
1777
+ width?: FunctionMaybe<number | string | RemoveAttribute>;
1778
+ wmode?: FunctionMaybe<string | RemoveAttribute>;
1779
+
1780
+ /** @deprecated */
1781
+ align?: FunctionMaybe<string | RemoveAttribute>;
1782
+ /** @deprecated */
1783
+ archive?: FunctionMaybe<string | RemoveAttribute>;
1784
+ /** @deprecated */
1785
+ border?: FunctionMaybe<string | RemoveAttribute>;
1786
+ /** @deprecated */
1787
+ classid?: FunctionMaybe<string | RemoveAttribute>;
1788
+ /** @deprecated */
1789
+ code?: FunctionMaybe<string | RemoveAttribute>;
1790
+ /** @deprecated */
1791
+ codebase?: FunctionMaybe<string | RemoveAttribute>;
1792
+ /** @deprecated */
1793
+ codetype?: FunctionMaybe<string | RemoveAttribute>;
1794
+ /** @deprecated */
1795
+ declare?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1796
+ /** @deprecated */
1797
+ hspace?: FunctionMaybe<number | string | RemoveAttribute>;
1798
+ /** @deprecated */
1799
+ standby?: FunctionMaybe<string | RemoveAttribute>;
1800
+ /** @deprecated */
1801
+ usemap?: FunctionMaybe<string | RemoveAttribute>;
1802
+ /** @deprecated */
1803
+ vspace?: FunctionMaybe<number | string | RemoveAttribute>;
1804
+ /** @deprecated */
1805
+ typemustmatch?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1806
+ }
1807
+ interface OlHTMLAttributes<T> extends HTMLAttributes<T> {
1808
+ reversed?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1809
+ start?: FunctionMaybe<number | string | RemoveAttribute>;
1810
+ type?: FunctionMaybe<"1" | "a" | "A" | "i" | "I" | RemoveAttribute>;
1811
+
1812
+ /**
1813
+ * @deprecated
1814
+ * @non-standard
1815
+ */
1816
+ compact?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1817
+ }
1818
+ interface OptgroupHTMLAttributes<T> extends HTMLAttributes<T> {
1819
+ disabled?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1820
+ label?: FunctionMaybe<string | RemoveAttribute>;
1821
+ }
1822
+ interface OptionHTMLAttributes<T> extends HTMLAttributes<T> {
1823
+ disabled?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1824
+ label?: FunctionMaybe<string | RemoveAttribute>;
1825
+
1826
+ // special cases locked to properties
1827
+
1828
+ selected?: FunctionMaybe<BooleanProperty | RemoveProperty>;
1829
+ /** @error use `<option selected={..}/>` instead */
1830
+ "prop:selected"?: never;
1831
+
1832
+ defaultSelected?: FunctionMaybe<BooleanProperty | RemoveProperty>;
1833
+ /** @error use `<option defaultSelected={..}/>` instead */
1834
+ "prop:defaultSelected"?: never;
1835
+
1836
+ value?: FunctionMaybe<string | string[] | number | RemoveProperty>;
1837
+ /** @error use `<option value={..}/>` instead */
1838
+ "prop:value"?: never;
1839
+
1840
+ // for sanity
1841
+
1842
+ /** @error This doesn't exists for `<option/>` */
1843
+ "prop:defaultValue"?: never;
1844
+ /** @error This doesn't exists for `<option/>` */
1845
+ defaultValue?: never;
1846
+ }
1847
+ interface OutputHTMLAttributes<T> extends HTMLAttributes<T> {
1848
+ for?: FunctionMaybe<string | RemoveAttribute>;
1849
+ form?: FunctionMaybe<string | RemoveAttribute>;
1850
+ name?: FunctionMaybe<string | RemoveAttribute>;
1851
+ }
1852
+ interface ParamHTMLAttributes<T> extends HTMLAttributes<T> {
1853
+ /** @deprecated */
1854
+ name?: FunctionMaybe<string | RemoveAttribute>;
1855
+ /** @deprecated */
1856
+ type?: FunctionMaybe<string | RemoveAttribute>;
1857
+ /** @deprecated */
1858
+ value?: FunctionMaybe<string | number | RemoveAttribute>;
1859
+ /** @deprecated */
1860
+ valuetype?: FunctionMaybe<"data" | "ref" | "object" | RemoveAttribute>;
1861
+ }
1862
+ interface ProgressHTMLAttributes<T> extends HTMLAttributes<T> {
1863
+ max?: FunctionMaybe<number | string | RemoveAttribute>;
1864
+ value?: FunctionMaybe<string | string[] | number | RemoveAttribute>;
1865
+ }
1866
+ interface ScriptHTMLAttributes<T> extends HTMLAttributes<T> {
1867
+ async?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1868
+ blocking?: FunctionMaybe<"render" | RemoveAttribute>;
1869
+ crossorigin?: FunctionMaybe<HTMLCrossorigin | RemoveAttribute>;
1870
+ defer?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1871
+ fetchpriority?: FunctionMaybe<"high" | "low" | "auto" | RemoveAttribute>;
1872
+ for?: FunctionMaybe<string | RemoveAttribute>;
1873
+ integrity?: FunctionMaybe<string | RemoveAttribute>;
1874
+ nomodule?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1875
+ referrerpolicy?: FunctionMaybe<HTMLReferrerPolicy | RemoveAttribute>;
1876
+ src?: FunctionMaybe<string | RemoveAttribute>;
1877
+ type?: FunctionMaybe<
1878
+ "importmap" | "module" | "speculationrules" | (string & {}) | RemoveAttribute
1879
+ >;
1880
+
1881
+ /** @experimental */
1882
+ attributionsrc?: FunctionMaybe<string | RemoveAttribute>;
1883
+
1884
+ /** @deprecated */
1885
+ charset?: FunctionMaybe<string | RemoveAttribute>;
1886
+ /** @deprecated */
1887
+ event?: FunctionMaybe<string | RemoveAttribute>;
1888
+ /** @deprecated */
1889
+ language?: FunctionMaybe<string | RemoveAttribute>;
1890
+ }
1891
+ interface SelectHTMLAttributes<T> extends HTMLAttributes<T> {
1892
+ autocomplete?: FunctionMaybe<HTMLAutocomplete | RemoveAttribute>;
1893
+ disabled?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1894
+ form?: FunctionMaybe<string | RemoveAttribute>;
1895
+ multiple?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1896
+ name?: FunctionMaybe<string | RemoveAttribute>;
1897
+ required?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1898
+ size?: FunctionMaybe<number | string | RemoveAttribute>;
1899
+
1900
+ // special cases locked to properties
1901
+
1902
+ value?: FunctionMaybe<string | string[] | number | RemoveProperty>;
1903
+ /** @error use `<select value={..}/>` instead */
1904
+ "prop:value"?: never;
1905
+
1906
+ // for sanity
1907
+
1908
+ /** @error use `<option defaultSelected={..}/>` instead */
1909
+ defaultSelected?: never;
1910
+ /** @error use `<option defaultSelected={..}/>` instead */
1911
+ "prop:defaultSelected"?: never;
1912
+
1913
+ /** @error use `<option defaultSelected={..}/>` instead */
1914
+ selected?: never;
1915
+ /** @error use `<option defaultSelected={..}/>` instead */
1916
+ "prop:selected"?: never;
1917
+ }
1918
+ interface HTMLSlotElementAttributes<T> extends HTMLAttributes<T> {
1919
+ name?: FunctionMaybe<string | RemoveAttribute>;
1920
+ }
1921
+ interface SourceHTMLAttributes<T> extends HTMLAttributes<T> {
1922
+ height?: FunctionMaybe<number | string | RemoveAttribute>;
1923
+ media?: FunctionMaybe<string | RemoveAttribute>;
1924
+ sizes?: FunctionMaybe<string | RemoveAttribute>;
1925
+ src?: FunctionMaybe<string | RemoveAttribute>;
1926
+ srcset?: FunctionMaybe<string | RemoveAttribute>;
1927
+ type?: FunctionMaybe<string | RemoveAttribute>;
1928
+ width?: FunctionMaybe<number | string | RemoveAttribute>;
1929
+ }
1930
+ interface StyleHTMLAttributes<T> extends HTMLAttributes<T> {
1931
+ blocking?: FunctionMaybe<"render" | RemoveAttribute>;
1932
+ media?: FunctionMaybe<string | RemoveAttribute>;
1933
+
1934
+ /** @deprecated */
1935
+ scoped?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1936
+ /** @deprecated */
1937
+ type?: FunctionMaybe<string | RemoveAttribute>;
1938
+ }
1939
+ interface TdHTMLAttributes<T> extends HTMLAttributes<T> {
1940
+ colspan?: FunctionMaybe<number | string | RemoveAttribute>;
1941
+ headers?: FunctionMaybe<string | RemoveAttribute>;
1942
+ rowspan?: FunctionMaybe<number | string | RemoveAttribute>;
1943
+
1944
+ /** @deprecated */
1945
+ abbr?: FunctionMaybe<string | RemoveAttribute>;
1946
+ /** @deprecated */
1947
+ align?: FunctionMaybe<"left" | "center" | "right" | "justify" | "char" | RemoveAttribute>;
1948
+ /** @deprecated */
1949
+ axis?: FunctionMaybe<string | RemoveAttribute>;
1950
+ /** @deprecated */
1951
+ bgcolor?: FunctionMaybe<string | RemoveAttribute>;
1952
+ /** @deprecated */
1953
+ char?: FunctionMaybe<string | RemoveAttribute>;
1954
+ /** @deprecated */
1955
+ charoff?: FunctionMaybe<string | RemoveAttribute>;
1956
+ /** @deprecated */
1957
+ height?: FunctionMaybe<number | string | RemoveAttribute>;
1958
+ /** @deprecated */
1959
+ nowrap?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1960
+ /** @deprecated */
1961
+ scope?: FunctionMaybe<"col" | "row" | "rowgroup" | "colgroup" | RemoveAttribute>;
1962
+ /** @deprecated */
1963
+ valign?: FunctionMaybe<"baseline" | "bottom" | "middle" | "top" | RemoveAttribute>;
1964
+ /** @deprecated */
1965
+ width?: FunctionMaybe<number | string | RemoveAttribute>;
1966
+ }
1967
+ interface TemplateHTMLAttributes<T> extends HTMLAttributes<T> {
1968
+ shadowrootclonable?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1969
+ shadowrootdelegatesfocus?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1970
+ shadowrootmode?: FunctionMaybe<"open" | "closed" | RemoveAttribute>;
1971
+ shadowrootcustomelementregistry?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1972
+
1973
+ /** @experimental */
1974
+ shadowrootserializable?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1975
+ }
1976
+ interface TextareaHTMLAttributes<T> extends HTMLAttributes<T> {
1977
+ autocomplete?: FunctionMaybe<HTMLAutocomplete | RemoveAttribute>;
1978
+ cols?: FunctionMaybe<number | string | RemoveAttribute>;
1979
+ dirname?: FunctionMaybe<string | RemoveAttribute>;
1980
+ disabled?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1981
+
1982
+ form?: FunctionMaybe<string | RemoveAttribute>;
1983
+ maxlength?: FunctionMaybe<number | string | RemoveAttribute>;
1984
+ minlength?: FunctionMaybe<number | string | RemoveAttribute>;
1985
+ name?: FunctionMaybe<string | RemoveAttribute>;
1986
+ placeholder?: FunctionMaybe<string | RemoveAttribute>;
1987
+ readonly?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1988
+ required?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
1989
+ rows?: FunctionMaybe<number | string | RemoveAttribute>;
1990
+ wrap?: FunctionMaybe<"hard" | "soft" | "off" | RemoveAttribute>;
1991
+
1992
+ // special cases locked to properties
1993
+
1994
+ value?: FunctionMaybe<string | string[] | number | RemoveProperty>;
1995
+ /** @error use `<textarea value={..}/>` instead */
1996
+ "prop:value"?: never;
1997
+
1998
+ defaultValue?: FunctionMaybe<string | string[] | number | RemoveProperty>;
1999
+ /** @error use `<textarea defaultValue={..}/>` instead */
2000
+ "prop:defaultValue"?: never;
2001
+ }
2002
+ interface ThHTMLAttributes<T> extends HTMLAttributes<T> {
2003
+ abbr?: FunctionMaybe<string | RemoveAttribute>;
2004
+ colspan?: FunctionMaybe<number | string | RemoveAttribute>;
2005
+ headers?: FunctionMaybe<string | RemoveAttribute>;
2006
+ rowspan?: FunctionMaybe<number | string | RemoveAttribute>;
2007
+ scope?: FunctionMaybe<"col" | "row" | "rowgroup" | "colgroup" | RemoveAttribute>;
2008
+
2009
+ /** @deprecated */
2010
+ align?: FunctionMaybe<"left" | "center" | "right" | "justify" | "char" | RemoveAttribute>;
2011
+ /** @deprecated */
2012
+ axis?: FunctionMaybe<string | RemoveAttribute>;
2013
+ /** @deprecated */
2014
+ bgcolor?: FunctionMaybe<string | RemoveAttribute>;
2015
+ /** @deprecated */
2016
+ char?: FunctionMaybe<string | RemoveAttribute>;
2017
+ /** @deprecated */
2018
+ charoff?: FunctionMaybe<string | RemoveAttribute>;
2019
+ /** @deprecated */
2020
+ height?: FunctionMaybe<string | RemoveAttribute>;
2021
+ /** @deprecated */
2022
+ nowrap?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
2023
+ /** @deprecated */
2024
+ valign?: FunctionMaybe<"baseline" | "bottom" | "middle" | "top" | RemoveAttribute>;
2025
+ /** @deprecated */
2026
+ width?: FunctionMaybe<number | string | RemoveAttribute>;
2027
+ }
2028
+ interface TimeHTMLAttributes<T> extends HTMLAttributes<T> {
2029
+ datetime?: FunctionMaybe<string | RemoveAttribute>;
2030
+ }
2031
+ interface TrackHTMLAttributes<T> extends HTMLAttributes<T> {
2032
+ default?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
2033
+ kind?: FunctionMaybe<
2034
+ | "alternative"
2035
+ | "descriptions"
2036
+ | "main"
2037
+ | "main-desc"
2038
+ | "translation"
2039
+ | "commentary"
2040
+ | "subtitles"
2041
+ | "captions"
2042
+ | "chapters"
2043
+ | "metadata"
2044
+ | RemoveAttribute
2045
+ >;
2046
+ label?: FunctionMaybe<string | RemoveAttribute>;
2047
+ src?: FunctionMaybe<string | RemoveAttribute>;
2048
+ srclang?: FunctionMaybe<string | RemoveAttribute>;
2049
+
2050
+ /** @deprecated */
2051
+ mediagroup?: FunctionMaybe<string | RemoveAttribute>;
2052
+ }
2053
+ interface VideoHTMLAttributes<T> extends MediaHTMLAttributes<T> {
2054
+ disablepictureinpicture?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
2055
+ height?: FunctionMaybe<number | string | RemoveAttribute>;
2056
+ playsinline?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
2057
+ poster?: FunctionMaybe<string | RemoveAttribute>;
2058
+ width?: FunctionMaybe<number | string | RemoveAttribute>;
2059
+
2060
+ onEnterPictureInPicture?: EventHandlerUnion<T, PictureInPictureEvent> | undefined;
2061
+ "on:enterpictureinpicture"?: EventHandlerWithOptionsUnion<T, PictureInPictureEvent> | undefined;
2062
+
2063
+ onLeavePictureInPicture?: EventHandlerUnion<T, PictureInPictureEvent> | undefined;
2064
+ "on:leavepictureinpicture"?: EventHandlerWithOptionsUnion<T, PictureInPictureEvent> | undefined;
2065
+ }
2066
+
2067
+ interface WebViewHTMLAttributes<T> extends HTMLAttributes<T> {
2068
+ allowpopups?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
2069
+ disableblinkfeatures?: FunctionMaybe<string | RemoveAttribute>;
2070
+ disablewebsecurity?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
2071
+ enableblinkfeatures?: FunctionMaybe<string | RemoveAttribute>;
2072
+ httpreferrer?: FunctionMaybe<string | RemoveAttribute>;
2073
+ nodeintegration?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
2074
+ nodeintegrationinsubframes?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
2075
+ partition?: FunctionMaybe<string | RemoveAttribute>;
2076
+ plugins?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
2077
+ preload?: FunctionMaybe<string | RemoveAttribute>;
2078
+ src?: FunctionMaybe<string | RemoveAttribute>;
2079
+ useragent?: FunctionMaybe<string | RemoveAttribute>;
2080
+ webpreferences?: FunctionMaybe<string | RemoveAttribute>;
2081
+
2082
+ // does this exists?
2083
+ allowfullscreen?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
2084
+ autosize?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
2085
+
2086
+ /** @deprecated */
2087
+ blinkfeatures?: FunctionMaybe<string | RemoveAttribute>;
2088
+ /** @deprecated */
2089
+ disableguestresize?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
2090
+ /** @deprecated */
2091
+ guestinstance?: FunctionMaybe<string | RemoveAttribute>;
2092
+ }
2093
+
2094
+ // SVG
2095
+
2096
+ type SVGPreserveAspectRatio =
2097
+ | "none"
2098
+ | "xMinYMin"
2099
+ | "xMidYMin"
2100
+ | "xMaxYMin"
2101
+ | "xMinYMid"
2102
+ | "xMidYMid"
2103
+ | "xMaxYMid"
2104
+ | "xMinYMax"
2105
+ | "xMidYMax"
2106
+ | "xMaxYMax"
2107
+ | "xMinYMin meet"
2108
+ | "xMidYMin meet"
2109
+ | "xMaxYMin meet"
2110
+ | "xMinYMid meet"
2111
+ | "xMidYMid meet"
2112
+ | "xMaxYMid meet"
2113
+ | "xMinYMax meet"
2114
+ | "xMidYMax meet"
2115
+ | "xMaxYMax meet"
2116
+ | "xMinYMin slice"
2117
+ | "xMidYMin slice"
2118
+ | "xMaxYMin slice"
2119
+ | "xMinYMid slice"
2120
+ | "xMidYMid slice"
2121
+ | "xMaxYMid slice"
2122
+ | "xMinYMax slice"
2123
+ | "xMidYMax slice"
2124
+ | "xMaxYMax slice";
2125
+ type ImagePreserveAspectRatio =
2126
+ | SVGPreserveAspectRatio
2127
+ | "defer none"
2128
+ | "defer xMinYMin"
2129
+ | "defer xMidYMin"
2130
+ | "defer xMaxYMin"
2131
+ | "defer xMinYMid"
2132
+ | "defer xMidYMid"
2133
+ | "defer xMaxYMid"
2134
+ | "defer xMinYMax"
2135
+ | "defer xMidYMax"
2136
+ | "defer xMaxYMax"
2137
+ | "defer xMinYMin meet"
2138
+ | "defer xMidYMin meet"
2139
+ | "defer xMaxYMin meet"
2140
+ | "defer xMinYMid meet"
2141
+ | "defer xMidYMid meet"
2142
+ | "defer xMaxYMid meet"
2143
+ | "defer xMinYMax meet"
2144
+ | "defer xMidYMax meet"
2145
+ | "defer xMaxYMax meet"
2146
+ | "defer xMinYMin slice"
2147
+ | "defer xMidYMin slice"
2148
+ | "defer xMaxYMin slice"
2149
+ | "defer xMinYMid slice"
2150
+ | "defer xMidYMid slice"
2151
+ | "defer xMaxYMid slice"
2152
+ | "defer xMinYMax slice"
2153
+ | "defer xMidYMax slice"
2154
+ | "defer xMaxYMax slice";
2155
+ type SVGUnits = "userSpaceOnUse" | "objectBoundingBox";
2156
+
2157
+ interface StylableSVGAttributes {
2158
+ class?: FunctionMaybe<string | ClassList | RemoveAttribute>;
2159
+ style?: FunctionMaybe<CSSProperties | string | RemoveAttribute>;
2160
+ }
2161
+ interface TransformableSVGAttributes {
2162
+ transform?: FunctionMaybe<string | RemoveAttribute>;
2163
+ }
2164
+ interface ConditionalProcessingSVGAttributes {
2165
+ requiredExtensions?: FunctionMaybe<string | RemoveAttribute>;
2166
+ requiredFeatures?: FunctionMaybe<string | RemoveAttribute>;
2167
+ systemLanguage?: FunctionMaybe<string | RemoveAttribute>;
2168
+ }
2169
+ interface ExternalResourceSVGAttributes {
2170
+ externalResourcesRequired?: FunctionMaybe<EnumeratedPseudoBoolean | RemoveAttribute>;
2171
+ }
2172
+ interface AnimationTimingSVGAttributes {
2173
+ begin?: FunctionMaybe<string | RemoveAttribute>;
2174
+ dur?: FunctionMaybe<string | RemoveAttribute>;
2175
+ end?: FunctionMaybe<string | RemoveAttribute>;
2176
+ fill?: FunctionMaybe<"freeze" | "remove" | RemoveAttribute>;
2177
+ max?: FunctionMaybe<string | RemoveAttribute>;
2178
+ min?: FunctionMaybe<string | RemoveAttribute>;
2179
+ repeatCount?: FunctionMaybe<number | "indefinite" | RemoveAttribute>;
2180
+ repeatDur?: FunctionMaybe<string | RemoveAttribute>;
2181
+ restart?: FunctionMaybe<"always" | "whenNotActive" | "never" | RemoveAttribute>;
2182
+ }
2183
+ interface AnimationValueSVGAttributes {
2184
+ by?: FunctionMaybe<number | string | RemoveAttribute>;
2185
+ calcMode?: FunctionMaybe<"discrete" | "linear" | "paced" | "spline" | RemoveAttribute>;
2186
+ from?: FunctionMaybe<number | string | RemoveAttribute>;
2187
+ keySplines?: FunctionMaybe<string | RemoveAttribute>;
2188
+ keyTimes?: FunctionMaybe<string | RemoveAttribute>;
2189
+ to?: FunctionMaybe<number | string | RemoveAttribute>;
2190
+ values?: FunctionMaybe<string | RemoveAttribute>;
2191
+ }
2192
+ interface AnimationAdditionSVGAttributes {
2193
+ accumulate?: FunctionMaybe<"none" | "sum" | RemoveAttribute>;
2194
+ additive?: FunctionMaybe<"replace" | "sum" | RemoveAttribute>;
2195
+ attributeName?: FunctionMaybe<string | RemoveAttribute>;
2196
+ }
2197
+ interface AnimationAttributeTargetSVGAttributes {
2198
+ attributeName?: FunctionMaybe<string | RemoveAttribute>;
2199
+ attributeType?: FunctionMaybe<"CSS" | "XML" | "auto" | RemoveAttribute>;
2200
+ }
2201
+ interface PresentationSVGAttributes {
2202
+ "alignment-baseline"?: FunctionMaybe<
2203
+ | "auto"
2204
+ | "baseline"
2205
+ | "before-edge"
2206
+ | "text-before-edge"
2207
+ | "middle"
2208
+ | "central"
2209
+ | "after-edge"
2210
+ | "text-after-edge"
2211
+ | "ideographic"
2212
+ | "alphabetic"
2213
+ | "hanging"
2214
+ | "mathematical"
2215
+ | "inherit"
2216
+ | RemoveAttribute
2217
+ >;
2218
+ "baseline-shift"?: FunctionMaybe<number | string | RemoveAttribute>;
2219
+ "clip-path"?: FunctionMaybe<string | RemoveAttribute>;
2220
+ "clip-rule"?: FunctionMaybe<"nonzero" | "evenodd" | "inherit" | RemoveAttribute>;
2221
+ "color-interpolation"?: FunctionMaybe<
2222
+ "auto" | "sRGB" | "linearRGB" | "inherit" | RemoveAttribute
2223
+ >;
2224
+ "color-interpolation-filters"?: FunctionMaybe<
2225
+ "auto" | "sRGB" | "linearRGB" | "inherit" | RemoveAttribute
2226
+ >;
2227
+ "color-profile"?: FunctionMaybe<string | RemoveAttribute>;
2228
+ "color-rendering"?: FunctionMaybe<
2229
+ "auto" | "optimizeSpeed" | "optimizeQuality" | "inherit" | RemoveAttribute
2230
+ >;
2231
+ "dominant-baseline"?: FunctionMaybe<
2232
+ | "auto"
2233
+ | "text-bottom"
2234
+ | "alphabetic"
2235
+ | "ideographic"
2236
+ | "middle"
2237
+ | "central"
2238
+ | "mathematical"
2239
+ | "hanging"
2240
+ | "text-top"
2241
+ | "inherit"
2242
+ | RemoveAttribute
2243
+ >;
2244
+ "enable-background"?: FunctionMaybe<string | RemoveAttribute>;
2245
+ "fill-opacity"?: FunctionMaybe<number | string | "inherit" | RemoveAttribute>;
2246
+ "fill-rule"?: FunctionMaybe<"nonzero" | "evenodd" | "inherit" | RemoveAttribute>;
2247
+ "flood-color"?: FunctionMaybe<string | RemoveAttribute>;
2248
+ "flood-opacity"?: FunctionMaybe<number | string | "inherit" | RemoveAttribute>;
2249
+ "font-family"?: FunctionMaybe<string | RemoveAttribute>;
2250
+ "font-size"?: FunctionMaybe<string | RemoveAttribute>;
2251
+ "font-size-adjust"?: FunctionMaybe<number | string | RemoveAttribute>;
2252
+ "font-stretch"?: FunctionMaybe<string | RemoveAttribute>;
2253
+ "font-style"?: FunctionMaybe<"normal" | "italic" | "oblique" | "inherit" | RemoveAttribute>;
2254
+ "font-variant"?: FunctionMaybe<string | RemoveAttribute>;
2255
+ "font-weight"?: FunctionMaybe<number | string | RemoveAttribute>;
2256
+ "glyph-orientation-horizontal"?: FunctionMaybe<string | RemoveAttribute>;
2257
+ "glyph-orientation-vertical"?: FunctionMaybe<string | RemoveAttribute>;
2258
+ "image-rendering"?: FunctionMaybe<
2259
+ "auto" | "optimizeQuality" | "optimizeSpeed" | "inherit" | RemoveAttribute
2260
+ >;
2261
+ "letter-spacing"?: FunctionMaybe<number | string | RemoveAttribute>;
2262
+ "lighting-color"?: FunctionMaybe<string | RemoveAttribute>;
2263
+ "marker-end"?: FunctionMaybe<string | RemoveAttribute>;
2264
+ "marker-mid"?: FunctionMaybe<string | RemoveAttribute>;
2265
+ "marker-start"?: FunctionMaybe<string | RemoveAttribute>;
2266
+ "pointer-events"?: FunctionMaybe<
2267
+ | "bounding-box"
2268
+ | "visiblePainted"
2269
+ | "visibleFill"
2270
+ | "visibleStroke"
2271
+ | "visible"
2272
+ | "painted"
2273
+ | "color"
2274
+ | "fill"
2275
+ | "stroke"
2276
+ | "all"
2277
+ | "none"
2278
+ | "inherit"
2279
+ | RemoveAttribute
2280
+ >;
2281
+ "shape-rendering"?: FunctionMaybe<
2282
+ "auto" | "optimizeSpeed" | "crispEdges" | "geometricPrecision" | "inherit" | RemoveAttribute
2283
+ >;
2284
+ "stop-color"?: FunctionMaybe<string | RemoveAttribute>;
2285
+ "stop-opacity"?: FunctionMaybe<number | string | "inherit" | RemoveAttribute>;
2286
+ "stroke-dasharray"?: FunctionMaybe<string | RemoveAttribute>;
2287
+ "stroke-dashoffset"?: FunctionMaybe<number | string | RemoveAttribute>;
2288
+ "stroke-linecap"?: FunctionMaybe<"butt" | "round" | "square" | "inherit" | RemoveAttribute>;
2289
+ "stroke-linejoin"?: FunctionMaybe<
2290
+ "arcs" | "bevel" | "miter" | "miter-clip" | "round" | "inherit" | RemoveAttribute
2291
+ >;
2292
+ "stroke-miterlimit"?: FunctionMaybe<number | string | "inherit" | RemoveAttribute>;
2293
+ "stroke-opacity"?: FunctionMaybe<number | string | "inherit" | RemoveAttribute>;
2294
+ "stroke-width"?: FunctionMaybe<number | string | RemoveAttribute>;
2295
+ "text-anchor"?: FunctionMaybe<"start" | "middle" | "end" | "inherit" | RemoveAttribute>;
2296
+ "text-decoration"?: FunctionMaybe<
2297
+ "none" | "underline" | "overline" | "line-through" | "blink" | "inherit" | RemoveAttribute
2298
+ >;
2299
+ "text-rendering"?: FunctionMaybe<
2300
+ | "auto"
2301
+ | "optimizeSpeed"
2302
+ | "optimizeLegibility"
2303
+ | "geometricPrecision"
2304
+ | "inherit"
2305
+ | RemoveAttribute
2306
+ >;
2307
+ "unicode-bidi"?: FunctionMaybe<string | RemoveAttribute>;
2308
+ "word-spacing"?: FunctionMaybe<number | string | RemoveAttribute>;
2309
+ "writing-mode"?: FunctionMaybe<
2310
+ "lr-tb" | "rl-tb" | "tb-rl" | "lr" | "rl" | "tb" | "inherit" | RemoveAttribute
2311
+ >;
2312
+ clip?: FunctionMaybe<string | RemoveAttribute>;
2313
+ color?: FunctionMaybe<string | RemoveAttribute>;
2314
+ cursor?: FunctionMaybe<string | RemoveAttribute>;
2315
+ direction?: FunctionMaybe<"ltr" | "rtl" | "inherit" | RemoveAttribute>;
2316
+ display?: FunctionMaybe<string | RemoveAttribute>;
2317
+ fill?: FunctionMaybe<string | RemoveAttribute>;
2318
+ filter?: FunctionMaybe<string | RemoveAttribute>;
2319
+ kerning?: FunctionMaybe<string | RemoveAttribute>;
2320
+ mask?: FunctionMaybe<string | RemoveAttribute>;
2321
+ opacity?: FunctionMaybe<number | string | "inherit" | RemoveAttribute>;
2322
+ overflow?: FunctionMaybe<
2323
+ "visible" | "hidden" | "scroll" | "auto" | "inherit" | RemoveAttribute
2324
+ >;
2325
+ pathLength?: FunctionMaybe<string | number | RemoveAttribute>;
2326
+ stroke?: FunctionMaybe<string | RemoveAttribute>;
2327
+ visibility?: FunctionMaybe<"visible" | "hidden" | "collapse" | "inherit" | RemoveAttribute>;
2328
+ }
2329
+ interface AnimationElementSVGAttributes<T>
2330
+ extends SVGAttributes<T>, ExternalResourceSVGAttributes, ConditionalProcessingSVGAttributes {
2331
+ onBegin?: EventHandlerUnion<T, TimeEvent> | undefined;
2332
+ "on:begin"?: EventHandlerWithOptionsUnion<T, TimeEvent> | undefined;
2333
+
2334
+ onEnd?: EventHandlerUnion<T, TimeEvent> | undefined;
2335
+ "on:end"?: EventHandlerWithOptionsUnion<T, TimeEvent> | undefined;
2336
+
2337
+ onRepeat?: EventHandlerUnion<T, TimeEvent> | undefined;
2338
+ "on:repeat"?: EventHandlerWithOptionsUnion<T, TimeEvent> | undefined;
2339
+ }
2340
+ interface ContainerElementSVGAttributes<T>
2341
+ extends
2342
+ SVGAttributes<T>,
2343
+ ShapeElementSVGAttributes<T>,
2344
+ Pick<
2345
+ PresentationSVGAttributes,
2346
+ | "clip-path"
2347
+ | "mask"
2348
+ | "cursor"
2349
+ | "opacity"
2350
+ | "filter"
2351
+ | "enable-background"
2352
+ | "color-interpolation"
2353
+ | "color-rendering"
2354
+ > {}
2355
+ interface FilterPrimitiveElementSVGAttributes<T>
2356
+ extends SVGAttributes<T>, Pick<PresentationSVGAttributes, "color-interpolation-filters"> {
2357
+ height?: FunctionMaybe<number | string | RemoveAttribute>;
2358
+ result?: FunctionMaybe<string | RemoveAttribute>;
2359
+ width?: FunctionMaybe<number | string | RemoveAttribute>;
2360
+ x?: FunctionMaybe<number | string | RemoveAttribute>;
2361
+ y?: FunctionMaybe<number | string | RemoveAttribute>;
2362
+ }
2363
+ interface SingleInputFilterSVGAttributes {
2364
+ in?: FunctionMaybe<string | RemoveAttribute>;
2365
+ }
2366
+ interface DoubleInputFilterSVGAttributes {
2367
+ in?: FunctionMaybe<string | RemoveAttribute>;
2368
+ in2?: FunctionMaybe<string | RemoveAttribute>;
2369
+ }
2370
+ interface FitToViewBoxSVGAttributes {
2371
+ preserveAspectRatio?: FunctionMaybe<SVGPreserveAspectRatio | RemoveAttribute>;
2372
+ viewBox?: FunctionMaybe<string | RemoveAttribute>;
2373
+ }
2374
+ interface GradientElementSVGAttributes<T>
2375
+ extends SVGAttributes<T>, ExternalResourceSVGAttributes, StylableSVGAttributes {
2376
+ gradientTransform?: FunctionMaybe<string | RemoveAttribute>;
2377
+ gradientUnits?: FunctionMaybe<SVGUnits | RemoveAttribute>;
2378
+ href?: FunctionMaybe<string | RemoveAttribute>;
2379
+ spreadMethod?: FunctionMaybe<"pad" | "reflect" | "repeat" | RemoveAttribute>;
2380
+ }
2381
+ interface GraphicsElementSVGAttributes<T>
2382
+ extends
2383
+ SVGAttributes<T>,
2384
+ Pick<
2385
+ PresentationSVGAttributes,
2386
+ | "clip-rule"
2387
+ | "mask"
2388
+ | "pointer-events"
2389
+ | "cursor"
2390
+ | "opacity"
2391
+ | "filter"
2392
+ | "display"
2393
+ | "visibility"
2394
+ | "color-interpolation"
2395
+ | "color-rendering"
2396
+ > {}
2397
+ interface LightSourceElementSVGAttributes<T> extends SVGAttributes<T> {}
2398
+ interface NewViewportSVGAttributes<T>
2399
+ extends SVGAttributes<T>, Pick<PresentationSVGAttributes, "overflow" | "clip"> {
2400
+ viewBox?: FunctionMaybe<string | RemoveAttribute>;
2401
+ }
2402
+ interface ShapeElementSVGAttributes<T>
2403
+ extends
2404
+ SVGAttributes<T>,
2405
+ Pick<
2406
+ PresentationSVGAttributes,
2407
+ | "color"
2408
+ | "fill"
2409
+ | "fill-rule"
2410
+ | "fill-opacity"
2411
+ | "stroke"
2412
+ | "stroke-width"
2413
+ | "stroke-linecap"
2414
+ | "stroke-linejoin"
2415
+ | "stroke-miterlimit"
2416
+ | "stroke-dasharray"
2417
+ | "stroke-dashoffset"
2418
+ | "stroke-opacity"
2419
+ | "shape-rendering"
2420
+ | "pathLength"
2421
+ > {}
2422
+ interface TextContentElementSVGAttributes<T>
2423
+ extends
2424
+ SVGAttributes<T>,
2425
+ Pick<
2426
+ PresentationSVGAttributes,
2427
+ | "font-family"
2428
+ | "font-style"
2429
+ | "font-variant"
2430
+ | "font-weight"
2431
+ | "font-stretch"
2432
+ | "font-size"
2433
+ | "font-size-adjust"
2434
+ | "kerning"
2435
+ | "letter-spacing"
2436
+ | "word-spacing"
2437
+ | "text-decoration"
2438
+ | "glyph-orientation-horizontal"
2439
+ | "glyph-orientation-vertical"
2440
+ | "direction"
2441
+ | "unicode-bidi"
2442
+ | "text-anchor"
2443
+ | "dominant-baseline"
2444
+ | "color"
2445
+ | "fill"
2446
+ | "fill-rule"
2447
+ | "fill-opacity"
2448
+ | "stroke"
2449
+ | "stroke-width"
2450
+ | "stroke-linecap"
2451
+ | "stroke-linejoin"
2452
+ | "stroke-miterlimit"
2453
+ | "stroke-dasharray"
2454
+ | "stroke-dashoffset"
2455
+ | "stroke-opacity"
2456
+ > {}
2457
+ interface ZoomAndPanSVGAttributes {
2458
+ /**
2459
+ * @deprecated
2460
+ * @non-standard
2461
+ */
2462
+ zoomAndPan?: FunctionMaybe<"disable" | "magnify" | RemoveAttribute>;
2463
+ }
2464
+ interface AnimateSVGAttributes<T>
2465
+ extends
2466
+ AnimationElementSVGAttributes<T>,
2467
+ AnimationAttributeTargetSVGAttributes,
2468
+ AnimationTimingSVGAttributes,
2469
+ AnimationValueSVGAttributes,
2470
+ AnimationAdditionSVGAttributes,
2471
+ Pick<PresentationSVGAttributes, "color-interpolation" | "color-rendering"> {}
2472
+ interface AnimateMotionSVGAttributes<T>
2473
+ extends
2474
+ AnimationElementSVGAttributes<T>,
2475
+ AnimationTimingSVGAttributes,
2476
+ AnimationValueSVGAttributes,
2477
+ AnimationAdditionSVGAttributes {
2478
+ keyPoints?: FunctionMaybe<string | RemoveAttribute>;
2479
+ origin?: FunctionMaybe<"default" | RemoveAttribute>;
2480
+ path?: FunctionMaybe<string | RemoveAttribute>;
2481
+ rotate?: FunctionMaybe<number | string | "auto" | "auto-reverse" | RemoveAttribute>;
2482
+ }
2483
+ interface AnimateTransformSVGAttributes<T>
2484
+ extends
2485
+ AnimationElementSVGAttributes<T>,
2486
+ AnimationAttributeTargetSVGAttributes,
2487
+ AnimationTimingSVGAttributes,
2488
+ AnimationValueSVGAttributes,
2489
+ AnimationAdditionSVGAttributes {
2490
+ type?: FunctionMaybe<"translate" | "scale" | "rotate" | "skewX" | "skewY" | RemoveAttribute>;
2491
+ }
2492
+ interface CircleSVGAttributes<T>
2493
+ extends
2494
+ GraphicsElementSVGAttributes<T>,
2495
+ ShapeElementSVGAttributes<T>,
2496
+ ConditionalProcessingSVGAttributes,
2497
+ StylableSVGAttributes,
2498
+ TransformableSVGAttributes,
2499
+ Pick<PresentationSVGAttributes, "clip-path"> {
2500
+ cx?: FunctionMaybe<number | string | RemoveAttribute>;
2501
+ cy?: FunctionMaybe<number | string | RemoveAttribute>;
2502
+ r?: FunctionMaybe<number | string | RemoveAttribute>;
2503
+ }
2504
+ interface ClipPathSVGAttributes<T>
2505
+ extends
2506
+ SVGAttributes<T>,
2507
+ ConditionalProcessingSVGAttributes,
2508
+ ExternalResourceSVGAttributes,
2509
+ StylableSVGAttributes,
2510
+ TransformableSVGAttributes,
2511
+ Pick<PresentationSVGAttributes, "clip-path"> {
2512
+ clipPathUnits?: FunctionMaybe<SVGUnits | RemoveAttribute>;
2513
+ }
2514
+ interface DefsSVGAttributes<T>
2515
+ extends
2516
+ ContainerElementSVGAttributes<T>,
2517
+ ConditionalProcessingSVGAttributes,
2518
+ ExternalResourceSVGAttributes,
2519
+ StylableSVGAttributes,
2520
+ TransformableSVGAttributes {}
2521
+ interface DescSVGAttributes<T> extends SVGAttributes<T>, StylableSVGAttributes {}
2522
+ interface EllipseSVGAttributes<T>
2523
+ extends
2524
+ GraphicsElementSVGAttributes<T>,
2525
+ ShapeElementSVGAttributes<T>,
2526
+ ConditionalProcessingSVGAttributes,
2527
+ ExternalResourceSVGAttributes,
2528
+ StylableSVGAttributes,
2529
+ TransformableSVGAttributes,
2530
+ Pick<PresentationSVGAttributes, "clip-path"> {
2531
+ cx?: FunctionMaybe<number | string | RemoveAttribute>;
2532
+ cy?: FunctionMaybe<number | string | RemoveAttribute>;
2533
+ rx?: FunctionMaybe<number | string | RemoveAttribute>;
2534
+ ry?: FunctionMaybe<number | string | RemoveAttribute>;
2535
+ }
2536
+ interface FeBlendSVGAttributes<T>
2537
+ extends
2538
+ FilterPrimitiveElementSVGAttributes<T>,
2539
+ DoubleInputFilterSVGAttributes,
2540
+ StylableSVGAttributes {
2541
+ mode?: FunctionMaybe<"normal" | "multiply" | "screen" | "darken" | "lighten" | RemoveAttribute>;
2542
+ }
2543
+ interface FeColorMatrixSVGAttributes<T>
2544
+ extends
2545
+ FilterPrimitiveElementSVGAttributes<T>,
2546
+ SingleInputFilterSVGAttributes,
2547
+ StylableSVGAttributes {
2548
+ type?: FunctionMaybe<
2549
+ "matrix" | "saturate" | "hueRotate" | "luminanceToAlpha" | RemoveAttribute
2550
+ >;
2551
+ values?: FunctionMaybe<string | RemoveAttribute>;
2552
+ }
2553
+ interface FeComponentTransferSVGAttributes<T>
2554
+ extends
2555
+ FilterPrimitiveElementSVGAttributes<T>,
2556
+ SingleInputFilterSVGAttributes,
2557
+ StylableSVGAttributes {}
2558
+ interface FeCompositeSVGAttributes<T>
2559
+ extends
2560
+ FilterPrimitiveElementSVGAttributes<T>,
2561
+ DoubleInputFilterSVGAttributes,
2562
+ StylableSVGAttributes {
2563
+ k1?: FunctionMaybe<number | string | RemoveAttribute>;
2564
+ k2?: FunctionMaybe<number | string | RemoveAttribute>;
2565
+ k3?: FunctionMaybe<number | string | RemoveAttribute>;
2566
+ k4?: FunctionMaybe<number | string | RemoveAttribute>;
2567
+ operator?: FunctionMaybe<
2568
+ "over" | "in" | "out" | "atop" | "xor" | "arithmetic" | RemoveAttribute
2569
+ >;
2570
+ }
2571
+ interface FeConvolveMatrixSVGAttributes<T>
2572
+ extends
2573
+ FilterPrimitiveElementSVGAttributes<T>,
2574
+ SingleInputFilterSVGAttributes,
2575
+ StylableSVGAttributes {
2576
+ bias?: FunctionMaybe<number | string | RemoveAttribute>;
2577
+ divisor?: FunctionMaybe<number | string | RemoveAttribute>;
2578
+ edgeMode?: FunctionMaybe<"duplicate" | "wrap" | "none" | RemoveAttribute>;
2579
+ kernelMatrix?: FunctionMaybe<string | RemoveAttribute>;
2580
+ kernelUnitLength?: FunctionMaybe<number | string | RemoveAttribute>;
2581
+ order?: FunctionMaybe<number | string | RemoveAttribute>;
2582
+ preserveAlpha?: FunctionMaybe<EnumeratedPseudoBoolean | RemoveAttribute>;
2583
+ targetX?: FunctionMaybe<number | string | RemoveAttribute>;
2584
+ targetY?: FunctionMaybe<number | string | RemoveAttribute>;
2585
+ }
2586
+ interface FeDiffuseLightingSVGAttributes<T>
2587
+ extends
2588
+ FilterPrimitiveElementSVGAttributes<T>,
2589
+ SingleInputFilterSVGAttributes,
2590
+ StylableSVGAttributes,
2591
+ Pick<PresentationSVGAttributes, "color" | "lighting-color"> {
2592
+ diffuseConstant?: FunctionMaybe<number | string | RemoveAttribute>;
2593
+ kernelUnitLength?: FunctionMaybe<number | string | RemoveAttribute>;
2594
+ surfaceScale?: FunctionMaybe<number | string | RemoveAttribute>;
2595
+ }
2596
+ interface FeDisplacementMapSVGAttributes<T>
2597
+ extends
2598
+ FilterPrimitiveElementSVGAttributes<T>,
2599
+ DoubleInputFilterSVGAttributes,
2600
+ StylableSVGAttributes {
2601
+ scale?: FunctionMaybe<number | string | RemoveAttribute>;
2602
+ xChannelSelector?: FunctionMaybe<"R" | "G" | "B" | "A" | RemoveAttribute>;
2603
+ yChannelSelector?: FunctionMaybe<"R" | "G" | "B" | "A" | RemoveAttribute>;
2604
+ }
2605
+ interface FeDistantLightSVGAttributes<T> extends LightSourceElementSVGAttributes<T> {
2606
+ azimuth?: FunctionMaybe<number | string | RemoveAttribute>;
2607
+ elevation?: FunctionMaybe<number | string | RemoveAttribute>;
2608
+ }
2609
+ interface FeDropShadowSVGAttributes<T>
2610
+ extends
2611
+ SVGAttributes<T>,
2612
+ FilterPrimitiveElementSVGAttributes<T>,
2613
+ StylableSVGAttributes,
2614
+ Pick<PresentationSVGAttributes, "color" | "flood-color" | "flood-opacity"> {
2615
+ dx?: FunctionMaybe<number | string | RemoveAttribute>;
2616
+ dy?: FunctionMaybe<number | string | RemoveAttribute>;
2617
+ stdDeviation?: FunctionMaybe<number | string | RemoveAttribute>;
2618
+ }
2619
+ interface FeFloodSVGAttributes<T>
2620
+ extends
2621
+ FilterPrimitiveElementSVGAttributes<T>,
2622
+ StylableSVGAttributes,
2623
+ Pick<PresentationSVGAttributes, "color" | "flood-color" | "flood-opacity"> {}
2624
+ interface FeFuncSVGAttributes<T> extends SVGAttributes<T> {
2625
+ amplitude?: FunctionMaybe<number | string | RemoveAttribute>;
2626
+ exponent?: FunctionMaybe<number | string | RemoveAttribute>;
2627
+ intercept?: FunctionMaybe<number | string | RemoveAttribute>;
2628
+ offset?: FunctionMaybe<number | string | RemoveAttribute>;
2629
+ slope?: FunctionMaybe<number | string | RemoveAttribute>;
2630
+ tableValues?: FunctionMaybe<string | RemoveAttribute>;
2631
+ type?: FunctionMaybe<"identity" | "table" | "discrete" | "linear" | "gamma" | RemoveAttribute>;
2632
+ }
2633
+ interface FeGaussianBlurSVGAttributes<T>
2634
+ extends
2635
+ FilterPrimitiveElementSVGAttributes<T>,
2636
+ SingleInputFilterSVGAttributes,
2637
+ StylableSVGAttributes {
2638
+ stdDeviation?: FunctionMaybe<number | string | RemoveAttribute>;
2639
+ }
2640
+ interface FeImageSVGAttributes<T>
2641
+ extends
2642
+ FilterPrimitiveElementSVGAttributes<T>,
2643
+ ExternalResourceSVGAttributes,
2644
+ StylableSVGAttributes {
2645
+ href?: FunctionMaybe<string | RemoveAttribute>;
2646
+ preserveAspectRatio?: FunctionMaybe<SVGPreserveAspectRatio | RemoveAttribute>;
2647
+ }
2648
+ interface FeMergeSVGAttributes<T>
2649
+ extends FilterPrimitiveElementSVGAttributes<T>, StylableSVGAttributes {}
2650
+ interface FeMergeNodeSVGAttributes<T> extends SVGAttributes<T>, SingleInputFilterSVGAttributes {}
2651
+ interface FeMorphologySVGAttributes<T>
2652
+ extends
2653
+ FilterPrimitiveElementSVGAttributes<T>,
2654
+ SingleInputFilterSVGAttributes,
2655
+ StylableSVGAttributes {
2656
+ operator?: FunctionMaybe<"erode" | "dilate" | RemoveAttribute>;
2657
+ radius?: FunctionMaybe<number | string | RemoveAttribute>;
2658
+ }
2659
+ interface FeOffsetSVGAttributes<T>
2660
+ extends
2661
+ FilterPrimitiveElementSVGAttributes<T>,
2662
+ SingleInputFilterSVGAttributes,
2663
+ StylableSVGAttributes {
2664
+ dx?: FunctionMaybe<number | string | RemoveAttribute>;
2665
+ dy?: FunctionMaybe<number | string | RemoveAttribute>;
2666
+ }
2667
+ interface FePointLightSVGAttributes<T> extends LightSourceElementSVGAttributes<T> {
2668
+ x?: FunctionMaybe<number | string | RemoveAttribute>;
2669
+ y?: FunctionMaybe<number | string | RemoveAttribute>;
2670
+ z?: FunctionMaybe<number | string | RemoveAttribute>;
2671
+ }
2672
+ interface FeSpecularLightingSVGAttributes<T>
2673
+ extends
2674
+ FilterPrimitiveElementSVGAttributes<T>,
2675
+ SingleInputFilterSVGAttributes,
2676
+ StylableSVGAttributes,
2677
+ Pick<PresentationSVGAttributes, "color" | "lighting-color"> {
2678
+ kernelUnitLength?: FunctionMaybe<number | string | RemoveAttribute>;
2679
+ specularConstant?: FunctionMaybe<string | RemoveAttribute>;
2680
+ specularExponent?: FunctionMaybe<string | RemoveAttribute>;
2681
+ surfaceScale?: FunctionMaybe<string | RemoveAttribute>;
2682
+ }
2683
+ interface FeSpotLightSVGAttributes<T> extends LightSourceElementSVGAttributes<T> {
2684
+ limitingConeAngle?: FunctionMaybe<number | string | RemoveAttribute>;
2685
+ pointsAtX?: FunctionMaybe<number | string | RemoveAttribute>;
2686
+ pointsAtY?: FunctionMaybe<number | string | RemoveAttribute>;
2687
+ pointsAtZ?: FunctionMaybe<number | string | RemoveAttribute>;
2688
+ specularExponent?: FunctionMaybe<number | string | RemoveAttribute>;
2689
+ x?: FunctionMaybe<number | string | RemoveAttribute>;
2690
+ y?: FunctionMaybe<number | string | RemoveAttribute>;
2691
+ z?: FunctionMaybe<number | string | RemoveAttribute>;
2692
+ }
2693
+ interface FeTileSVGAttributes<T>
2694
+ extends
2695
+ FilterPrimitiveElementSVGAttributes<T>,
2696
+ SingleInputFilterSVGAttributes,
2697
+ StylableSVGAttributes {}
2698
+ interface FeTurbulanceSVGAttributes<T>
2699
+ extends FilterPrimitiveElementSVGAttributes<T>, StylableSVGAttributes {
2700
+ baseFrequency?: FunctionMaybe<number | string | RemoveAttribute>;
2701
+ numOctaves?: FunctionMaybe<number | string | RemoveAttribute>;
2702
+ seed?: FunctionMaybe<number | string | RemoveAttribute>;
2703
+ stitchTiles?: FunctionMaybe<"stitch" | "noStitch" | RemoveAttribute>;
2704
+ type?: FunctionMaybe<"fractalNoise" | "turbulence" | RemoveAttribute>;
2705
+ }
2706
+ interface FilterSVGAttributes<T>
2707
+ extends SVGAttributes<T>, ExternalResourceSVGAttributes, StylableSVGAttributes {
2708
+ filterRes?: FunctionMaybe<number | string | RemoveAttribute>;
2709
+ filterUnits?: FunctionMaybe<SVGUnits | RemoveAttribute>;
2710
+ height?: FunctionMaybe<number | string | RemoveAttribute>;
2711
+ primitiveUnits?: FunctionMaybe<SVGUnits | RemoveAttribute>;
2712
+ width?: FunctionMaybe<number | string | RemoveAttribute>;
2713
+ x?: FunctionMaybe<number | string | RemoveAttribute>;
2714
+ y?: FunctionMaybe<number | string | RemoveAttribute>;
2715
+ }
2716
+ interface ForeignObjectSVGAttributes<T>
2717
+ extends
2718
+ NewViewportSVGAttributes<T>,
2719
+ ConditionalProcessingSVGAttributes,
2720
+ ExternalResourceSVGAttributes,
2721
+ StylableSVGAttributes,
2722
+ TransformableSVGAttributes,
2723
+ Pick<PresentationSVGAttributes, "display" | "visibility"> {
2724
+ height?: FunctionMaybe<number | string | RemoveAttribute>;
2725
+ width?: FunctionMaybe<number | string | RemoveAttribute>;
2726
+ x?: FunctionMaybe<number | string | RemoveAttribute>;
2727
+ y?: FunctionMaybe<number | string | RemoveAttribute>;
2728
+ }
2729
+ interface GSVGAttributes<T>
2730
+ extends
2731
+ ContainerElementSVGAttributes<T>,
2732
+ ConditionalProcessingSVGAttributes,
2733
+ ExternalResourceSVGAttributes,
2734
+ StylableSVGAttributes,
2735
+ TransformableSVGAttributes,
2736
+ Pick<PresentationSVGAttributes, "clip-path" | "display" | "visibility"> {}
2737
+ interface ImageSVGAttributes<T>
2738
+ extends
2739
+ NewViewportSVGAttributes<T>,
2740
+ GraphicsElementSVGAttributes<T>,
2741
+ ConditionalProcessingSVGAttributes,
2742
+ StylableSVGAttributes,
2743
+ TransformableSVGAttributes,
2744
+ Pick<PresentationSVGAttributes, "clip-path" | "color-profile" | "image-rendering"> {
2745
+ height?: FunctionMaybe<number | string | RemoveAttribute>;
2746
+ href?: FunctionMaybe<string | RemoveAttribute>;
2747
+ preserveAspectRatio?: FunctionMaybe<ImagePreserveAspectRatio | RemoveAttribute>;
2748
+ width?: FunctionMaybe<number | string | RemoveAttribute>;
2749
+ x?: FunctionMaybe<number | string | RemoveAttribute>;
2750
+ y?: FunctionMaybe<number | string | RemoveAttribute>;
2751
+ }
2752
+ interface LineSVGAttributes<T>
2753
+ extends
2754
+ GraphicsElementSVGAttributes<T>,
2755
+ ShapeElementSVGAttributes<T>,
2756
+ ConditionalProcessingSVGAttributes,
2757
+ ExternalResourceSVGAttributes,
2758
+ StylableSVGAttributes,
2759
+ TransformableSVGAttributes,
2760
+ Pick<PresentationSVGAttributes, "clip-path" | "marker-start" | "marker-mid" | "marker-end"> {
2761
+ x1?: FunctionMaybe<number | string | RemoveAttribute>;
2762
+ x2?: FunctionMaybe<number | string | RemoveAttribute>;
2763
+ y1?: FunctionMaybe<number | string | RemoveAttribute>;
2764
+ y2?: FunctionMaybe<number | string | RemoveAttribute>;
2765
+ }
2766
+ interface LinearGradientSVGAttributes<T> extends GradientElementSVGAttributes<T> {
2767
+ x1?: FunctionMaybe<number | string | RemoveAttribute>;
2768
+ x2?: FunctionMaybe<number | string | RemoveAttribute>;
2769
+ y1?: FunctionMaybe<number | string | RemoveAttribute>;
2770
+ y2?: FunctionMaybe<number | string | RemoveAttribute>;
2771
+ }
2772
+ interface MarkerSVGAttributes<T>
2773
+ extends
2774
+ ContainerElementSVGAttributes<T>,
2775
+ ExternalResourceSVGAttributes,
2776
+ StylableSVGAttributes,
2777
+ FitToViewBoxSVGAttributes,
2778
+ Pick<PresentationSVGAttributes, "clip-path" | "overflow" | "clip"> {
2779
+ markerHeight?: FunctionMaybe<number | string | RemoveAttribute>;
2780
+ markerUnits?: FunctionMaybe<"strokeWidth" | "userSpaceOnUse" | RemoveAttribute>;
2781
+ markerWidth?: FunctionMaybe<number | string | RemoveAttribute>;
2782
+ orient?: FunctionMaybe<string | RemoveAttribute>;
2783
+ refX?: FunctionMaybe<number | string | RemoveAttribute>;
2784
+ refY?: FunctionMaybe<number | string | RemoveAttribute>;
2785
+ }
2786
+ interface MaskSVGAttributes<T>
2787
+ extends
2788
+ Omit<ContainerElementSVGAttributes<T>, "opacity" | "filter">,
2789
+ ConditionalProcessingSVGAttributes,
2790
+ ExternalResourceSVGAttributes,
2791
+ StylableSVGAttributes,
2792
+ Pick<PresentationSVGAttributes, "clip-path"> {
2793
+ height?: FunctionMaybe<number | string | RemoveAttribute>;
2794
+ maskContentUnits?: FunctionMaybe<SVGUnits | RemoveAttribute>;
2795
+ maskUnits?: FunctionMaybe<SVGUnits | RemoveAttribute>;
2796
+ width?: FunctionMaybe<number | string | RemoveAttribute>;
2797
+ x?: FunctionMaybe<number | string | RemoveAttribute>;
2798
+ y?: FunctionMaybe<number | string | RemoveAttribute>;
2799
+ }
2800
+ interface MetadataSVGAttributes<T> extends SVGAttributes<T> {}
2801
+ interface MPathSVGAttributes<T> extends SVGAttributes<T> {}
2802
+ interface PathSVGAttributes<T>
2803
+ extends
2804
+ GraphicsElementSVGAttributes<T>,
2805
+ ShapeElementSVGAttributes<T>,
2806
+ ConditionalProcessingSVGAttributes,
2807
+ ExternalResourceSVGAttributes,
2808
+ StylableSVGAttributes,
2809
+ TransformableSVGAttributes,
2810
+ Pick<PresentationSVGAttributes, "clip-path" | "marker-start" | "marker-mid" | "marker-end"> {
2811
+ d?: FunctionMaybe<string | RemoveAttribute>;
2812
+ pathLength?: FunctionMaybe<number | string | RemoveAttribute>;
2813
+ }
2814
+ interface PatternSVGAttributes<T>
2815
+ extends
2816
+ ContainerElementSVGAttributes<T>,
2817
+ ConditionalProcessingSVGAttributes,
2818
+ ExternalResourceSVGAttributes,
2819
+ StylableSVGAttributes,
2820
+ FitToViewBoxSVGAttributes,
2821
+ Pick<PresentationSVGAttributes, "clip-path" | "overflow" | "clip"> {
2822
+ height?: FunctionMaybe<number | string | RemoveAttribute>;
2823
+ href?: FunctionMaybe<string | RemoveAttribute>;
2824
+ patternContentUnits?: FunctionMaybe<SVGUnits | RemoveAttribute>;
2825
+ patternTransform?: FunctionMaybe<string | RemoveAttribute>;
2826
+ patternUnits?: FunctionMaybe<SVGUnits | RemoveAttribute>;
2827
+ width?: FunctionMaybe<number | string | RemoveAttribute>;
2828
+ x?: FunctionMaybe<number | string | RemoveAttribute>;
2829
+ y?: FunctionMaybe<number | string | RemoveAttribute>;
2830
+ }
2831
+ interface PolygonSVGAttributes<T>
2832
+ extends
2833
+ GraphicsElementSVGAttributes<T>,
2834
+ ShapeElementSVGAttributes<T>,
2835
+ ConditionalProcessingSVGAttributes,
2836
+ ExternalResourceSVGAttributes,
2837
+ StylableSVGAttributes,
2838
+ TransformableSVGAttributes,
2839
+ Pick<PresentationSVGAttributes, "clip-path" | "marker-start" | "marker-mid" | "marker-end"> {
2840
+ points?: FunctionMaybe<string | RemoveAttribute>;
2841
+ }
2842
+ interface PolylineSVGAttributes<T>
2843
+ extends
2844
+ GraphicsElementSVGAttributes<T>,
2845
+ ShapeElementSVGAttributes<T>,
2846
+ ConditionalProcessingSVGAttributes,
2847
+ ExternalResourceSVGAttributes,
2848
+ StylableSVGAttributes,
2849
+ TransformableSVGAttributes,
2850
+ Pick<PresentationSVGAttributes, "clip-path" | "marker-start" | "marker-mid" | "marker-end"> {
2851
+ points?: FunctionMaybe<string | RemoveAttribute>;
2852
+ }
2853
+ interface RadialGradientSVGAttributes<T> extends GradientElementSVGAttributes<T> {
2854
+ cx?: FunctionMaybe<number | string | RemoveAttribute>;
2855
+ cy?: FunctionMaybe<number | string | RemoveAttribute>;
2856
+ fx?: FunctionMaybe<number | string | RemoveAttribute>;
2857
+ fy?: FunctionMaybe<number | string | RemoveAttribute>;
2858
+ r?: FunctionMaybe<number | string | RemoveAttribute>;
2859
+ }
2860
+ interface RectSVGAttributes<T>
2861
+ extends
2862
+ GraphicsElementSVGAttributes<T>,
2863
+ ShapeElementSVGAttributes<T>,
2864
+ ConditionalProcessingSVGAttributes,
2865
+ ExternalResourceSVGAttributes,
2866
+ StylableSVGAttributes,
2867
+ TransformableSVGAttributes,
2868
+ Pick<PresentationSVGAttributes, "clip-path"> {
2869
+ height?: FunctionMaybe<number | string | RemoveAttribute>;
2870
+ rx?: FunctionMaybe<number | string | RemoveAttribute>;
2871
+ ry?: FunctionMaybe<number | string | RemoveAttribute>;
2872
+ width?: FunctionMaybe<number | string | RemoveAttribute>;
2873
+ x?: FunctionMaybe<number | string | RemoveAttribute>;
2874
+ y?: FunctionMaybe<number | string | RemoveAttribute>;
2875
+ }
2876
+ interface SetSVGAttributes<T>
2877
+ extends AnimationElementSVGAttributes<T>, StylableSVGAttributes, AnimationTimingSVGAttributes {}
2878
+ interface StopSVGAttributes<T>
2879
+ extends
2880
+ SVGAttributes<T>,
2881
+ StylableSVGAttributes,
2882
+ Pick<PresentationSVGAttributes, "color" | "stop-color" | "stop-opacity"> {
2883
+ offset?: FunctionMaybe<number | string | RemoveAttribute>;
2884
+ }
2885
+ interface SvgSVGAttributes<T>
2886
+ extends
2887
+ ContainerElementSVGAttributes<T>,
2888
+ NewViewportSVGAttributes<T>,
2889
+ ConditionalProcessingSVGAttributes,
2890
+ ExternalResourceSVGAttributes,
2891
+ StylableSVGAttributes,
2892
+ FitToViewBoxSVGAttributes,
2893
+ ZoomAndPanSVGAttributes,
2894
+ PresentationSVGAttributes,
2895
+ EventHandlersWindow<T> {
2896
+ "xmlns:xlink"?: FunctionMaybe<string | RemoveAttribute>;
2897
+ contentScriptType?: FunctionMaybe<string | RemoveAttribute>;
2898
+ contentStyleType?: FunctionMaybe<string | RemoveAttribute>;
2899
+ height?: FunctionMaybe<number | string | RemoveAttribute>;
2900
+ width?: FunctionMaybe<number | string | RemoveAttribute>;
2901
+ x?: FunctionMaybe<number | string | RemoveAttribute>;
2902
+ y?: FunctionMaybe<number | string | RemoveAttribute>;
2903
+
2904
+ /** @deprecated */
2905
+ baseProfile?: FunctionMaybe<string | RemoveAttribute>;
2906
+ /** @deprecated */
2907
+ version?: FunctionMaybe<string | RemoveAttribute>;
2908
+ }
2909
+ interface SwitchSVGAttributes<T>
2910
+ extends
2911
+ ContainerElementSVGAttributes<T>,
2912
+ ConditionalProcessingSVGAttributes,
2913
+ ExternalResourceSVGAttributes,
2914
+ StylableSVGAttributes,
2915
+ TransformableSVGAttributes,
2916
+ Pick<PresentationSVGAttributes, "display" | "visibility"> {}
2917
+ interface SymbolSVGAttributes<T>
2918
+ extends
2919
+ ContainerElementSVGAttributes<T>,
2920
+ NewViewportSVGAttributes<T>,
2921
+ ExternalResourceSVGAttributes,
2922
+ StylableSVGAttributes,
2923
+ FitToViewBoxSVGAttributes,
2924
+ Pick<PresentationSVGAttributes, "clip-path"> {
2925
+ height?: FunctionMaybe<number | string | RemoveAttribute>;
2926
+ preserveAspectRatio?: FunctionMaybe<SVGPreserveAspectRatio | RemoveAttribute>;
2927
+ refX?: FunctionMaybe<number | string | RemoveAttribute>;
2928
+ refY?: FunctionMaybe<number | string | RemoveAttribute>;
2929
+ viewBox?: FunctionMaybe<string | RemoveAttribute>;
2930
+ width?: FunctionMaybe<number | string | RemoveAttribute>;
2931
+ x?: FunctionMaybe<number | string | RemoveAttribute>;
2932
+ y?: FunctionMaybe<number | string | RemoveAttribute>;
2933
+ }
2934
+ interface TextSVGAttributes<T>
2935
+ extends
2936
+ TextContentElementSVGAttributes<T>,
2937
+ GraphicsElementSVGAttributes<T>,
2938
+ ConditionalProcessingSVGAttributes,
2939
+ ExternalResourceSVGAttributes,
2940
+ StylableSVGAttributes,
2941
+ TransformableSVGAttributes,
2942
+ Pick<PresentationSVGAttributes, "clip-path" | "writing-mode" | "text-rendering"> {
2943
+ dx?: FunctionMaybe<number | string | RemoveAttribute>;
2944
+ dy?: FunctionMaybe<number | string | RemoveAttribute>;
2945
+ lengthAdjust?: FunctionMaybe<"spacing" | "spacingAndGlyphs" | RemoveAttribute>;
2946
+ rotate?: FunctionMaybe<number | string | RemoveAttribute>;
2947
+ textLength?: FunctionMaybe<number | string | RemoveAttribute>;
2948
+ x?: FunctionMaybe<number | string | RemoveAttribute>;
2949
+ y?: FunctionMaybe<number | string | RemoveAttribute>;
2950
+ }
2951
+ interface TextPathSVGAttributes<T>
2952
+ extends
2953
+ TextContentElementSVGAttributes<T>,
2954
+ ConditionalProcessingSVGAttributes,
2955
+ ExternalResourceSVGAttributes,
2956
+ StylableSVGAttributes,
2957
+ Pick<
2958
+ PresentationSVGAttributes,
2959
+ "alignment-baseline" | "baseline-shift" | "display" | "visibility"
2960
+ > {
2961
+ href?: FunctionMaybe<string | RemoveAttribute>;
2962
+ method?: FunctionMaybe<"align" | "stretch" | RemoveAttribute>;
2963
+ spacing?: FunctionMaybe<"auto" | "exact" | RemoveAttribute>;
2964
+ startOffset?: FunctionMaybe<number | string | RemoveAttribute>;
2965
+ }
2966
+ interface TSpanSVGAttributes<T>
2967
+ extends
2968
+ TextContentElementSVGAttributes<T>,
2969
+ ConditionalProcessingSVGAttributes,
2970
+ ExternalResourceSVGAttributes,
2971
+ StylableSVGAttributes,
2972
+ Pick<
2973
+ PresentationSVGAttributes,
2974
+ "alignment-baseline" | "baseline-shift" | "display" | "visibility"
2975
+ > {
2976
+ dx?: FunctionMaybe<number | string | RemoveAttribute>;
2977
+ dy?: FunctionMaybe<number | string | RemoveAttribute>;
2978
+ lengthAdjust?: FunctionMaybe<"spacing" | "spacingAndGlyphs" | RemoveAttribute>;
2979
+ rotate?: FunctionMaybe<number | string | RemoveAttribute>;
2980
+ textLength?: FunctionMaybe<number | string | RemoveAttribute>;
2981
+ x?: FunctionMaybe<number | string | RemoveAttribute>;
2982
+ y?: FunctionMaybe<number | string | RemoveAttribute>;
2983
+ }
2984
+ /** @see https://developer.mozilla.org/en-US/docs/Web/SVG/Element/use */
2985
+ interface UseSVGAttributes<T>
2986
+ extends
2987
+ SVGAttributes<T>,
2988
+ StylableSVGAttributes,
2989
+ ConditionalProcessingSVGAttributes,
2990
+ GraphicsElementSVGAttributes<T>,
2991
+ PresentationSVGAttributes,
2992
+ ExternalResourceSVGAttributes,
2993
+ TransformableSVGAttributes {
2994
+ height?: FunctionMaybe<number | string | RemoveAttribute>;
2995
+ href?: FunctionMaybe<string | RemoveAttribute>;
2996
+ width?: FunctionMaybe<number | string | RemoveAttribute>;
2997
+ x?: FunctionMaybe<number | string | RemoveAttribute>;
2998
+ y?: FunctionMaybe<number | string | RemoveAttribute>;
2999
+ }
3000
+ interface ViewSVGAttributes<T>
3001
+ extends
3002
+ SVGAttributes<T>,
3003
+ ExternalResourceSVGAttributes,
3004
+ FitToViewBoxSVGAttributes,
3005
+ ZoomAndPanSVGAttributes {
3006
+ viewTarget?: FunctionMaybe<string | RemoveAttribute>;
3007
+ }
3008
+
3009
+ // MATH
3010
+
3011
+ interface MathMLAnnotationElementAttributes<T> extends MathMLAttributes<T> {
3012
+ encoding?: FunctionMaybe<string | RemoveAttribute>;
3013
+
3014
+ /** @deprecated */
3015
+ src?: FunctionMaybe<string | RemoveAttribute>;
3016
+ }
3017
+ interface MathMLAnnotationXmlElementAttributes<T> extends MathMLAttributes<T> {
3018
+ encoding?: FunctionMaybe<string | RemoveAttribute>;
3019
+
3020
+ /** @deprecated */
3021
+ src?: FunctionMaybe<string | RemoveAttribute>;
3022
+ }
3023
+ interface MathMLMactionElementAttributes<T> extends MathMLAttributes<T> {
3024
+ /**
3025
+ * @deprecated
3026
+ * @non-standard
3027
+ */
3028
+ actiontype?: FunctionMaybe<"statusline" | "toggle" | RemoveAttribute>;
3029
+ /**
3030
+ * @deprecated
3031
+ * @non-standard
3032
+ */
3033
+ selection?: FunctionMaybe<string | RemoveAttribute>;
3034
+ }
3035
+ interface MathMLMathElementAttributes<T> extends MathMLAttributes<T> {
3036
+ display?: FunctionMaybe<"block" | "inline" | RemoveAttribute>;
3037
+ }
3038
+ interface MathMLMerrorElementAttributes<T> extends MathMLAttributes<T> {}
3039
+ interface MathMLMfracElementAttributes<T> extends MathMLAttributes<T> {
3040
+ linethickness?: FunctionMaybe<string | RemoveAttribute>;
3041
+
3042
+ /**
3043
+ * @deprecated
3044
+ * @non-standard
3045
+ */
3046
+ denomalign?: FunctionMaybe<"center" | "left" | "right" | RemoveAttribute>;
3047
+ /**
3048
+ * @deprecated
3049
+ * @non-standard
3050
+ */
3051
+ numalign?: FunctionMaybe<"center" | "left" | "right" | RemoveAttribute>;
3052
+ }
3053
+ interface MathMLMiElementAttributes<T> extends MathMLAttributes<T> {
3054
+ mathvariant?: FunctionMaybe<"normal" | RemoveAttribute>;
3055
+ }
3056
+
3057
+ interface MathMLMmultiscriptsElementAttributes<T> extends MathMLAttributes<T> {
3058
+ /**
3059
+ * @deprecated
3060
+ * @non-standard
3061
+ */
3062
+ subscriptshift?: FunctionMaybe<string | RemoveAttribute>;
3063
+ /**
3064
+ * @deprecated
3065
+ * @non-standard
3066
+ */
3067
+ superscriptshift?: FunctionMaybe<string | RemoveAttribute>;
3068
+ }
3069
+ interface MathMLMnElementAttributes<T> extends MathMLAttributes<T> {}
3070
+ interface MathMLMoElementAttributes<T> extends MathMLAttributes<T> {
3071
+ fence?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
3072
+ form?: FunctionMaybe<"prefix" | "infix" | "postfix" | RemoveAttribute>;
3073
+ largeop?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
3074
+ lspace?: FunctionMaybe<string | RemoveAttribute>;
3075
+ maxsize?: FunctionMaybe<string | RemoveAttribute>;
3076
+ minsize?: FunctionMaybe<string | RemoveAttribute>;
3077
+ movablelimits?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
3078
+ rspace?: FunctionMaybe<string | RemoveAttribute>;
3079
+ separator?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
3080
+ stretchy?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
3081
+ symmetric?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
3082
+
3083
+ /** @non-standard */
3084
+ accent?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
3085
+ }
3086
+ interface MathMLMoverElementAttributes<T> extends MathMLAttributes<T> {
3087
+ accent?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
3088
+ }
3089
+ interface MathMLMpaddedElementAttributes<T> extends MathMLAttributes<T> {
3090
+ depth?: FunctionMaybe<string | RemoveAttribute>;
3091
+ height?: FunctionMaybe<string | RemoveAttribute>;
3092
+ lspace?: FunctionMaybe<string | RemoveAttribute>;
3093
+ voffset?: FunctionMaybe<string | RemoveAttribute>;
3094
+ width?: FunctionMaybe<string | RemoveAttribute>;
3095
+ }
3096
+ interface MathMLMphantomElementAttributes<T> extends MathMLAttributes<T> {}
3097
+ interface MathMLMprescriptsElementAttributes<T> extends MathMLAttributes<T> {}
3098
+ interface MathMLMrootElementAttributes<T> extends MathMLAttributes<T> {}
3099
+ interface MathMLMrowElementAttributes<T> extends MathMLAttributes<T> {}
3100
+ interface MathMLMsElementAttributes<T> extends MathMLAttributes<T> {
3101
+ /** @deprecated */
3102
+ lquote?: FunctionMaybe<string | RemoveAttribute>;
3103
+ /** @deprecated */
3104
+ rquote?: FunctionMaybe<string | RemoveAttribute>;
3105
+ }
3106
+ interface MathMLMspaceElementAttributes<T> extends MathMLAttributes<T> {
3107
+ depth?: FunctionMaybe<string | RemoveAttribute>;
3108
+ height?: FunctionMaybe<string | RemoveAttribute>;
3109
+ width?: FunctionMaybe<string | RemoveAttribute>;
3110
+ }
3111
+ interface MathMLMsqrtElementAttributes<T> extends MathMLAttributes<T> {}
3112
+ interface MathMLMstyleElementAttributes<T> extends MathMLAttributes<T> {
3113
+ /**
3114
+ * @deprecated
3115
+ * @non-standard
3116
+ */
3117
+ background?: FunctionMaybe<string | RemoveAttribute>;
3118
+ /**
3119
+ * @deprecated
3120
+ * @non-standard
3121
+ */
3122
+ color?: FunctionMaybe<string | RemoveAttribute>;
3123
+ /**
3124
+ * @deprecated
3125
+ * @non-standard
3126
+ */
3127
+ fontsize?: FunctionMaybe<string | RemoveAttribute>;
3128
+ /**
3129
+ * @deprecated
3130
+ * @non-standard
3131
+ */
3132
+ fontstyle?: FunctionMaybe<string | RemoveAttribute>;
3133
+ /**
3134
+ * @deprecated
3135
+ * @non-standard
3136
+ */
3137
+ fontweight?: FunctionMaybe<string | RemoveAttribute>;
3138
+
3139
+ /** @deprecated */
3140
+ scriptminsize?: FunctionMaybe<string | RemoveAttribute>;
3141
+ /** @deprecated */
3142
+ scriptsizemultiplier?: FunctionMaybe<string | RemoveAttribute>;
3143
+ }
3144
+ interface MathMLMsubElementAttributes<T> extends MathMLAttributes<T> {
3145
+ /**
3146
+ * @deprecated
3147
+ * @non-standard
3148
+ */
3149
+ subscriptshift?: FunctionMaybe<string | RemoveAttribute>;
3150
+ }
3151
+ interface MathMLMsubsupElementAttributes<T> extends MathMLAttributes<T> {
3152
+ /**
3153
+ * @deprecated
3154
+ * @non-standard
3155
+ */
3156
+ subscriptshift?: FunctionMaybe<string | RemoveAttribute>;
3157
+ /**
3158
+ * @deprecated
3159
+ * @non-standard
3160
+ */
3161
+ superscriptshift?: FunctionMaybe<string | RemoveAttribute>;
3162
+ }
3163
+ interface MathMLMsupElementAttributes<T> extends MathMLAttributes<T> {
3164
+ /**
3165
+ * @deprecated
3166
+ * @non-standard
3167
+ */
3168
+ superscriptshift?: FunctionMaybe<string | RemoveAttribute>;
3169
+ }
3170
+ interface MathMLMtableElementAttributes<T> extends MathMLAttributes<T> {
3171
+ /** @non-standard */
3172
+ align?: FunctionMaybe<"axis" | "baseline" | "bottom" | "center" | "top" | RemoveAttribute>;
3173
+ /** @non-standard */
3174
+ columnalign?: FunctionMaybe<"center" | "left" | "right" | RemoveAttribute>;
3175
+ /** @non-standard */
3176
+ columnlines?: FunctionMaybe<"dashed" | "none" | "solid" | RemoveAttribute>;
3177
+ /** @non-standard */
3178
+ columnspacing?: FunctionMaybe<string | RemoveAttribute>;
3179
+ /** @non-standard */
3180
+ frame?: FunctionMaybe<"dashed" | "none" | "solid" | RemoveAttribute>;
3181
+ /** @non-standard */
3182
+ framespacing?: FunctionMaybe<string | RemoveAttribute>;
3183
+ /** @non-standard */
3184
+ rowalign?: FunctionMaybe<"axis" | "baseline" | "bottom" | "center" | "top" | RemoveAttribute>;
3185
+ /** @non-standard */
3186
+ rowlines?: FunctionMaybe<"dashed" | "none" | "solid" | RemoveAttribute>;
3187
+ /** @non-standard */
3188
+ rowspacing?: FunctionMaybe<string | RemoveAttribute>;
3189
+ /** @non-standard */
3190
+ width?: FunctionMaybe<string | RemoveAttribute>;
3191
+ }
3192
+ interface MathMLMtdElementAttributes<T> extends MathMLAttributes<T> {
3193
+ columnspan?: FunctionMaybe<number | string | RemoveAttribute>;
3194
+ rowspan?: FunctionMaybe<number | string | RemoveAttribute>;
3195
+ /** @non-standard */
3196
+ columnalign?: FunctionMaybe<"center" | "left" | "right" | RemoveAttribute>;
3197
+ /** @non-standard */
3198
+ rowalign?: FunctionMaybe<"axis" | "baseline" | "bottom" | "center" | "top" | RemoveAttribute>;
3199
+ }
3200
+ interface MathMLMtextElementAttributes<T> extends MathMLAttributes<T> {}
3201
+ interface MathMLMtrElementAttributes<T> extends MathMLAttributes<T> {
3202
+ /** @non-standard */
3203
+ columnalign?: FunctionMaybe<"center" | "left" | "right" | RemoveAttribute>;
3204
+ /** @non-standard */
3205
+ rowalign?: FunctionMaybe<"axis" | "baseline" | "bottom" | "center" | "top" | RemoveAttribute>;
3206
+ }
3207
+ interface MathMLMunderElementAttributes<T> extends MathMLAttributes<T> {
3208
+ accentunder?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
3209
+ }
3210
+ interface MathMLMunderoverElementAttributes<T> extends MathMLAttributes<T> {
3211
+ accent?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
3212
+ accentunder?: FunctionMaybe<BooleanAttribute | RemoveAttribute>;
3213
+ }
3214
+ interface MathMLSemanticsElementAttributes<T> extends MathMLAttributes<T> {}
3215
+
3216
+ interface MathMLMencloseElementAttributes<T> extends MathMLAttributes<T> {
3217
+ /** @non-standard */
3218
+ notation?: FunctionMaybe<string | RemoveAttribute>;
3219
+ }
3220
+ interface MathMLMfencedElementAttributes<T> extends MathMLAttributes<T> {
3221
+ close?: FunctionMaybe<string | RemoveAttribute>;
3222
+ open?: FunctionMaybe<string | RemoveAttribute>;
3223
+ separators?: FunctionMaybe<string | RemoveAttribute>;
3224
+ }
3225
+
3226
+ // TAGS
3227
+
3228
+ /** @type {HTMLElementTagNameMap} */
3229
+ interface HTMLElementTags {
3230
+ /**
3231
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a
3232
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement
3233
+ */
3234
+ a: AnchorHTMLAttributes<HTMLAnchorElement> & Properties<HTMLAnchorElement>;
3235
+ /**
3236
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/abbr
3237
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3238
+ */
3239
+ abbr: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3240
+ /**
3241
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/address
3242
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3243
+ */
3244
+ address: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3245
+ /**
3246
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/area
3247
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement
3248
+ */
3249
+ area: AreaHTMLAttributes<HTMLAreaElement> & Properties<HTMLAreaElement>;
3250
+ /**
3251
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/article
3252
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3253
+ */
3254
+ article: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3255
+ /**
3256
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/aside
3257
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3258
+ */
3259
+ aside: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3260
+ /**
3261
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio
3262
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLAudioElement
3263
+ */
3264
+ audio: AudioHTMLAttributes<HTMLAudioElement> & Properties<HTMLAudioElement>;
3265
+ /**
3266
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/b
3267
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3268
+ */
3269
+ b: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3270
+ /**
3271
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base
3272
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLBaseElement
3273
+ */
3274
+ base: BaseHTMLAttributes<HTMLBaseElement> & Properties<HTMLBaseElement>;
3275
+ /**
3276
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/bdi
3277
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3278
+ */
3279
+ bdi: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3280
+ /**
3281
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/bdo
3282
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3283
+ */
3284
+ bdo: BdoHTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3285
+ /**
3286
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/blockquote
3287
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLQuoteElement
3288
+ */
3289
+ blockquote: BlockquoteHTMLAttributes<HTMLQuoteElement> & Properties<HTMLQuoteElement>;
3290
+ /**
3291
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/body
3292
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLBodyElement
3293
+ */
3294
+ body: BodyHTMLAttributes<HTMLBodyElement> & Properties<HTMLBodyElement>;
3295
+ /**
3296
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/br
3297
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLBRElement
3298
+ */
3299
+ br: HTMLAttributes<HTMLBRElement> & Properties<HTMLBRElement>;
3300
+ /**
3301
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button
3302
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLButtonElement
3303
+ */
3304
+ button: ButtonHTMLAttributes<HTMLButtonElement> & Properties<HTMLButtonElement>;
3305
+ /**
3306
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/canvas
3307
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement
3308
+ */
3309
+ canvas: CanvasHTMLAttributes<HTMLCanvasElement> & Properties<HTMLCanvasElement>;
3310
+ /**
3311
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/caption
3312
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCaptionElement
3313
+ */
3314
+ caption: CaptionHTMLAttributes<HTMLTableCaptionElement> & Properties<HTMLTableCaptionElement>;
3315
+ /**
3316
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/cite
3317
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3318
+ */
3319
+ cite: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3320
+ /**
3321
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/code
3322
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3323
+ */
3324
+ code: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3325
+ /**
3326
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/col
3327
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement
3328
+ */
3329
+ col: ColHTMLAttributes<HTMLTableColElement> & Properties<HTMLTableColElement>;
3330
+ /**
3331
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/colgroup
3332
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement
3333
+ */
3334
+ colgroup: ColgroupHTMLAttributes<HTMLTableColElement> & Properties<HTMLTableColElement>;
3335
+ /**
3336
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/data
3337
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLDataElement
3338
+ */
3339
+ data: DataHTMLAttributes<HTMLDataElement> & Properties<HTMLDataElement>;
3340
+ /**
3341
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist
3342
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLDataListElement
3343
+ */
3344
+ datalist: HTMLAttributes<HTMLDataListElement> & Properties<HTMLDataListElement>;
3345
+ /**
3346
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dd
3347
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3348
+ */
3349
+ dd: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3350
+ /**
3351
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/del
3352
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLModElement
3353
+ */
3354
+ del: ModHTMLAttributes<HTMLModElement> & Properties<HTMLModElement>;
3355
+ /**
3356
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details
3357
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLDetailsElement
3358
+ */
3359
+ details: DetailsHtmlAttributes<HTMLDetailsElement> & Properties<HTMLDetailsElement>;
3360
+ /**
3361
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dfn
3362
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3363
+ */
3364
+ dfn: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3365
+ /**
3366
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog
3367
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement
3368
+ */
3369
+ dialog: DialogHtmlAttributes<HTMLDialogElement> & Properties<HTMLDialogElement>;
3370
+ /**
3371
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/div
3372
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLDivElement
3373
+ */
3374
+ div: HTMLAttributes<HTMLDivElement> & Properties<HTMLDivElement>;
3375
+ /**
3376
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dl
3377
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLDListElement
3378
+ */
3379
+ dl: HTMLAttributes<HTMLDListElement> & Properties<HTMLDListElement>;
3380
+ /**
3381
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dt
3382
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3383
+ */
3384
+ dt: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3385
+ /**
3386
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/em
3387
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3388
+ */
3389
+ em: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3390
+ /**
3391
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/embed
3392
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLEmbedElement
3393
+ */
3394
+ embed: EmbedHTMLAttributes<HTMLEmbedElement> & Properties<HTMLEmbedElement>;
3395
+ /**
3396
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/fieldset
3397
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLFieldSetElement
3398
+ */
3399
+ fieldset: FieldsetHTMLAttributes<HTMLFieldSetElement> & Properties<HTMLFieldSetElement>;
3400
+ /**
3401
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/figcaption
3402
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3403
+ */
3404
+ figcaption: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3405
+ /**
3406
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/figure
3407
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3408
+ */
3409
+ figure: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3410
+ /**
3411
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/footer
3412
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3413
+ */
3414
+ footer: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3415
+ /**
3416
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/form
3417
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement
3418
+ */
3419
+ form: FormHTMLAttributes<HTMLFormElement> & Properties<HTMLFormElement>;
3420
+ /**
3421
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h1
3422
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadingElement
3423
+ */
3424
+ h1: HTMLAttributes<HTMLHeadingElement> & Properties<HTMLHeadingElement>;
3425
+ /**
3426
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h2
3427
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadingElement
3428
+ */
3429
+ h2: HTMLAttributes<HTMLHeadingElement> & Properties<HTMLHeadingElement>;
3430
+ /**
3431
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h3
3432
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadingElement
3433
+ */
3434
+ h3: HTMLAttributes<HTMLHeadingElement> & Properties<HTMLHeadingElement>;
3435
+ /**
3436
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h4
3437
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadingElement
3438
+ */
3439
+ h4: HTMLAttributes<HTMLHeadingElement> & Properties<HTMLHeadingElement>;
3440
+ /**
3441
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h5
3442
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadingElement
3443
+ */
3444
+ h5: HTMLAttributes<HTMLHeadingElement> & Properties<HTMLHeadingElement>;
3445
+ /**
3446
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/h6
3447
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadingElement
3448
+ */
3449
+ h6: HTMLAttributes<HTMLHeadingElement> & Properties<HTMLHeadingElement>;
3450
+ /**
3451
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/head
3452
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadElement
3453
+ */
3454
+ head: HTMLAttributes<HTMLHeadElement> & Properties<HTMLHeadElement>;
3455
+ /**
3456
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/header
3457
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3458
+ */
3459
+ header: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3460
+ /**
3461
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hgroup
3462
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3463
+ */
3464
+ hgroup: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3465
+ /**
3466
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hr
3467
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHRElement
3468
+ */
3469
+ hr: HTMLAttributes<HTMLHRElement> & Properties<HTMLHRElement>;
3470
+ /**
3471
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/html
3472
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLHtmlElement
3473
+ */
3474
+ html: HTMLAttributes<HTMLHtmlElement> & Properties<HTMLHtmlElement>;
3475
+ /**
3476
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/i
3477
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3478
+ */
3479
+ i: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3480
+ /**
3481
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe
3482
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement
3483
+ */
3484
+ iframe: IframeHTMLAttributes<HTMLIFrameElement> & Properties<HTMLIFrameElement>;
3485
+ /**
3486
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img
3487
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement
3488
+ */
3489
+ img: ImgHTMLAttributes<HTMLImageElement> & Properties<HTMLImageElement>;
3490
+ /**
3491
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input
3492
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement
3493
+ */
3494
+ input: InputHTMLAttributes<HTMLInputElement> & Properties<HTMLInputElement>;
3495
+ /**
3496
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ins
3497
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLModElement
3498
+ */
3499
+ ins: ModHTMLAttributes<HTMLModElement> & Properties<HTMLModElement>;
3500
+ /**
3501
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/kbd
3502
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3503
+ */
3504
+ kbd: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3505
+ /**
3506
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/label
3507
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLLabelElement
3508
+ */
3509
+ label: LabelHTMLAttributes<HTMLLabelElement> & Properties<HTMLLabelElement>;
3510
+ /**
3511
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/legend
3512
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLLegendElement
3513
+ */
3514
+ legend: HTMLAttributes<HTMLLegendElement> & Properties<HTMLLegendElement>;
3515
+ /**
3516
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/li
3517
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLLIElement
3518
+ */
3519
+ li: LiHTMLAttributes<HTMLLIElement> & Properties<HTMLLIElement>;
3520
+ /**
3521
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link
3522
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLLinkElement
3523
+ */
3524
+ link: LinkHTMLAttributes<HTMLLinkElement> & Properties<HTMLLinkElement>;
3525
+ /**
3526
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/main
3527
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3528
+ */
3529
+ main: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3530
+ /**
3531
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/map
3532
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLMapElement
3533
+ */
3534
+ map: MapHTMLAttributes<HTMLMapElement> & Properties<HTMLMapElement>;
3535
+ /**
3536
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/mark
3537
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3538
+ */
3539
+ mark: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3540
+ /**
3541
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menu
3542
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLMenuElement
3543
+ */
3544
+ menu: MenuHTMLAttributes<HTMLMenuElement> & Properties<HTMLMenuElement>;
3545
+ /**
3546
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta
3547
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLMetaElement
3548
+ */
3549
+ meta: MetaHTMLAttributes<HTMLMetaElement> & Properties<HTMLMetaElement>;
3550
+ /**
3551
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meter
3552
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLMeterElement
3553
+ */
3554
+ meter: MeterHTMLAttributes<HTMLMeterElement> & Properties<HTMLMeterElement>;
3555
+ /**
3556
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/nav
3557
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3558
+ */
3559
+ nav: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3560
+ /**
3561
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/noscript
3562
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3563
+ */
3564
+ noscript: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3565
+ /**
3566
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/object
3567
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLObjectElement
3568
+ */
3569
+ object: ObjectHTMLAttributes<HTMLObjectElement> & Properties<HTMLObjectElement>;
3570
+ /**
3571
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol
3572
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLOListElement
3573
+ */
3574
+ ol: OlHTMLAttributes<HTMLOListElement> & Properties<HTMLOListElement>;
3575
+ /**
3576
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/optgroup
3577
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptGroupElement
3578
+ */
3579
+ optgroup: OptgroupHTMLAttributes<HTMLOptGroupElement> & Properties<HTMLOptGroupElement>;
3580
+ /**
3581
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option
3582
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLOptionElement
3583
+ */
3584
+ option: OptionHTMLAttributes<HTMLOptionElement> & Properties<HTMLOptionElement>;
3585
+ /**
3586
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/output
3587
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLOutputElement
3588
+ */
3589
+ output: OutputHTMLAttributes<HTMLOutputElement> & Properties<HTMLOutputElement>;
3590
+ /**
3591
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/p
3592
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLParagraphElement
3593
+ */
3594
+ p: HTMLAttributes<HTMLParagraphElement> & Properties<HTMLParagraphElement>;
3595
+ /**
3596
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture
3597
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLPictureElement
3598
+ */
3599
+ picture: HTMLAttributes<HTMLPictureElement> & Properties<HTMLPictureElement>;
3600
+ /**
3601
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/pre
3602
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLPreElement
3603
+ */
3604
+ pre: HTMLAttributes<HTMLPreElement> & Properties<HTMLPreElement>;
3605
+ /**
3606
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/progress
3607
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLProgressElement
3608
+ */
3609
+ progress: ProgressHTMLAttributes<HTMLProgressElement> & Properties<HTMLProgressElement>;
3610
+ /**
3611
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/q
3612
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLQuoteElement
3613
+ */
3614
+ q: QuoteHTMLAttributes<HTMLQuoteElement> & Properties<HTMLQuoteElement>;
3615
+ /**
3616
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rp
3617
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3618
+ */
3619
+ rp: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3620
+ /**
3621
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rt
3622
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3623
+ */
3624
+ rt: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3625
+ /**
3626
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ruby
3627
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3628
+ */
3629
+ ruby: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3630
+ /**
3631
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/s
3632
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3633
+ */
3634
+ s: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3635
+ /**
3636
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/samp
3637
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3638
+ */
3639
+ samp: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3640
+ /**
3641
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script
3642
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement
3643
+ */
3644
+ script: ScriptHTMLAttributes<HTMLScriptElement> & Properties<HTMLScriptElement>;
3645
+ /**
3646
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/search
3647
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3648
+ */
3649
+ search: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3650
+ /**
3651
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/section
3652
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3653
+ */
3654
+ section: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3655
+ /**
3656
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select
3657
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLSelectElement
3658
+ */
3659
+ select: SelectHTMLAttributes<HTMLSelectElement> & Properties<HTMLSelectElement>;
3660
+ /**
3661
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/slot
3662
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLSlotElement
3663
+ */
3664
+ slot: HTMLSlotElementAttributes<HTMLSlotElement> & Properties<HTMLSlotElement>;
3665
+ /**
3666
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/small
3667
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3668
+ */
3669
+ small: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3670
+ /**
3671
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/source
3672
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLSourceElement
3673
+ */
3674
+ source: SourceHTMLAttributes<HTMLSourceElement> & Properties<HTMLSourceElement>;
3675
+ /**
3676
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/span
3677
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLSpanElement
3678
+ */
3679
+ span: HTMLAttributes<HTMLSpanElement> & Properties<HTMLSpanElement>;
3680
+ /**
3681
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/strong
3682
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3683
+ */
3684
+ strong: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3685
+ /**
3686
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/style
3687
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLStyleElement
3688
+ */
3689
+ style: StyleHTMLAttributes<HTMLStyleElement> & Properties<HTMLStyleElement>;
3690
+ /**
3691
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sub
3692
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3693
+ */
3694
+ sub: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3695
+ /**
3696
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/summary
3697
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3698
+ */
3699
+ summary: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3700
+ /**
3701
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sup
3702
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3703
+ */
3704
+ sup: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3705
+ /**
3706
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/table
3707
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableElement
3708
+ */
3709
+ table: HTMLAttributes<HTMLTableElement> & Properties<HTMLTableElement>;
3710
+ /**
3711
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tbody
3712
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement
3713
+ */
3714
+ tbody: HTMLAttributes<HTMLTableSectionElement> & Properties<HTMLTableSectionElement>;
3715
+ /**
3716
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td
3717
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement
3718
+ */
3719
+ td: TdHTMLAttributes<HTMLTableCellElement> & Properties<HTMLTableCellElement>;
3720
+ /**
3721
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/template
3722
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTemplateElement
3723
+ */
3724
+ template: TemplateHTMLAttributes<HTMLTemplateElement> & Properties<HTMLTemplateElement>;
3725
+ /**
3726
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea
3727
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTextAreaElement
3728
+ */
3729
+ textarea: TextareaHTMLAttributes<HTMLTextAreaElement> & Properties<HTMLTextAreaElement>;
3730
+ /**
3731
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tfoot
3732
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement
3733
+ */
3734
+ tfoot: HTMLAttributes<HTMLTableSectionElement> & Properties<HTMLTableSectionElement>;
3735
+ /**
3736
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th
3737
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCellElement
3738
+ */
3739
+ th: ThHTMLAttributes<HTMLTableCellElement> & Properties<HTMLTableCellElement>;
3740
+ /**
3741
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/thead
3742
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableSectionElement
3743
+ */
3744
+ thead: HTMLAttributes<HTMLTableSectionElement> & Properties<HTMLTableSectionElement>;
3745
+ /**
3746
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/time
3747
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTimeElement
3748
+ */
3749
+ time: TimeHTMLAttributes<HTMLTimeElement> & Properties<HTMLTimeElement>;
3750
+ /**
3751
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/title
3752
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTitleElement
3753
+ */
3754
+ title: HTMLAttributes<HTMLTitleElement> & Properties<HTMLTitleElement>;
3755
+ /**
3756
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/tr
3757
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableRowElement
3758
+ */
3759
+ tr: HTMLAttributes<HTMLTableRowElement> & Properties<HTMLTableRowElement>;
3760
+ /**
3761
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/track
3762
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLTrackElement
3763
+ */
3764
+ track: TrackHTMLAttributes<HTMLTrackElement> & Properties<HTMLTrackElement>;
3765
+ /**
3766
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/u
3767
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3768
+ */
3769
+ u: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3770
+ /**
3771
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ul
3772
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLUListElement
3773
+ */
3774
+ ul: HTMLAttributes<HTMLUListElement> & Properties<HTMLUListElement>;
3775
+ /**
3776
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/var
3777
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3778
+ */
3779
+ var: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3780
+ /**
3781
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video
3782
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement
3783
+ */
3784
+ video: VideoHTMLAttributes<HTMLVideoElement> & Properties<HTMLVideoElement>;
3785
+ /**
3786
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/wbr
3787
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3788
+ */
3789
+ wbr: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3790
+ /** @url https://www.electronjs.org/docs/latest/api/webview-tag */
3791
+ webview: WebViewHTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3792
+ }
3793
+ /** @type {HTMLElementDeprecatedTagNameMap} */
3794
+ interface HTMLElementDeprecatedTags {
3795
+ /**
3796
+ * @deprecated
3797
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/big
3798
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement
3799
+ */
3800
+ big: HTMLAttributes<HTMLElement> & Properties<HTMLElement>;
3801
+ /**
3802
+ * @deprecated
3803
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/keygen
3804
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLUnknownElement
3805
+ */
3806
+ keygen: KeygenHTMLAttributes<HTMLUnknownElement> & Properties<HTMLUnknownElement>;
3807
+ /**
3808
+ * @deprecated
3809
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/menuitem
3810
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLUnknownElement
3811
+ */
3812
+ menuitem: HTMLAttributes<HTMLUnknownElement> & Properties<HTMLUnknownElement>;
3813
+ /**
3814
+ * @deprecated
3815
+ * @url https://developer.mozilla.org/en-US/docs/Web/HTML/Element/param
3816
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/HTMLParamElement
3817
+ */
3818
+ param: ParamHTMLAttributes<HTMLParamElement> & Properties<HTMLParamElement>;
3819
+ }
3820
+ /** @type {SVGElementTagNameMap} */
3821
+ interface SVGElementTags {
3822
+ /**
3823
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/animate
3824
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimateElement
3825
+ */
3826
+ animate: AnimateSVGAttributes<SVGAnimateElement> & Properties<SVGAnimateElement>;
3827
+ /**
3828
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/animateMotion
3829
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimateMotionElement
3830
+ */
3831
+ animateMotion: AnimateMotionSVGAttributes<SVGAnimateMotionElement> &
3832
+ Properties<SVGAnimateMotionElement>;
3833
+ /**
3834
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/animateTransform
3835
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGAnimateTransformElement
3836
+ */
3837
+ animateTransform: AnimateTransformSVGAttributes<SVGAnimateTransformElement> &
3838
+ Properties<SVGAnimateTransformElement>;
3839
+ /**
3840
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/circle
3841
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGCircleElement
3842
+ */
3843
+ circle: CircleSVGAttributes<SVGCircleElement> & Properties<SVGCircleElement>;
3844
+ /**
3845
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/clipPath
3846
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGClipPathElement
3847
+ */
3848
+ clipPath: ClipPathSVGAttributes<SVGClipPathElement> & Properties<SVGClipPathElement>;
3849
+ /**
3850
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/defs
3851
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGDefsElement
3852
+ */
3853
+ defs: DefsSVGAttributes<SVGDefsElement> & Properties<SVGDefsElement>;
3854
+ /**
3855
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/desc
3856
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGDescElement
3857
+ */
3858
+ desc: DescSVGAttributes<SVGDescElement> & Properties<SVGDescElement>;
3859
+ /**
3860
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/ellipse
3861
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGEllipseElement
3862
+ */
3863
+ ellipse: EllipseSVGAttributes<SVGEllipseElement> & Properties<SVGEllipseElement>;
3864
+ /**
3865
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feBlend
3866
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEBlendElement
3867
+ */
3868
+ feBlend: FeBlendSVGAttributes<SVGFEBlendElement> & Properties<SVGFEBlendElement>;
3869
+ /**
3870
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feColorMatrix
3871
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEColorMatrixElement
3872
+ */
3873
+ feColorMatrix: FeColorMatrixSVGAttributes<SVGFEColorMatrixElement> &
3874
+ Properties<SVGFEColorMatrixElement>;
3875
+ /**
3876
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feComponentTransfer
3877
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEComponentTransferElemen
3878
+ */
3879
+ feComponentTransfer: FeComponentTransferSVGAttributes<SVGFEComponentTransferElement> &
3880
+ Properties<SVGFEComponentTransferElement>;
3881
+ /**
3882
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feComposite
3883
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFECompositeElement
3884
+ */
3885
+ feComposite: FeCompositeSVGAttributes<SVGFECompositeElement> &
3886
+ Properties<SVGFECompositeElement>;
3887
+ /**
3888
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feConvolveMatrix
3889
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement
3890
+ */
3891
+ feConvolveMatrix: FeConvolveMatrixSVGAttributes<SVGFEConvolveMatrixElement> &
3892
+ Properties<SVGFEConvolveMatrixElement>;
3893
+ /**
3894
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feDiffuseLighting
3895
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDiffuseLightingElement
3896
+ */
3897
+ feDiffuseLighting: FeDiffuseLightingSVGAttributes<SVGFEDiffuseLightingElement> &
3898
+ Properties<SVGFEDiffuseLightingElement>;
3899
+ /**
3900
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feDisplacementMap
3901
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDisplacementMapElement
3902
+ */
3903
+ feDisplacementMap: FeDisplacementMapSVGAttributes<SVGFEDisplacementMapElement> &
3904
+ Properties<SVGFEDisplacementMapElement>;
3905
+ /**
3906
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feDistantLight
3907
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDistantLightElement
3908
+ */
3909
+ feDistantLight: FeDistantLightSVGAttributes<SVGFEDistantLightElement> &
3910
+ Properties<SVGFEDistantLightElement>;
3911
+ /**
3912
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feDropShadow
3913
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDropShadowElement
3914
+ */
3915
+ feDropShadow: FeDropShadowSVGAttributes<SVGFEDropShadowElement> &
3916
+ Properties<SVGFEDropShadowElement>;
3917
+ /**
3918
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feFlood
3919
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFloodElement
3920
+ */
3921
+ feFlood: FeFloodSVGAttributes<SVGFEFloodElement> & Properties<SVGFEFloodElement>;
3922
+ /**
3923
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feFuncA
3924
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFuncAElement
3925
+ */
3926
+ feFuncA: FeFuncSVGAttributes<SVGFEFuncAElement> & Properties<SVGFEFuncAElement>;
3927
+ /**
3928
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feFuncB
3929
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFuncBElement
3930
+ */
3931
+ feFuncB: FeFuncSVGAttributes<SVGFEFuncBElement> & Properties<SVGFEFuncBElement>;
3932
+ /**
3933
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feFuncG
3934
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFuncGElement
3935
+ */
3936
+ feFuncG: FeFuncSVGAttributes<SVGFEFuncGElement> & Properties<SVGFEFuncGElement>;
3937
+ /**
3938
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feFuncR
3939
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEFuncRElement
3940
+ */
3941
+ feFuncR: FeFuncSVGAttributes<SVGFEFuncRElement> & Properties<SVGFEFuncRElement>;
3942
+ /**
3943
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feGaussianBlur
3944
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEGaussianBlurElement
3945
+ */
3946
+ feGaussianBlur: FeGaussianBlurSVGAttributes<SVGFEGaussianBlurElement> &
3947
+ Properties<SVGFEGaussianBlurElement>;
3948
+ /**
3949
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feImage
3950
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEImageElement
3951
+ */
3952
+ feImage: FeImageSVGAttributes<SVGFEImageElement> & Properties<SVGFEImageElement>;
3953
+ /**
3954
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feMerge
3955
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMergeElement
3956
+ */
3957
+ feMerge: FeMergeSVGAttributes<SVGFEMergeElement> & Properties<SVGFEMergeElement>;
3958
+ /**
3959
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feMergeNode
3960
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMergeNodeElement
3961
+ */
3962
+ feMergeNode: FeMergeNodeSVGAttributes<SVGFEMergeNodeElement> &
3963
+ Properties<SVGFEMergeNodeElement>;
3964
+ /**
3965
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feMorphology
3966
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEMorphologyElement
3967
+ */
3968
+ feMorphology: FeMorphologySVGAttributes<SVGFEMorphologyElement> &
3969
+ Properties<SVGFEMorphologyElement>;
3970
+ /**
3971
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feOffset
3972
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEOffsetElement
3973
+ */
3974
+ feOffset: FeOffsetSVGAttributes<SVGFEOffsetElement> & Properties<SVGFEOffsetElement>;
3975
+ /**
3976
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/fePointLight
3977
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFEPointLightElement
3978
+ */
3979
+ fePointLight: FePointLightSVGAttributes<SVGFEPointLightElement> &
3980
+ Properties<SVGFEPointLightElement>;
3981
+ /**
3982
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feSpecularLighting
3983
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpecularLightingElement
3984
+ */
3985
+ feSpecularLighting: FeSpecularLightingSVGAttributes<SVGFESpecularLightingElement> &
3986
+ Properties<SVGFESpecularLightingElement>;
3987
+ /**
3988
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feSpotLight
3989
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFESpotLightElement
3990
+ */
3991
+ feSpotLight: FeSpotLightSVGAttributes<SVGFESpotLightElement> &
3992
+ Properties<SVGFESpotLightElement>;
3993
+ /**
3994
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feTile
3995
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFETileElement
3996
+ */
3997
+ feTile: FeTileSVGAttributes<SVGFETileElement> & Properties<SVGFETileElement>;
3998
+ /**
3999
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feTurbulence
4000
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFETurbulenceElement
4001
+ */
4002
+ feTurbulence: FeTurbulanceSVGAttributes<SVGFETurbulenceElement> &
4003
+ Properties<SVGFETurbulenceElement>;
4004
+ /**
4005
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/filter
4006
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGFilterElement
4007
+ */
4008
+ filter: FilterSVGAttributes<SVGFilterElement> & Properties<SVGFilterElement>;
4009
+ /**
4010
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/foreignObject
4011
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGForeignObjectElement
4012
+ */
4013
+ foreignObject: ForeignObjectSVGAttributes<SVGForeignObjectElement> &
4014
+ Properties<SVGForeignObjectElement>;
4015
+ /**
4016
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/g
4017
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGGElement
4018
+ */
4019
+ g: GSVGAttributes<SVGGElement> & Properties<SVGGElement>;
4020
+ /**
4021
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image
4022
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGImageElement
4023
+ */
4024
+ image: ImageSVGAttributes<SVGImageElement> & Properties<SVGImageElement>;
4025
+ /**
4026
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/line
4027
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGLineElement
4028
+ */
4029
+ line: LineSVGAttributes<SVGLineElement> & Properties<SVGLineElement>;
4030
+ /**
4031
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/linearGradient
4032
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGLinearGradientElement
4033
+ */
4034
+ linearGradient: LinearGradientSVGAttributes<SVGLinearGradientElement> &
4035
+ Properties<SVGLinearGradientElement>;
4036
+ /**
4037
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/marker
4038
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGMarkerElement
4039
+ */
4040
+ marker: MarkerSVGAttributes<SVGMarkerElement> & Properties<SVGMarkerElement>;
4041
+ /**
4042
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/mask
4043
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGMaskElement
4044
+ */
4045
+ mask: MaskSVGAttributes<SVGMaskElement> & Properties<SVGMaskElement>;
4046
+ /**
4047
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/metadata
4048
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGMetadataElement
4049
+ */
4050
+ metadata: MetadataSVGAttributes<SVGMetadataElement> & Properties<SVGMetadataElement>;
4051
+ /**
4052
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/mpath
4053
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGMPathElement
4054
+ */
4055
+ mpath: MPathSVGAttributes<SVGMPathElement> & Properties<SVGMPathElement>;
4056
+ /**
4057
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/path
4058
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGPathElement
4059
+ */
4060
+ path: PathSVGAttributes<SVGPathElement> & Properties<SVGPathElement>;
4061
+ /**
4062
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/pattern
4063
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGPatternElement
4064
+ */
4065
+ pattern: PatternSVGAttributes<SVGPatternElement> & Properties<SVGPatternElement>;
4066
+ /**
4067
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/polygon
4068
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGPolygonElement
4069
+ */
4070
+ polygon: PolygonSVGAttributes<SVGPolygonElement> & Properties<SVGPolygonElement>;
4071
+ /**
4072
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/polyline
4073
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGPolylineElement
4074
+ */
4075
+ polyline: PolylineSVGAttributes<SVGPolylineElement> & Properties<SVGPolylineElement>;
4076
+ /**
4077
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/radialGradient
4078
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGRadialGradientElement
4079
+ */
4080
+ radialGradient: RadialGradientSVGAttributes<SVGRadialGradientElement> &
4081
+ Properties<SVGRadialGradientElement>;
4082
+ /**
4083
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/rect
4084
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGRectElement
4085
+ */
4086
+ rect: RectSVGAttributes<SVGRectElement> & Properties<SVGRectElement>;
4087
+ /**
4088
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/set
4089
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGSetElement
4090
+ */
4091
+ set: SetSVGAttributes<SVGSetElement> & Properties<SVGSetElement>;
4092
+ /**
4093
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/stop
4094
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGStopElement
4095
+ */
4096
+ stop: StopSVGAttributes<SVGStopElement> & Properties<SVGStopElement>;
4097
+ /**
4098
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/svg
4099
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGSVGElement
4100
+ */
4101
+ svg: SvgSVGAttributes<SVGSVGElement> & Properties<SVGSVGElement>;
4102
+ /**
4103
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/switch
4104
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGSwitchElement
4105
+ */
4106
+ switch: SwitchSVGAttributes<SVGSwitchElement> & Properties<SVGSwitchElement>;
4107
+ /**
4108
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/symbol
4109
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGSymbolElement
4110
+ */
4111
+ symbol: SymbolSVGAttributes<SVGSymbolElement> & Properties<SVGSymbolElement>;
4112
+ /**
4113
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/text
4114
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGTextElement
4115
+ */
4116
+ text: TextSVGAttributes<SVGTextElement> & Properties<SVGTextElement>;
4117
+ /**
4118
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/textPath
4119
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGTextPathElement
4120
+ */
4121
+ textPath: TextPathSVGAttributes<SVGTextPathElement> & Properties<SVGTextPathElement>;
4122
+ /**
4123
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/tspan
4124
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGTSpanElement
4125
+ */
4126
+ tspan: TSpanSVGAttributes<SVGTSpanElement> & Properties<SVGTSpanElement>;
4127
+ /**
4128
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/use
4129
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGUseElement
4130
+ */
4131
+ use: UseSVGAttributes<SVGUseElement> & Properties<SVGUseElement>;
4132
+ /**
4133
+ * @url https://developer.mozilla.org/en-US/docs/Web/SVG/Element/view
4134
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/SVGViewElement
4135
+ */
4136
+ view: ViewSVGAttributes<SVGViewElement> & Properties<SVGViewElement>;
4137
+ }
4138
+
4139
+ interface MathMLElementTags {
4140
+ /**
4141
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/annotation
4142
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4143
+ */
4144
+ annotation: MathMLAnnotationElementAttributes<MathMLElement> & Properties<MathMLElement>;
4145
+ /**
4146
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/annotation-xml
4147
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4148
+ */
4149
+ "annotation-xml": MathMLAnnotationXmlElementAttributes<MathMLElement>;
4150
+ /**
4151
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/math
4152
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4153
+ */
4154
+ math: MathMLMathElementAttributes<MathMLElement> & Properties<MathMLElement>;
4155
+ /**
4156
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/merror
4157
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4158
+ */
4159
+ merror: MathMLMerrorElementAttributes<MathMLElement> & Properties<MathMLElement>;
4160
+ /**
4161
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mfrac
4162
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4163
+ */
4164
+ mfrac: MathMLMfracElementAttributes<MathMLElement> & Properties<MathMLElement>;
4165
+ /**
4166
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mi
4167
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4168
+ */
4169
+ mi: MathMLMiElementAttributes<MathMLElement> & Properties<MathMLElement>;
4170
+ /**
4171
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mmultiscripts
4172
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4173
+ */
4174
+ mmultiscripts: MathMLMmultiscriptsElementAttributes<MathMLElement> & Properties<MathMLElement>;
4175
+ /**
4176
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mn
4177
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4178
+ */
4179
+ mn: MathMLMnElementAttributes<MathMLElement> & Properties<MathMLElement>;
4180
+ /**
4181
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mo
4182
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4183
+ */
4184
+ mo: MathMLMoElementAttributes<MathMLElement> & Properties<MathMLElement>;
4185
+ /**
4186
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mover
4187
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4188
+ */
4189
+ mover: MathMLMoverElementAttributes<MathMLElement> & Properties<MathMLElement>;
4190
+ /**
4191
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mpadded
4192
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4193
+ */
4194
+ mpadded: MathMLMpaddedElementAttributes<MathMLElement> & Properties<MathMLElement>;
4195
+ /**
4196
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mphantom
4197
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4198
+ */
4199
+ mphantom: MathMLMphantomElementAttributes<MathMLElement> & Properties<MathMLElement>;
4200
+ /**
4201
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mprescripts
4202
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4203
+ */
4204
+ mprescripts: MathMLMprescriptsElementAttributes<MathMLElement> & Properties<MathMLElement>;
4205
+ /**
4206
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mroot
4207
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4208
+ */
4209
+ mroot: MathMLMrootElementAttributes<MathMLElement> & Properties<MathMLElement>;
4210
+ /**
4211
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mrow
4212
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4213
+ */
4214
+ mrow: MathMLMrowElementAttributes<MathMLElement> & Properties<MathMLElement>;
4215
+ /**
4216
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/ms
4217
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4218
+ */
4219
+ ms: MathMLMsElementAttributes<MathMLElement> & Properties<MathMLElement>;
4220
+ /**
4221
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mspace
4222
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4223
+ */
4224
+ mspace: MathMLMspaceElementAttributes<MathMLElement> & Properties<MathMLElement>;
4225
+ /**
4226
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/msqrt
4227
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4228
+ */
4229
+ msqrt: MathMLMsqrtElementAttributes<MathMLElement> & Properties<MathMLElement>;
4230
+ /**
4231
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mstyle
4232
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4233
+ */
4234
+ mstyle: MathMLMstyleElementAttributes<MathMLElement> & Properties<MathMLElement>;
4235
+ /**
4236
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/msub
4237
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4238
+ */
4239
+ msub: MathMLMsubElementAttributes<MathMLElement> & Properties<MathMLElement>;
4240
+ /**
4241
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/msubsup
4242
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4243
+ */
4244
+ msubsup: MathMLMsubsupElementAttributes<MathMLElement> & Properties<MathMLElement>;
4245
+ /**
4246
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/msup
4247
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4248
+ */
4249
+ msup: MathMLMsupElementAttributes<MathMLElement> & Properties<MathMLElement>;
4250
+ /**
4251
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtable
4252
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4253
+ */
4254
+ mtable: MathMLMtableElementAttributes<MathMLElement> & Properties<MathMLElement>;
4255
+ /**
4256
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtd
4257
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4258
+ */
4259
+ mtd: MathMLMtdElementAttributes<MathMLElement> & Properties<MathMLElement>;
4260
+ /**
4261
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtext
4262
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4263
+ */
4264
+ mtext: MathMLMtextElementAttributes<MathMLElement> & Properties<MathMLElement>;
4265
+ /**
4266
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mtr
4267
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4268
+ */
4269
+ mtr: MathMLMtrElementAttributes<MathMLElement> & Properties<MathMLElement>;
4270
+ /**
4271
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/munder
4272
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4273
+ */
4274
+ munder: MathMLMunderElementAttributes<MathMLElement> & Properties<MathMLElement>;
4275
+ /**
4276
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/munderover
4277
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4278
+ */
4279
+ munderover: MathMLMunderoverElementAttributes<MathMLElement> & Properties<MathMLElement>;
4280
+ /**
4281
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/semantics
4282
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4283
+ */
4284
+ semantics: MathMLSemanticsElementAttributes<MathMLElement> & Properties<MathMLElement>;
4285
+ /**
4286
+ * @non-standard
4287
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/menclose
4288
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4289
+ */
4290
+ menclose: MathMLMencloseElementAttributes<MathMLElement> & Properties<MathMLElement>;
4291
+ /**
4292
+ * @deprecated
4293
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/maction
4294
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4295
+ */
4296
+ maction: MathMLMactionElementAttributes<MathMLElement> & Properties<MathMLElement>;
4297
+ /**
4298
+ * @deprecated
4299
+ * @non-standard
4300
+ * @url https://developer.mozilla.org/en-US/docs/Web/MathML/Element/mfenced
4301
+ * @url https://developer.mozilla.org/en-US/docs/Web/API/MathMLElement
4302
+ */
4303
+ mfenced: MathMLMfencedElementAttributes<MathMLElement> & Properties<MathMLElement>;
4304
+ }
4305
+
4306
+ interface IntrinsicElements
4307
+ extends HTMLElementTags, HTMLElementDeprecatedTags, SVGElementTags, MathMLElementTags {}
4308
+ }