-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathindex.d.ts
586 lines (544 loc) · 23 KB
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
import * as router from "./router"
// tslint:disable-next-line
declare namespace hyperdom {
export interface VdomFragment {
children: any[]
}
abstract class HyperdomComponent {
public refreshImmediately (): void
public refreshComponent (): void
public refresh (): void
}
export abstract class RenderComponent extends HyperdomComponent {
public abstract render (): VdomFragment | Component
}
export abstract class RoutesComponent extends HyperdomComponent {
public abstract routes (): router.Route[]
protected renderLayout (content: any): VdomFragment | Component
}
export type Component = RoutesComponent | RenderComponent
interface DomAttachement {
remove (): void
detach (): void
}
export interface MountOpts {
requestRender?: (render: () => void) => void
window?: Window
document?: Document
router?: typeof router
}
export interface ObjectBinding {
get (): string
set (value: string): void
}
export type SimpleBinding = [object, string] | [object, string, (param: string) => any]
export type Binding = ObjectBinding | SimpleBinding
export type FnComponent = (model?: any) => VdomFragment
export function append (root: HTMLElement, component: Component | FnComponent, opts?: MountOpts): DomAttachement
export function replace (root: HTMLElement, component: Component | FnComponent, opts?: MountOpts): DomAttachement
interface ModelMeta {
error: {
message: string,
}
}
export interface HtmlNodeProps {
[key: string]: string | number | object | boolean | undefined | null
}
export interface HyperdomNodeProps {
binding?: Binding
key?: string | number
class?: string | string[] | object
tabindex?: number
onclick? (e?: Event): void
}
export type NodeProps = HtmlNodeProps & HyperdomNodeProps
export interface HTMLLabelProps {
for?: string
}
// TODO Date?
export type Renderable = string | number | boolean | undefined | null | VdomFragment | Component
const html: {
(tag: string, nodeProps: NodeProps, ...children: Renderable[]): VdomFragment,
(tag: string, ...children: Renderable[]): VdomFragment,
rawHtml (tag: string, ...children: Renderable[]): VdomFragment,
refresh (component?: object): void
refreshAfter (promise?: Promise<any>): void
meta (model: object, property: string): ModelMeta,
}
export {html}
export function rawHtml (tag: string, ...children: Renderable[]): VdomFragment
export function rawHtml (tag: string, nodeProps: NodeProps, ...children: Renderable[]): VdomFragment
export function viewComponent (component: Component): VdomFragment
export function appendVDom (root: VdomFragment, component: Component | FnComponent): DomAttachement
const jsx: (
tag: string | { new<T extends object>(props: T, children: Renderable[]): Component },
nodeProps: NodeProps | undefined,
children?: Renderable | Renderable[],
) => VdomFragment
export {jsx}
export function norefresh (): void
export function refreshify (fn: () => void, opts?: object): () => void
export function binding (opts: object): void
}
export = hyperdom
declare global {
namespace JSX {
interface WebViewHTMLAttributes extends HTMLElement {
allowFullScreen?: boolean
allowpopups?: boolean
autoFocus?: boolean
autosize?: boolean
blinkfeatures?: string
disableblinkfeatures?: string
disableguestresize?: boolean
disablewebsecurity?: boolean
guestinstance?: string
httpreferrer?: string
nodeintegration?: boolean
partition?: string
plugins?: boolean
preload?: string
src?: string
useragent?: string
webpreferences?: string
}
interface SVGAttributes {
// Attributes which also defined in HTMLAttributes
// See comment in SVGDOMPropertyConfig.js
className?: string
color?: string
height?: number | string
id?: string
lang?: string
max?: number | string
media?: string
method?: string
min?: number | string
name?: string
target?: string
type?: string
width?: number | string
// Other HTML properties supported by SVG elements in browsers
role?: string
tabIndex?: number
// SVG Specific attributes
accentHeight?: number | string
accumulate?: "none" | "sum"
additive?: "replace" | "sum"
alignmentBaseline?: "auto" | "baseline" | "before-edge" | "text-before-edge" |
"middle" | "central" | "after-edge" |
"text-after-edge" | "ideographic" | "alphabetic" | "hanging" | "mathematical" | "inherit"
allowReorder?: "no" | "yes"
alphabetic?: number | string
amplitude?: number | string
arabicForm?: "initial" | "medial" | "terminal" | "isolated"
ascent?: number | string
attributeName?: string
attributeType?: string
autoReverse?: number | string
azimuth?: number | string
baseFrequency?: number | string
baselineShift?: number | string
baseProfile?: number | string
bbox?: number | string
begin?: number | string
bias?: number | string
by?: number | string
calcMode?: number | string
capHeight?: number | string
clip?: number | string
clipPath?: string
clipPathUnits?: number | string
clipRule?: number | string
colorInterpolation?: number | string
colorInterpolationFilters?: "auto" | "sRGB" | "linearRGB" | "inherit"
colorProfile?: number | string
colorRendering?: number | string
contentScriptType?: number | string
contentStyleType?: number | string
cursor?: number | string
cx?: number | string
cy?: number | string
d?: string
decelerate?: number | string
descent?: number | string
diffuseConstant?: number | string
direction?: number | string
display?: number | string
divisor?: number | string
dominantBaseline?: number | string
dur?: number | string
dx?: number | string
dy?: number | string
edgeMode?: number | string
elevation?: number | string
enableBackground?: number | string
end?: number | string
exponent?: number | string
externalResourcesRequired?: number | string
fill?: string
fillOpacity?: number | string
fillRule?: "nonzero" | "evenodd" | "inherit"
filter?: string
filterRes?: number | string
filterUnits?: number | string
floodColor?: number | string
floodOpacity?: number | string
focusable?: number | string
fontFamily?: string
fontSize?: number | string
fontSizeAdjust?: number | string
fontStretch?: number | string
fontStyle?: number | string
fontVariant?: number | string
fontWeight?: number | string
format?: number | string
from?: number | string
fx?: number | string
fy?: number | string
g1?: number | string
g2?: number | string
glyphName?: number | string
glyphOrientationHorizontal?: number | string
glyphOrientationVertical?: number | string
glyphRef?: number | string
gradientTransform?: string
gradientUnits?: string
hanging?: number | string
horizAdvX?: number | string
horizOriginX?: number | string
href?: string
ideographic?: number | string
imageRendering?: number | string
in2?: number | string
in?: string
intercept?: number | string
k1?: number | string
k2?: number | string
k3?: number | string
k4?: number | string
k?: number | string
kernelMatrix?: number | string
kernelUnitLength?: number | string
kerning?: number | string
keyPoints?: number | string
keySplines?: number | string
keyTimes?: number | string
lengthAdjust?: number | string
letterSpacing?: number | string
lightingColor?: number | string
limitingConeAngle?: number | string
local?: number | string
markerEnd?: string
markerHeight?: number | string
markerMid?: string
markerStart?: string
markerUnits?: number | string
markerWidth?: number | string
mask?: string
maskContentUnits?: number | string
maskUnits?: number | string
mathematical?: number | string
mode?: number | string
numOctaves?: number | string
offset?: number | string
opacity?: number | string
operator?: number | string
order?: number | string
orient?: number | string
orientation?: number | string
origin?: number | string
overflow?: number | string
overlinePosition?: number | string
overlineThickness?: number | string
paintOrder?: number | string
panose1?: number | string
pathLength?: number | string
patternContentUnits?: string
patternTransform?: number | string
patternUnits?: string
pointerEvents?: number | string
points?: string
pointsAtX?: number | string
pointsAtY?: number | string
pointsAtZ?: number | string
preserveAlpha?: number | string
preserveAspectRatio?: string
primitiveUnits?: number | string
r?: number | string
radius?: number | string
refX?: number | string
refY?: number | string
renderingIntent?: number | string
repeatCount?: number | string
repeatDur?: number | string
requiredExtensions?: number | string
requiredFeatures?: number | string
restart?: number | string
result?: string
rotate?: number | string
rx?: number | string
ry?: number | string
scale?: number | string
seed?: number | string
shapeRendering?: number | string
slope?: number | string
spacing?: number | string
specularConstant?: number | string
specularExponent?: number | string
speed?: number | string
spreadMethod?: string
startOffset?: number | string
stdDeviation?: number | string
stemh?: number | string
stemv?: number | string
stitchTiles?: number | string
stopColor?: string
stopOpacity?: number | string
strikethroughPosition?: number | string
strikethroughThickness?: number | string
string?: number | string
stroke?: string
strokeDasharray?: string | number
strokeDashoffset?: string | number
strokeLinecap?: "butt" | "round" | "square" | "inherit"
strokeLinejoin?: "miter" | "round" | "bevel" | "inherit"
strokeMiterlimit?: number | string
strokeOpacity?: number | string
strokeWidth?: number | string
surfaceScale?: number | string
systemLanguage?: number | string
tableValues?: number | string
targetX?: number | string
targetY?: number | string
textAnchor?: string
textDecoration?: number | string
textLength?: number | string
textRendering?: number | string
to?: number | string
transform?: string
u1?: number | string
u2?: number | string
underlinePosition?: number | string
underlineThickness?: number | string
unicode?: number | string
unicodeBidi?: number | string
unicodeRange?: number | string
unitsPerEm?: number | string
vAlphabetic?: number | string
values?: string
vectorEffect?: number | string
version?: string
vertAdvY?: number | string
vertOriginX?: number | string
vertOriginY?: number | string
vHanging?: number | string
vIdeographic?: number | string
viewBox?: string
viewTarget?: number | string
visibility?: number | string
vMathematical?: number | string
widths?: number | string
wordSpacing?: number | string
writingMode?: number | string
x1?: number | string
x2?: number | string
x?: number | string
xChannelSelector?: string
xHeight?: number | string
xlinkActuate?: string
xlinkArcrole?: string
xlinkHref?: string
xlinkRole?: string
xlinkShow?: string
xlinkTitle?: string
xlinkType?: string
xmlBase?: string
xmlLang?: string
xmlns?: string
xmlnsXlink?: string
xmlSpace?: string
y1?: number | string
y2?: number | string
y?: number | string
yChannelSelector?: string
z?: number | string
zoomAndPan?: string
}
type HyperdomSVGAttributes<T> = SVGAttributes & Exclude<SVGAttributes, T> & hyperdom.HyperdomNodeProps
interface IntrinsicElements {
// HTML & hyperdom.HyperdomNodeProps
a: Partial<HTMLAnchorElement> & hyperdom.HyperdomNodeProps
abbr: Partial<HTMLElement> & hyperdom.HyperdomNodeProps
address: Partial<HTMLElement> & hyperdom.HyperdomNodeProps
area: Partial<HTMLAreaElement> & hyperdom.HyperdomNodeProps
article: Partial<HTMLElement> & hyperdom.HyperdomNodeProps
aside: Partial<HTMLElement> & hyperdom.HyperdomNodeProps
audio: Partial<HTMLAudioElement> & hyperdom.HyperdomNodeProps
b: Partial<HTMLElement> & hyperdom.HyperdomNodeProps
base: Partial<HTMLBaseElement> & hyperdom.HyperdomNodeProps
bdi: Partial<HTMLElement> & hyperdom.HyperdomNodeProps
bdo: Partial<HTMLElement> & hyperdom.HyperdomNodeProps
big: Partial<HTMLElement> & hyperdom.HyperdomNodeProps
blockquote: Partial<HTMLElement> & hyperdom.HyperdomNodeProps
body: Partial<HTMLBodyElement> & hyperdom.HyperdomNodeProps
br: Partial<HTMLBRElement> & hyperdom.HyperdomNodeProps
button: Partial<HTMLButtonElement> & hyperdom.HyperdomNodeProps
canvas: Partial<HTMLCanvasElement> & hyperdom.HyperdomNodeProps
caption: Partial<HTMLElement> & hyperdom.HyperdomNodeProps
cite: Partial<HTMLElement> & hyperdom.HyperdomNodeProps
code: Partial<HTMLElement> & hyperdom.HyperdomNodeProps
col: Partial<HTMLTableColElement> & hyperdom.HyperdomNodeProps
colgroup: Partial<HTMLTableColElement> & hyperdom.HyperdomNodeProps
data: Partial<HTMLElement> & hyperdom.HyperdomNodeProps
datalist: Partial<HTMLDataListElement> & hyperdom.HyperdomNodeProps
dd: Partial<HTMLElement> & hyperdom.HyperdomNodeProps
del: Partial<HTMLElement> & hyperdom.HyperdomNodeProps
details: Partial<HTMLElement> & hyperdom.HyperdomNodeProps
dfn: Partial<HTMLElement> & hyperdom.HyperdomNodeProps
dialog: Partial<HTMLDialogElement> & hyperdom.HyperdomNodeProps
div: Partial<HTMLDivElement> & hyperdom.HyperdomNodeProps
dl: Partial<HTMLDListElement> & hyperdom.HyperdomNodeProps
dt: Partial<HTMLElement> & hyperdom.HyperdomNodeProps
em: Partial<HTMLElement> & hyperdom.HyperdomNodeProps
embed: Partial<HTMLEmbedElement> & hyperdom.HyperdomNodeProps
fieldset: Partial<HTMLFieldSetElement> & hyperdom.HyperdomNodeProps
figcaption: Partial<HTMLElement> & hyperdom.HyperdomNodeProps
figure: Partial<HTMLElement> & hyperdom.HyperdomNodeProps
footer: Partial<HTMLElement> & hyperdom.HyperdomNodeProps
form: Partial<HTMLFormElement> & hyperdom.HyperdomNodeProps
h1: Partial<HTMLHeadingElement> & hyperdom.HyperdomNodeProps
h2: Partial<HTMLHeadingElement> & hyperdom.HyperdomNodeProps
h3: Partial<HTMLHeadingElement> & hyperdom.HyperdomNodeProps
h4: Partial<HTMLHeadingElement> & hyperdom.HyperdomNodeProps
h5: Partial<HTMLHeadingElement> & hyperdom.HyperdomNodeProps
h6: Partial<HTMLHeadingElement> & hyperdom.HyperdomNodeProps
head: Partial<HTMLHeadElement> & hyperdom.HyperdomNodeProps
header: Partial<HTMLElement> & hyperdom.HyperdomNodeProps
hgroup: Partial<HTMLElement> & hyperdom.HyperdomNodeProps
hr: Partial<HTMLHRElement> & hyperdom.HyperdomNodeProps
html: Partial<HTMLHtmlElement> & hyperdom.HyperdomNodeProps
i: Partial<HTMLElement> & hyperdom.HyperdomNodeProps
iframe: Partial<HTMLIFrameElement> & hyperdom.HyperdomNodeProps
img: Partial<HTMLImageElement> & hyperdom.HyperdomNodeProps
input: Partial<HTMLInputElement> & hyperdom.HyperdomNodeProps
ins: Partial<HTMLModElement> & hyperdom.HyperdomNodeProps
kbd: Partial<HTMLElement> & hyperdom.HyperdomNodeProps
keygen: Partial<HTMLElement> & hyperdom.HyperdomNodeProps
label: Partial<HTMLLabelElement> & hyperdom.HyperdomNodeProps & hyperdom.HTMLLabelProps
legend: Partial<HTMLLegendElement> & hyperdom.HyperdomNodeProps
li: Partial<HTMLLIElement> & hyperdom.HyperdomNodeProps
link: Partial<HTMLLinkElement> & hyperdom.HyperdomNodeProps
main: Partial<HTMLElement> & hyperdom.HyperdomNodeProps
map: Partial<HTMLMapElement> & hyperdom.HyperdomNodeProps
mark: Partial<HTMLElement> & hyperdom.HyperdomNodeProps
menu: Partial<HTMLElement> & hyperdom.HyperdomNodeProps
menuitem: Partial<HTMLElement> & hyperdom.HyperdomNodeProps
meta: Partial<HTMLMetaElement> & hyperdom.HyperdomNodeProps
meter: Partial<HTMLElement> & hyperdom.HyperdomNodeProps
nav: Partial<HTMLElement> & hyperdom.HyperdomNodeProps
noindex: Partial<HTMLElement> & hyperdom.HyperdomNodeProps
noscript: Partial<HTMLElement> & hyperdom.HyperdomNodeProps
object: Partial<HTMLObjectElement> & hyperdom.HyperdomNodeProps
ol: Partial<HTMLOListElement> & hyperdom.HyperdomNodeProps
optgroup: Partial<HTMLOptGroupElement> & hyperdom.HyperdomNodeProps
option: Partial<HTMLOptionElement> & hyperdom.HyperdomNodeProps
output: Partial<HTMLElement> & hyperdom.HyperdomNodeProps
p: Partial<HTMLParagraphElement> & hyperdom.HyperdomNodeProps
param: Partial<HTMLParamElement> & hyperdom.HyperdomNodeProps
picture: Partial<HTMLElement> & hyperdom.HyperdomNodeProps
pre: Partial<HTMLPreElement> & hyperdom.HyperdomNodeProps
progress: Partial<HTMLProgressElement> & hyperdom.HyperdomNodeProps
q: Partial<HTMLQuoteElement> & hyperdom.HyperdomNodeProps
rp: Partial<HTMLElement> & hyperdom.HyperdomNodeProps
rt: Partial<HTMLElement> & hyperdom.HyperdomNodeProps
ruby: Partial<HTMLElement> & hyperdom.HyperdomNodeProps
s: Partial<HTMLElement> & hyperdom.HyperdomNodeProps
samp: Partial<HTMLElement> & hyperdom.HyperdomNodeProps
script: Partial<HTMLScriptElement> & hyperdom.HyperdomNodeProps
section: Partial<HTMLElement> & hyperdom.HyperdomNodeProps
select: Partial<HTMLSelectElement> & hyperdom.HyperdomNodeProps
small: Partial<HTMLElement> & hyperdom.HyperdomNodeProps
source: Partial<HTMLSourceElement> & hyperdom.HyperdomNodeProps
span: Partial<HTMLSpanElement> & hyperdom.HyperdomNodeProps
strong: Partial<HTMLElement> & hyperdom.HyperdomNodeProps
style: Partial<HTMLStyleElement> & hyperdom.HyperdomNodeProps
sub: Partial<HTMLElement> & hyperdom.HyperdomNodeProps
summary: Partial<HTMLElement> & hyperdom.HyperdomNodeProps
sup: Partial<HTMLElement> & hyperdom.HyperdomNodeProps
table: Partial<HTMLTableElement> & hyperdom.HyperdomNodeProps
tbody: Partial<HTMLTableSectionElement> & hyperdom.HyperdomNodeProps
td: Partial<HTMLTableDataCellElement> & hyperdom.HyperdomNodeProps
textarea: Partial<HTMLTextAreaElement> & hyperdom.HyperdomNodeProps
tfoot: Partial<HTMLTableSectionElement> & hyperdom.HyperdomNodeProps
th: Partial<HTMLTableHeaderCellElement> & hyperdom.HyperdomNodeProps
thead: Partial<HTMLTableSectionElement> & hyperdom.HyperdomNodeProps
time: Partial<HTMLElement> & hyperdom.HyperdomNodeProps
title: Partial<HTMLTitleElement> & hyperdom.HyperdomNodeProps
tr: Partial<HTMLTableRowElement> & hyperdom.HyperdomNodeProps
track: Partial<HTMLTrackElement> & hyperdom.HyperdomNodeProps
u: Partial<HTMLElement> & hyperdom.HyperdomNodeProps
ul: Partial<HTMLUListElement> & hyperdom.HyperdomNodeProps
"var": Partial<HTMLElement> & hyperdom.HyperdomNodeProps
video: Partial<HTMLVideoElement> & hyperdom.HyperdomNodeProps
wbr: Partial<HTMLElement> & hyperdom.HyperdomNodeProps
webview: Partial<WebViewHTMLAttributes> & hyperdom.HyperdomNodeProps
// SVG
svg: HyperdomSVGAttributes<SVGSVGElement>
animate: HyperdomSVGAttributes<SVGElement>
animateTransform: HyperdomSVGAttributes<SVGElement>
circle: HyperdomSVGAttributes<SVGCircleElement>
clipPath: HyperdomSVGAttributes<SVGClipPathElement>
defs: HyperdomSVGAttributes<SVGDefsElement>
desc: HyperdomSVGAttributes<SVGDescElement>
ellipse: HyperdomSVGAttributes<SVGEllipseElement>
feBlend: HyperdomSVGAttributes<SVGFEBlendElement>
feColorMatrix: HyperdomSVGAttributes<SVGFEColorMatrixElement>
feComponentTransfer: HyperdomSVGAttributes<SVGFEComponentTransferElement>
feComposite: HyperdomSVGAttributes<SVGFECompositeElement>
feConvolveMatrix: HyperdomSVGAttributes<SVGFEConvolveMatrixElement>
feDiffuseLighting: HyperdomSVGAttributes<SVGFEDiffuseLightingElement>
feDisplacementMap: HyperdomSVGAttributes<SVGFEDisplacementMapElement>
feDistantLight: HyperdomSVGAttributes<SVGFEDistantLightElement>
feFlood: HyperdomSVGAttributes<SVGFEFloodElement>
feFuncA: HyperdomSVGAttributes<SVGFEFuncAElement>
feFuncB: HyperdomSVGAttributes<SVGFEFuncBElement>
feFuncG: HyperdomSVGAttributes<SVGFEFuncGElement>
feFuncR: HyperdomSVGAttributes<SVGFEFuncRElement>
feGaussianBlur: HyperdomSVGAttributes<SVGFEGaussianBlurElement>
feImage: HyperdomSVGAttributes<SVGFEImageElement>
feMerge: HyperdomSVGAttributes<SVGFEMergeElement>
feMergeNode: HyperdomSVGAttributes<SVGFEMergeNodeElement>
feMorphology: HyperdomSVGAttributes<SVGFEMorphologyElement>
feOffset: HyperdomSVGAttributes<SVGFEOffsetElement>
fePointLight: HyperdomSVGAttributes<SVGFEPointLightElement>
feSpecularLighting: HyperdomSVGAttributes<SVGFESpecularLightingElement>
feSpotLight: HyperdomSVGAttributes<SVGFESpotLightElement>
feTile: HyperdomSVGAttributes<SVGFETileElement>
feTurbulence: HyperdomSVGAttributes<SVGFETurbulenceElement>
filter: HyperdomSVGAttributes<SVGFilterElement>
foreignObject: HyperdomSVGAttributes<SVGForeignObjectElement>
g: HyperdomSVGAttributes<SVGGElement>
image: HyperdomSVGAttributes<SVGImageElement>
line: HyperdomSVGAttributes<SVGLineElement>
linearGradient: HyperdomSVGAttributes<SVGLinearGradientElement>
marker: HyperdomSVGAttributes<SVGMarkerElement>
mask: HyperdomSVGAttributes<SVGMaskElement>
metadata: HyperdomSVGAttributes<SVGMetadataElement>
path: HyperdomSVGAttributes<SVGPathElement>
pattern: HyperdomSVGAttributes<SVGPatternElement>
polygon: HyperdomSVGAttributes<SVGPolygonElement>
polyline: HyperdomSVGAttributes<SVGPolylineElement>
radialGradient: HyperdomSVGAttributes<SVGRadialGradientElement>
rect: HyperdomSVGAttributes<SVGRectElement>
stop: HyperdomSVGAttributes<SVGStopElement>
switch: HyperdomSVGAttributes<SVGSwitchElement>
symbol: HyperdomSVGAttributes<SVGSymbolElement>
text: HyperdomSVGAttributes<SVGTextElement>
textPath: HyperdomSVGAttributes<SVGTextPathElement>
tspan: HyperdomSVGAttributes<SVGTSpanElement>
use: HyperdomSVGAttributes<SVGUseElement>
view: HyperdomSVGAttributes<SVGViewElement>
}
}
}