@vanijs/vani 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,836 +1,102 @@
1
- //#region src/vani/runtime.d.ts
2
- type SSRNode = {
3
- type: 'element';
4
- tag: string;
5
- props: Record<string, any>;
6
- children: SSRNode[];
7
- } | {
8
- type: 'text';
9
- text: string;
10
- } | {
11
- type: 'comment';
12
- text: string;
13
- } | {
14
- type: 'fragment';
15
- children: SSRNode[];
16
- } | {
17
- type: 'component';
18
- instance: ComponentInstance<any>;
19
- };
20
- type VNode = Node | SSRNode;
21
- interface Handle {
22
- /**
23
- * Schedules a render for the component.
24
- * This triggers a re-render on the next microtask.
25
- */
26
- update(): void;
27
- /**
28
- * Flushes the component render.
29
- * This triggers a re-render immediately.
30
- */
31
- updateSync(): void;
32
- /**
33
- * Disposes the component: removes the component from the DOM and runs all cleanup functions.
34
- */
35
- dispose(): void;
36
- /**
37
- * Adds a cleanup function that is called when the component is disposed.
38
- */
39
- onCleanup(fn: () => void): void;
40
- /**
41
- * This is purely syntatic sugar, as it is basically the same as running the function
42
- * on the setup phase and calling onCleanup to add a cleanup function.
43
- *
44
- * Using effects is necessary in SSR mode, for side effects to not run on the server
45
- * (e.g. timers, subscriptions, DOM usage, etc.)
46
- *
47
- * Runs a side effect function when the component is mounted.
48
- * The returning function may be a cleanup function that is called when the component is disposed.
49
- *
50
- */
51
- effect(fn: () => void | (() => void)): void;
52
- }
53
- type RenderFn = () => VChild;
54
- type Component<Props = any> = (props: Props, handle: Handle) => RenderFn | Promise<RenderFn>;
55
- type ComponentInstance<Props = any> = {
56
- $$vani: 'component';
57
- component: Component<Props>;
58
- props: Props;
59
- /**
60
- * A key is used to identify the component when it is re-rendered.
61
- * If a key is provided, the component will be re-rendered only if the key changes.
62
- */
63
- key?: string | number;
64
- /**
65
- * A ref is used to get a reference to the component instance.
66
- * The ref is set to the component instance when the component is mounted.
67
- * The ref is set to null when the component is disposed.
68
- */
69
- ref?: ComponentRef;
70
- clientOnly?: boolean;
71
- };
72
- type ComponentInput<Props> = Props & {
73
- key?: string | number;
74
- ref?: ComponentRef;
75
- };
76
- type ComponentMetaProps = {
77
- key?: string | number;
78
- ref?: ComponentRef;
79
- fallback?: RenderFn;
80
- clientOnly?: boolean;
81
- };
82
- type VChild = VNode | ComponentInstance<any> | string | number | null | undefined | false;
83
- type DataAttribute = `data-${string}`;
84
- type ElementTagName = keyof HTMLElementTagNameMap | keyof SVGElementTagNameMap;
85
- type ElementByTag<T extends ElementTagName> = T extends keyof HTMLElementTagNameMap ? HTMLElementTagNameMap[T] : T extends keyof SVGElementTagNameMap ? SVGElementTagNameMap[T] : Element;
86
- type SvgProps = {
87
- [key: string]: string | number | boolean | undefined | null | ((...args: any[]) => any);
88
- };
89
- type BaseProps<T extends ElementTagName> = {
90
- className?: ClassName;
91
- style?: string;
92
- ref?: DomRef<ElementByTag<T>>;
93
- } & { [key in DataAttribute]?: string | number | boolean | undefined | null };
94
- type HtmlProps<T extends ElementTagName> = T extends keyof SVGElementTagNameMap ? BaseProps<T> & SvgProps : BaseProps<T> & Partial<Omit<ElementByTag<T>, 'children' | 'className' | 'style'>>;
95
- type ClassName = string | undefined | null | {
96
- [key: string]: boolean | undefined | null;
97
- } | ClassName[];
98
- type ComponentRef = {
99
- current: Handle | null;
100
- };
101
- type DomRef<T extends Element = Element> = {
102
- current: T | null;
103
- };
104
- type RenderMode = 'dom' | 'ssr';
105
- declare function component(fn: Component<void>): (props?: ComponentMetaProps) => ComponentInstance<void>;
106
- declare function component<Props>(fn: Component<Props>): (props: Props & ComponentMetaProps) => ComponentInstance<Props>;
107
- declare function withRenderMode<T>(mode: RenderMode, fn: () => T): T;
108
- declare function getRenderMode(): RenderMode;
109
- declare function renderToDOM(components: Array<Component<any> | ComponentInstance<any>>, root: HTMLElement): Handle[];
110
- declare function isComponentInstance(child: VChild): child is ComponentInstance<any>;
111
- declare function classNames(...classes: ClassName[]): string;
112
- declare function el<E extends keyof HTMLElementTagNameMap | keyof SVGElementTagNameMap>(tag: E, props?: HtmlProps<E> | VChild | null, ...children: VChild[]): VNode;
113
- declare const fragment: (...children: VChild[]) => {
114
- type: "fragment";
115
- children: SSRNode[];
116
- } | DocumentFragment;
117
- declare function mount<Props>(component: Component<Props>, props: Props): VNode;
118
- /**
119
- * Marks all updates triggered inside the callback as a "transition".
120
- *
121
- * A transition represents non-urgent UI work that can be deferred
122
- * to keep the application responsive.
123
- *
124
- * Updates scheduled inside `startTransition`:
125
- * - do NOT block user interactions
126
- * - are batched separately from urgent updates
127
- * - may be flushed later (e.g. after the current event or during idle time)
128
- *
129
- * Transitions are NOT animations.
130
- * They do not control how updates look, only *when* they are applied.
131
- *
132
- * Typical use cases:
133
- * - Filtering or sorting large lists
134
- * - Rendering expensive subtrees
135
- * - Applying async results that are not immediately visible
136
- *
137
- * Example:
138
- * ```ts
139
- * button({
140
- * onclick: () => {
141
- * // urgent update
142
- * setOpen(true)
143
- * handle.update()
144
- *
145
- * // non-urgent update
146
- * startTransition(() => {
147
- * setItems(filter(items))
148
- * handle.update()
149
- * })
150
- * },
151
- * })
152
- * ```
153
- *
154
- * If multiple transitions are triggered, they are automatically batched.
155
- * Transition updates never interrupt urgent updates.
156
- */
157
- declare function startTransition(fn: () => void): void;
158
- declare function hydrateToDOM(components: Array<Component<any> | ComponentInstance<any>>, root: HTMLElement): Handle[];
159
- declare function isDevMode(): boolean;
160
- //#endregion
1
+ import { C as isDevMode, D as withRenderMode, E as startTransition, S as isComponentInstance, T as renderToDOM, _ as component, a as ComponentRef, b as getRenderMode, c as ElementProps, d as RenderFn, f as SSRNode, g as classNames, h as VNode, i as ComponentInstance, l as Handle, m as VChild, n as Component, o as DataAttribute, p as SvgProps, r as ComponentInput, s as DomRef, t as ClassName, u as HtmlProps, v as el, w as mount, x as hydrateToDOM, y as fragment } from "./runtime-Dp-nlil7.mjs";
2
+
161
3
  //#region src/vani/html.d.ts
162
- declare const div: (propsOrChild?: VChild | ({
163
- className?: ClassName;
164
- style?: string;
165
- ref?: DomRef<HTMLDivElement> | undefined;
166
- } & {
167
- [x: `data-${string}`]: string | number | boolean | null | undefined;
168
- } & Partial<Omit<HTMLDivElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
169
- declare const span: (propsOrChild?: VChild | ({
170
- className?: ClassName;
171
- style?: string;
172
- ref?: DomRef<HTMLSpanElement> | undefined;
173
- } & {
174
- [x: `data-${string}`]: string | number | boolean | null | undefined;
175
- } & Partial<Omit<HTMLSpanElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
176
- declare const ul: (propsOrChild?: VChild | ({
177
- className?: ClassName;
178
- style?: string;
179
- ref?: DomRef<HTMLUListElement> | undefined;
180
- } & {
181
- [x: `data-${string}`]: string | number | boolean | null | undefined;
182
- } & Partial<Omit<HTMLUListElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
183
- declare const li: (propsOrChild?: VChild | ({
184
- className?: ClassName;
185
- style?: string;
186
- ref?: DomRef<HTMLLIElement> | undefined;
187
- } & {
188
- [x: `data-${string}`]: string | number | boolean | null | undefined;
189
- } & Partial<Omit<HTMLLIElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
190
- declare const ol: (propsOrChild?: VChild | ({
191
- className?: ClassName;
192
- style?: string;
193
- ref?: DomRef<HTMLOListElement> | undefined;
194
- } & {
195
- [x: `data-${string}`]: string | number | boolean | null | undefined;
196
- } & Partial<Omit<HTMLOListElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
197
- declare const dl: (propsOrChild?: VChild | ({
198
- className?: ClassName;
199
- style?: string;
200
- ref?: DomRef<HTMLDListElement> | undefined;
201
- } & {
202
- [x: `data-${string}`]: string | number | boolean | null | undefined;
203
- } & Partial<Omit<HTMLDListElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
204
- declare const dt: (propsOrChild?: VChild | ({
205
- className?: ClassName;
206
- style?: string;
207
- ref?: DomRef<HTMLElement> | undefined;
208
- } & {
209
- [x: `data-${string}`]: string | number | boolean | null | undefined;
210
- } & Partial<Omit<HTMLElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
211
- declare const dd: (propsOrChild?: VChild | ({
212
- className?: ClassName;
213
- style?: string;
214
- ref?: DomRef<HTMLElement> | undefined;
215
- } & {
216
- [x: `data-${string}`]: string | number | boolean | null | undefined;
217
- } & Partial<Omit<HTMLElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
218
- declare const main: (propsOrChild?: VChild | ({
219
- className?: ClassName;
220
- style?: string;
221
- ref?: DomRef<HTMLElement> | undefined;
222
- } & {
223
- [x: `data-${string}`]: string | number | boolean | null | undefined;
224
- } & Partial<Omit<HTMLElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
225
- declare const header: (propsOrChild?: VChild | ({
226
- className?: ClassName;
227
- style?: string;
228
- ref?: DomRef<HTMLElement> | undefined;
229
- } & {
230
- [x: `data-${string}`]: string | number | boolean | null | undefined;
231
- } & Partial<Omit<HTMLElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
232
- declare const footer: (propsOrChild?: VChild | ({
233
- className?: ClassName;
234
- style?: string;
235
- ref?: DomRef<HTMLElement> | undefined;
236
- } & {
237
- [x: `data-${string}`]: string | number | boolean | null | undefined;
238
- } & Partial<Omit<HTMLElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
239
- declare const section: (propsOrChild?: VChild | ({
240
- className?: ClassName;
241
- style?: string;
242
- ref?: DomRef<HTMLElement> | undefined;
243
- } & {
244
- [x: `data-${string}`]: string | number | boolean | null | undefined;
245
- } & Partial<Omit<HTMLElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
246
- declare const article: (propsOrChild?: VChild | ({
247
- className?: ClassName;
248
- style?: string;
249
- ref?: DomRef<HTMLElement> | undefined;
250
- } & {
251
- [x: `data-${string}`]: string | number | boolean | null | undefined;
252
- } & Partial<Omit<HTMLElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
253
- declare const aside: (propsOrChild?: VChild | ({
254
- className?: ClassName;
255
- style?: string;
256
- ref?: DomRef<HTMLElement> | undefined;
257
- } & {
258
- [x: `data-${string}`]: string | number | boolean | null | undefined;
259
- } & Partial<Omit<HTMLElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
260
- declare const nav: (propsOrChild?: VChild | ({
261
- className?: ClassName;
262
- style?: string;
263
- ref?: DomRef<HTMLElement> | undefined;
264
- } & {
265
- [x: `data-${string}`]: string | number | boolean | null | undefined;
266
- } & Partial<Omit<HTMLElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
267
- declare const details: (propsOrChild?: VChild | ({
268
- className?: ClassName;
269
- style?: string;
270
- ref?: DomRef<HTMLDetailsElement> | undefined;
271
- } & {
272
- [x: `data-${string}`]: string | number | boolean | null | undefined;
273
- } & Partial<Omit<HTMLDetailsElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
274
- declare const summary: (propsOrChild?: VChild | ({
275
- className?: ClassName;
276
- style?: string;
277
- ref?: DomRef<HTMLElement> | undefined;
278
- } & {
279
- [x: `data-${string}`]: string | number | boolean | null | undefined;
280
- } & Partial<Omit<HTMLElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
281
- declare const a: (propsOrChild?: VChild | ({
282
- className?: ClassName;
283
- style?: string;
284
- ref?: DomRef<HTMLAnchorElement> | undefined;
285
- } & {
286
- [x: `data-${string}`]: string | number | boolean | null | undefined;
287
- } & SvgProps), ...children: VChild[]) => VNode;
288
- declare const button: (propsOrChild?: VChild | ({
289
- className?: ClassName;
290
- style?: string;
291
- ref?: DomRef<HTMLButtonElement> | undefined;
292
- } & {
293
- [x: `data-${string}`]: string | number | boolean | null | undefined;
294
- } & Partial<Omit<HTMLButtonElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
295
- declare const input: (propsOrChild?: VChild | ({
296
- className?: ClassName;
297
- style?: string;
298
- ref?: DomRef<HTMLInputElement> | undefined;
299
- } & {
300
- [x: `data-${string}`]: string | number | boolean | null | undefined;
301
- } & Partial<Omit<HTMLInputElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
302
- declare const output: (propsOrChild?: VChild | ({
303
- className?: ClassName;
304
- style?: string;
305
- ref?: DomRef<HTMLOutputElement> | undefined;
306
- } & {
307
- [x: `data-${string}`]: string | number | boolean | null | undefined;
308
- } & Partial<Omit<HTMLOutputElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
309
- declare const textarea: (propsOrChild?: VChild | ({
310
- className?: ClassName;
311
- style?: string;
312
- ref?: DomRef<HTMLTextAreaElement> | undefined;
313
- } & {
314
- [x: `data-${string}`]: string | number | boolean | null | undefined;
315
- } & Partial<Omit<HTMLTextAreaElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
316
- declare const select: (propsOrChild?: VChild | ({
317
- className?: ClassName;
318
- style?: string;
319
- ref?: DomRef<HTMLSelectElement> | undefined;
320
- } & {
321
- [x: `data-${string}`]: string | number | boolean | null | undefined;
322
- } & Partial<Omit<HTMLSelectElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
323
- declare const option: (propsOrChild?: VChild | ({
324
- className?: ClassName;
325
- style?: string;
326
- ref?: DomRef<HTMLOptionElement> | undefined;
327
- } & {
328
- [x: `data-${string}`]: string | number | boolean | null | undefined;
329
- } & Partial<Omit<HTMLOptionElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
330
- declare const optgroup: (propsOrChild?: VChild | ({
331
- className?: ClassName;
332
- style?: string;
333
- ref?: DomRef<HTMLOptGroupElement> | undefined;
334
- } & {
335
- [x: `data-${string}`]: string | number | boolean | null | undefined;
336
- } & Partial<Omit<HTMLOptGroupElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
337
- declare const label: (propsOrChild?: VChild | ({
338
- className?: ClassName;
339
- style?: string;
340
- ref?: DomRef<HTMLLabelElement> | undefined;
341
- } & {
342
- [x: `data-${string}`]: string | number | boolean | null | undefined;
343
- } & Partial<Omit<HTMLLabelElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
344
- declare const form: (propsOrChild?: VChild | ({
345
- className?: ClassName;
346
- style?: string;
347
- ref?: DomRef<HTMLFormElement> | undefined;
348
- } & {
349
- [x: `data-${string}`]: string | number | boolean | null | undefined;
350
- } & Partial<Omit<HTMLFormElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
351
- declare const progress: (propsOrChild?: VChild | ({
352
- className?: ClassName;
353
- style?: string;
354
- ref?: DomRef<HTMLProgressElement> | undefined;
355
- } & {
356
- [x: `data-${string}`]: string | number | boolean | null | undefined;
357
- } & Partial<Omit<HTMLProgressElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
358
- declare const meter: (propsOrChild?: VChild | ({
359
- className?: ClassName;
360
- style?: string;
361
- ref?: DomRef<HTMLMeterElement> | undefined;
362
- } & {
363
- [x: `data-${string}`]: string | number | boolean | null | undefined;
364
- } & Partial<Omit<HTMLMeterElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
365
- declare const fieldset: (propsOrChild?: VChild | ({
366
- className?: ClassName;
367
- style?: string;
368
- ref?: DomRef<HTMLFieldSetElement> | undefined;
369
- } & {
370
- [x: `data-${string}`]: string | number | boolean | null | undefined;
371
- } & Partial<Omit<HTMLFieldSetElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
372
- declare const legend: (propsOrChild?: VChild | ({
373
- className?: ClassName;
374
- style?: string;
375
- ref?: DomRef<HTMLLegendElement> | undefined;
376
- } & {
377
- [x: `data-${string}`]: string | number | boolean | null | undefined;
378
- } & Partial<Omit<HTMLLegendElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
379
- declare const datalist: (propsOrChild?: VChild | ({
380
- className?: ClassName;
381
- style?: string;
382
- ref?: DomRef<HTMLDataListElement> | undefined;
383
- } & {
384
- [x: `data-${string}`]: string | number | boolean | null | undefined;
385
- } & Partial<Omit<HTMLDataListElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
386
- declare const figure: (propsOrChild?: VChild | ({
387
- className?: ClassName;
388
- style?: string;
389
- ref?: DomRef<HTMLElement> | undefined;
390
- } & {
391
- [x: `data-${string}`]: string | number | boolean | null | undefined;
392
- } & Partial<Omit<HTMLElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
393
- declare const figcaption: (propsOrChild?: VChild | ({
394
- className?: ClassName;
395
- style?: string;
396
- ref?: DomRef<HTMLElement> | undefined;
397
- } & {
398
- [x: `data-${string}`]: string | number | boolean | null | undefined;
399
- } & Partial<Omit<HTMLElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
400
- declare const img: (propsOrChild?: VChild | ({
401
- className?: ClassName;
402
- style?: string;
403
- ref?: DomRef<HTMLImageElement> | undefined;
404
- } & {
405
- [x: `data-${string}`]: string | number | boolean | null | undefined;
406
- } & Partial<Omit<HTMLImageElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
407
- declare const picture: (propsOrChild?: VChild | ({
408
- className?: ClassName;
409
- style?: string;
410
- ref?: DomRef<HTMLPictureElement> | undefined;
411
- } & {
412
- [x: `data-${string}`]: string | number | boolean | null | undefined;
413
- } & Partial<Omit<HTMLPictureElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
414
- declare const source: (propsOrChild?: VChild | ({
415
- className?: ClassName;
416
- style?: string;
417
- ref?: DomRef<HTMLSourceElement> | undefined;
418
- } & {
419
- [x: `data-${string}`]: string | number | boolean | null | undefined;
420
- } & Partial<Omit<HTMLSourceElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
421
- declare const video: (propsOrChild?: VChild | ({
422
- className?: ClassName;
423
- style?: string;
424
- ref?: DomRef<HTMLVideoElement> | undefined;
425
- } & {
426
- [x: `data-${string}`]: string | number | boolean | null | undefined;
427
- } & Partial<Omit<HTMLVideoElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
428
- declare const audio: (propsOrChild?: VChild | ({
429
- className?: ClassName;
430
- style?: string;
431
- ref?: DomRef<HTMLAudioElement> | undefined;
432
- } & {
433
- [x: `data-${string}`]: string | number | boolean | null | undefined;
434
- } & Partial<Omit<HTMLAudioElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
435
- declare const iframe: (propsOrChild?: VChild | ({
436
- className?: ClassName;
437
- style?: string;
438
- ref?: DomRef<HTMLIFrameElement> | undefined;
439
- } & {
440
- [x: `data-${string}`]: string | number | boolean | null | undefined;
441
- } & Partial<Omit<HTMLIFrameElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
442
- declare const embed: (propsOrChild?: VChild | ({
443
- className?: ClassName;
444
- style?: string;
445
- ref?: DomRef<HTMLEmbedElement> | undefined;
446
- } & {
447
- [x: `data-${string}`]: string | number | boolean | null | undefined;
448
- } & Partial<Omit<HTMLEmbedElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
449
- declare const time: (propsOrChild?: VChild | ({
450
- className?: ClassName;
451
- style?: string;
452
- ref?: DomRef<HTMLTimeElement> | undefined;
453
- } & {
454
- [x: `data-${string}`]: string | number | boolean | null | undefined;
455
- } & Partial<Omit<HTMLTimeElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
456
- declare const mark: (propsOrChild?: VChild | ({
457
- className?: ClassName;
458
- style?: string;
459
- ref?: DomRef<HTMLElement> | undefined;
460
- } & {
461
- [x: `data-${string}`]: string | number | boolean | null | undefined;
462
- } & Partial<Omit<HTMLElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
463
- declare const p: (propsOrChild?: VChild | ({
464
- className?: ClassName;
465
- style?: string;
466
- ref?: DomRef<HTMLParagraphElement> | undefined;
467
- } & {
468
- [x: `data-${string}`]: string | number | boolean | null | undefined;
469
- } & Partial<Omit<HTMLParagraphElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
470
- declare const h1: (propsOrChild?: VChild | ({
471
- className?: ClassName;
472
- style?: string;
473
- ref?: DomRef<HTMLHeadingElement> | undefined;
474
- } & {
475
- [x: `data-${string}`]: string | number | boolean | null | undefined;
476
- } & Partial<Omit<HTMLHeadingElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
477
- declare const h2: (propsOrChild?: VChild | ({
478
- className?: ClassName;
479
- style?: string;
480
- ref?: DomRef<HTMLHeadingElement> | undefined;
481
- } & {
482
- [x: `data-${string}`]: string | number | boolean | null | undefined;
483
- } & Partial<Omit<HTMLHeadingElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
484
- declare const h3: (propsOrChild?: VChild | ({
485
- className?: ClassName;
486
- style?: string;
487
- ref?: DomRef<HTMLHeadingElement> | undefined;
488
- } & {
489
- [x: `data-${string}`]: string | number | boolean | null | undefined;
490
- } & Partial<Omit<HTMLHeadingElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
491
- declare const h4: (propsOrChild?: VChild | ({
492
- className?: ClassName;
493
- style?: string;
494
- ref?: DomRef<HTMLHeadingElement> | undefined;
495
- } & {
496
- [x: `data-${string}`]: string | number | boolean | null | undefined;
497
- } & Partial<Omit<HTMLHeadingElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
498
- declare const h5: (propsOrChild?: VChild | ({
499
- className?: ClassName;
500
- style?: string;
501
- ref?: DomRef<HTMLHeadingElement> | undefined;
502
- } & {
503
- [x: `data-${string}`]: string | number | boolean | null | undefined;
504
- } & Partial<Omit<HTMLHeadingElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
505
- declare const h6: (propsOrChild?: VChild | ({
506
- className?: ClassName;
507
- style?: string;
508
- ref?: DomRef<HTMLHeadingElement> | undefined;
509
- } & {
510
- [x: `data-${string}`]: string | number | boolean | null | undefined;
511
- } & Partial<Omit<HTMLHeadingElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
512
- declare const code: (propsOrChild?: VChild | ({
513
- className?: ClassName;
514
- style?: string;
515
- ref?: DomRef<HTMLElement> | undefined;
516
- } & {
517
- [x: `data-${string}`]: string | number | boolean | null | undefined;
518
- } & Partial<Omit<HTMLElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
519
- declare const pre: (propsOrChild?: VChild | ({
520
- className?: ClassName;
521
- style?: string;
522
- ref?: DomRef<HTMLPreElement> | undefined;
523
- } & {
524
- [x: `data-${string}`]: string | number | boolean | null | undefined;
525
- } & Partial<Omit<HTMLPreElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
526
- declare const blockquote: (propsOrChild?: VChild | ({
527
- className?: ClassName;
528
- style?: string;
529
- ref?: DomRef<HTMLQuoteElement> | undefined;
530
- } & {
531
- [x: `data-${string}`]: string | number | boolean | null | undefined;
532
- } & Partial<Omit<HTMLQuoteElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
533
- declare const var_: (propsOrChild?: VChild | ({
534
- className?: ClassName;
535
- style?: string;
536
- ref?: DomRef<HTMLElement> | undefined;
537
- } & {
538
- [x: `data-${string}`]: string | number | boolean | null | undefined;
539
- } & Partial<Omit<HTMLElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
540
- declare const kbd: (propsOrChild?: VChild | ({
541
- className?: ClassName;
542
- style?: string;
543
- ref?: DomRef<HTMLElement> | undefined;
544
- } & {
545
- [x: `data-${string}`]: string | number | boolean | null | undefined;
546
- } & Partial<Omit<HTMLElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
547
- declare const samp: (propsOrChild?: VChild | ({
548
- className?: ClassName;
549
- style?: string;
550
- ref?: DomRef<HTMLElement> | undefined;
551
- } & {
552
- [x: `data-${string}`]: string | number | boolean | null | undefined;
553
- } & Partial<Omit<HTMLElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
554
- declare const cite: (propsOrChild?: VChild | ({
555
- className?: ClassName;
556
- style?: string;
557
- ref?: DomRef<HTMLElement> | undefined;
558
- } & {
559
- [x: `data-${string}`]: string | number | boolean | null | undefined;
560
- } & Partial<Omit<HTMLElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
561
- declare const dfn: (propsOrChild?: VChild | ({
562
- className?: ClassName;
563
- style?: string;
564
- ref?: DomRef<HTMLElement> | undefined;
565
- } & {
566
- [x: `data-${string}`]: string | number | boolean | null | undefined;
567
- } & Partial<Omit<HTMLElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
568
- declare const abbr: (propsOrChild?: VChild | ({
569
- className?: ClassName;
570
- style?: string;
571
- ref?: DomRef<HTMLElement> | undefined;
572
- } & {
573
- [x: `data-${string}`]: string | number | boolean | null | undefined;
574
- } & Partial<Omit<HTMLElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
575
- declare const small: (propsOrChild?: VChild | ({
576
- className?: ClassName;
577
- style?: string;
578
- ref?: DomRef<HTMLElement> | undefined;
579
- } & {
580
- [x: `data-${string}`]: string | number | boolean | null | undefined;
581
- } & Partial<Omit<HTMLElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
582
- declare const strong: (propsOrChild?: VChild | ({
583
- className?: ClassName;
584
- style?: string;
585
- ref?: DomRef<HTMLElement> | undefined;
586
- } & {
587
- [x: `data-${string}`]: string | number | boolean | null | undefined;
588
- } & Partial<Omit<HTMLElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
589
- declare const em: (propsOrChild?: VChild | ({
590
- className?: ClassName;
591
- style?: string;
592
- ref?: DomRef<HTMLElement> | undefined;
593
- } & {
594
- [x: `data-${string}`]: string | number | boolean | null | undefined;
595
- } & Partial<Omit<HTMLElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
596
- declare const br: (propsOrChild?: VChild | ({
597
- className?: ClassName;
598
- style?: string;
599
- ref?: DomRef<HTMLBRElement> | undefined;
600
- } & {
601
- [x: `data-${string}`]: string | number | boolean | null | undefined;
602
- } & Partial<Omit<HTMLBRElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
603
- declare const hr: (propsOrChild?: VChild | ({
604
- className?: ClassName;
605
- style?: string;
606
- ref?: DomRef<HTMLHRElement> | undefined;
607
- } & {
608
- [x: `data-${string}`]: string | number | boolean | null | undefined;
609
- } & Partial<Omit<HTMLHRElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
610
- declare const table: (propsOrChild?: VChild | ({
611
- className?: ClassName;
612
- style?: string;
613
- ref?: DomRef<HTMLTableElement> | undefined;
614
- } & {
615
- [x: `data-${string}`]: string | number | boolean | null | undefined;
616
- } & Partial<Omit<HTMLTableElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
617
- declare const caption: (propsOrChild?: VChild | ({
618
- className?: ClassName;
619
- style?: string;
620
- ref?: DomRef<HTMLTableCaptionElement> | undefined;
621
- } & {
622
- [x: `data-${string}`]: string | number | boolean | null | undefined;
623
- } & Partial<Omit<HTMLTableCaptionElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
624
- declare const colgroup: (propsOrChild?: VChild | ({
625
- className?: ClassName;
626
- style?: string;
627
- ref?: DomRef<HTMLTableColElement> | undefined;
628
- } & {
629
- [x: `data-${string}`]: string | number | boolean | null | undefined;
630
- } & Partial<Omit<HTMLTableColElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
631
- declare const col: (propsOrChild?: VChild | ({
632
- className?: ClassName;
633
- style?: string;
634
- ref?: DomRef<HTMLTableColElement> | undefined;
635
- } & {
636
- [x: `data-${string}`]: string | number | boolean | null | undefined;
637
- } & Partial<Omit<HTMLTableColElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
638
- declare const tbody: (propsOrChild?: VChild | ({
639
- className?: ClassName;
640
- style?: string;
641
- ref?: DomRef<HTMLTableSectionElement> | undefined;
642
- } & {
643
- [x: `data-${string}`]: string | number | boolean | null | undefined;
644
- } & Partial<Omit<HTMLTableSectionElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
645
- declare const thead: (propsOrChild?: VChild | ({
646
- className?: ClassName;
647
- style?: string;
648
- ref?: DomRef<HTMLTableSectionElement> | undefined;
649
- } & {
650
- [x: `data-${string}`]: string | number | boolean | null | undefined;
651
- } & Partial<Omit<HTMLTableSectionElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
652
- declare const tfoot: (propsOrChild?: VChild | ({
653
- className?: ClassName;
654
- style?: string;
655
- ref?: DomRef<HTMLTableSectionElement> | undefined;
656
- } & {
657
- [x: `data-${string}`]: string | number | boolean | null | undefined;
658
- } & Partial<Omit<HTMLTableSectionElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
659
- declare const tr: (propsOrChild?: VChild | ({
660
- className?: ClassName;
661
- style?: string;
662
- ref?: DomRef<HTMLTableRowElement> | undefined;
663
- } & {
664
- [x: `data-${string}`]: string | number | boolean | null | undefined;
665
- } & Partial<Omit<HTMLTableRowElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
666
- declare const td: (propsOrChild?: VChild | ({
667
- className?: ClassName;
668
- style?: string;
669
- ref?: DomRef<HTMLTableCellElement> | undefined;
670
- } & {
671
- [x: `data-${string}`]: string | number | boolean | null | undefined;
672
- } & Partial<Omit<HTMLTableCellElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
673
- declare const th: (propsOrChild?: VChild | ({
674
- className?: ClassName;
675
- style?: string;
676
- ref?: DomRef<HTMLTableCellElement> | undefined;
677
- } & {
678
- [x: `data-${string}`]: string | number | boolean | null | undefined;
679
- } & Partial<Omit<HTMLTableCellElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
680
- declare const style: (propsOrChild?: VChild | ({
681
- className?: ClassName;
682
- style?: string;
683
- ref?: DomRef<HTMLStyleElement> | undefined;
684
- } & {
685
- [x: `data-${string}`]: string | number | boolean | null | undefined;
686
- } & SvgProps), ...children: VChild[]) => VNode;
687
- declare const script: (propsOrChild?: VChild | ({
688
- className?: ClassName;
689
- style?: string;
690
- ref?: DomRef<HTMLScriptElement> | undefined;
691
- } & {
692
- [x: `data-${string}`]: string | number | boolean | null | undefined;
693
- } & SvgProps), ...children: VChild[]) => VNode;
694
- declare const noscript: (propsOrChild?: VChild | ({
695
- className?: ClassName;
696
- style?: string;
697
- ref?: DomRef<HTMLElement> | undefined;
698
- } & {
699
- [x: `data-${string}`]: string | number | boolean | null | undefined;
700
- } & Partial<Omit<HTMLElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
701
- declare const template: (propsOrChild?: VChild | ({
702
- className?: ClassName;
703
- style?: string;
704
- ref?: DomRef<HTMLTemplateElement> | undefined;
705
- } & {
706
- [x: `data-${string}`]: string | number | boolean | null | undefined;
707
- } & Partial<Omit<HTMLTemplateElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
708
- declare const slot: (propsOrChild?: VChild | ({
709
- className?: ClassName;
710
- style?: string;
711
- ref?: DomRef<HTMLSlotElement> | undefined;
712
- } & {
713
- [x: `data-${string}`]: string | number | boolean | null | undefined;
714
- } & Partial<Omit<HTMLSlotElement, "style" | "children" | "className">>), ...children: VChild[]) => VNode;
715
- declare const svg: (propsOrChild?: VChild | ({
716
- className?: ClassName;
717
- style?: string;
718
- ref?: DomRef<SVGSVGElement> | undefined;
719
- } & {
720
- [x: `data-${string}`]: string | number | boolean | null | undefined;
721
- } & SvgProps), ...children: VChild[]) => VNode;
722
- declare const g: (propsOrChild?: VChild | ({
723
- className?: ClassName;
724
- style?: string;
725
- ref?: DomRef<SVGGElement> | undefined;
726
- } & {
727
- [x: `data-${string}`]: string | number | boolean | null | undefined;
728
- } & SvgProps), ...children: VChild[]) => VNode;
729
- declare const path: (propsOrChild?: VChild | ({
730
- className?: ClassName;
731
- style?: string;
732
- ref?: DomRef<SVGPathElement> | undefined;
733
- } & {
734
- [x: `data-${string}`]: string | number | boolean | null | undefined;
735
- } & SvgProps), ...children: VChild[]) => VNode;
736
- declare const circle: (propsOrChild?: VChild | ({
737
- className?: ClassName;
738
- style?: string;
739
- ref?: DomRef<SVGCircleElement> | undefined;
740
- } & {
741
- [x: `data-${string}`]: string | number | boolean | null | undefined;
742
- } & SvgProps), ...children: VChild[]) => VNode;
743
- declare const rect: (propsOrChild?: VChild | ({
744
- className?: ClassName;
745
- style?: string;
746
- ref?: DomRef<SVGRectElement> | undefined;
747
- } & {
748
- [x: `data-${string}`]: string | number | boolean | null | undefined;
749
- } & SvgProps), ...children: VChild[]) => VNode;
750
- declare const line: (propsOrChild?: VChild | ({
751
- className?: ClassName;
752
- style?: string;
753
- ref?: DomRef<SVGLineElement> | undefined;
754
- } & {
755
- [x: `data-${string}`]: string | number | boolean | null | undefined;
756
- } & SvgProps), ...children: VChild[]) => VNode;
757
- declare const polyline: (propsOrChild?: VChild | ({
758
- className?: ClassName;
759
- style?: string;
760
- ref?: DomRef<SVGPolylineElement> | undefined;
761
- } & {
762
- [x: `data-${string}`]: string | number | boolean | null | undefined;
763
- } & SvgProps), ...children: VChild[]) => VNode;
764
- declare const polygon: (propsOrChild?: VChild | ({
765
- className?: ClassName;
766
- style?: string;
767
- ref?: DomRef<SVGPolygonElement> | undefined;
768
- } & {
769
- [x: `data-${string}`]: string | number | boolean | null | undefined;
770
- } & SvgProps), ...children: VChild[]) => VNode;
771
- declare const ellipse: (propsOrChild?: VChild | ({
772
- className?: ClassName;
773
- style?: string;
774
- ref?: DomRef<SVGEllipseElement> | undefined;
775
- } & {
776
- [x: `data-${string}`]: string | number | boolean | null | undefined;
777
- } & SvgProps), ...children: VChild[]) => VNode;
778
- declare const defs: (propsOrChild?: VChild | ({
779
- className?: ClassName;
780
- style?: string;
781
- ref?: DomRef<SVGDefsElement> | undefined;
782
- } & {
783
- [x: `data-${string}`]: string | number | boolean | null | undefined;
784
- } & SvgProps), ...children: VChild[]) => VNode;
785
- declare const clipPath: (propsOrChild?: VChild | ({
786
- className?: ClassName;
787
- style?: string;
788
- ref?: DomRef<SVGClipPathElement> | undefined;
789
- } & {
790
- [x: `data-${string}`]: string | number | boolean | null | undefined;
791
- } & SvgProps), ...children: VChild[]) => VNode;
792
- declare const mask: (propsOrChild?: VChild | ({
793
- className?: ClassName;
794
- style?: string;
795
- ref?: DomRef<SVGMaskElement> | undefined;
796
- } & {
797
- [x: `data-${string}`]: string | number | boolean | null | undefined;
798
- } & SvgProps), ...children: VChild[]) => VNode;
799
- declare const pattern: (propsOrChild?: VChild | ({
800
- className?: ClassName;
801
- style?: string;
802
- ref?: DomRef<SVGPatternElement> | undefined;
803
- } & {
804
- [x: `data-${string}`]: string | number | boolean | null | undefined;
805
- } & SvgProps), ...children: VChild[]) => VNode;
806
- declare const linearGradient: (propsOrChild?: VChild | ({
807
- className?: ClassName;
808
- style?: string;
809
- ref?: DomRef<SVGLinearGradientElement> | undefined;
810
- } & {
811
- [x: `data-${string}`]: string | number | boolean | null | undefined;
812
- } & SvgProps), ...children: VChild[]) => VNode;
813
- declare const radialGradient: (propsOrChild?: VChild | ({
814
- className?: ClassName;
815
- style?: string;
816
- ref?: DomRef<SVGRadialGradientElement> | undefined;
817
- } & {
818
- [x: `data-${string}`]: string | number | boolean | null | undefined;
819
- } & SvgProps), ...children: VChild[]) => VNode;
820
- declare const stop: (propsOrChild?: VChild | ({
821
- className?: ClassName;
822
- style?: string;
823
- ref?: DomRef<SVGStopElement> | undefined;
824
- } & {
825
- [x: `data-${string}`]: string | number | boolean | null | undefined;
826
- } & SvgProps), ...children: VChild[]) => VNode;
827
- declare const use: (propsOrChild?: VChild | ({
828
- className?: ClassName;
829
- style?: string;
830
- ref?: DomRef<SVGUseElement> | undefined;
831
- } & {
832
- [x: `data-${string}`]: string | number | boolean | null | undefined;
833
- } & SvgProps), ...children: VChild[]) => VNode;
4
+ declare const div: (propsOrChild?: VChild | HtmlProps<"div">, ...children: VChild[]) => VNode;
5
+ declare const span: (propsOrChild?: VChild | HtmlProps<"span">, ...children: VChild[]) => VNode;
6
+ declare const ul: (propsOrChild?: VChild | HtmlProps<"ul">, ...children: VChild[]) => VNode;
7
+ declare const li: (propsOrChild?: VChild | HtmlProps<"li">, ...children: VChild[]) => VNode;
8
+ declare const ol: (propsOrChild?: VChild | HtmlProps<"ol">, ...children: VChild[]) => VNode;
9
+ declare const dl: (propsOrChild?: VChild | HtmlProps<"dl">, ...children: VChild[]) => VNode;
10
+ declare const dt: (propsOrChild?: VChild | HtmlProps<"dt">, ...children: VChild[]) => VNode;
11
+ declare const dd: (propsOrChild?: VChild | HtmlProps<"dd">, ...children: VChild[]) => VNode;
12
+ declare const main: (propsOrChild?: VChild | HtmlProps<"main">, ...children: VChild[]) => VNode;
13
+ declare const header: (propsOrChild?: VChild | HtmlProps<"header">, ...children: VChild[]) => VNode;
14
+ declare const footer: (propsOrChild?: VChild | HtmlProps<"footer">, ...children: VChild[]) => VNode;
15
+ declare const section: (propsOrChild?: VChild | HtmlProps<"section">, ...children: VChild[]) => VNode;
16
+ declare const article: (propsOrChild?: VChild | HtmlProps<"article">, ...children: VChild[]) => VNode;
17
+ declare const aside: (propsOrChild?: VChild | HtmlProps<"aside">, ...children: VChild[]) => VNode;
18
+ declare const nav: (propsOrChild?: VChild | HtmlProps<"nav">, ...children: VChild[]) => VNode;
19
+ declare const details: (propsOrChild?: VChild | HtmlProps<"details">, ...children: VChild[]) => VNode;
20
+ declare const summary: (propsOrChild?: VChild | HtmlProps<"summary">, ...children: VChild[]) => VNode;
21
+ declare const a: (propsOrChild?: VChild | SvgProps<"a">, ...children: VChild[]) => VNode;
22
+ declare const button: (propsOrChild?: VChild | HtmlProps<"button">, ...children: VChild[]) => VNode;
23
+ declare const input: (propsOrChild?: VChild | HtmlProps<"input">, ...children: VChild[]) => VNode;
24
+ declare const output: (propsOrChild?: VChild | HtmlProps<"output">, ...children: VChild[]) => VNode;
25
+ declare const textarea: (propsOrChild?: VChild | HtmlProps<"textarea">, ...children: VChild[]) => VNode;
26
+ declare const select: (propsOrChild?: VChild | HtmlProps<"select">, ...children: VChild[]) => VNode;
27
+ declare const option: (propsOrChild?: VChild | HtmlProps<"option">, ...children: VChild[]) => VNode;
28
+ declare const optgroup: (propsOrChild?: VChild | HtmlProps<"optgroup">, ...children: VChild[]) => VNode;
29
+ declare const label: (propsOrChild?: VChild | HtmlProps<"label">, ...children: VChild[]) => VNode;
30
+ declare const form: (propsOrChild?: VChild | HtmlProps<"form">, ...children: VChild[]) => VNode;
31
+ declare const progress: (propsOrChild?: VChild | HtmlProps<"progress">, ...children: VChild[]) => VNode;
32
+ declare const meter: (propsOrChild?: VChild | HtmlProps<"meter">, ...children: VChild[]) => VNode;
33
+ declare const fieldset: (propsOrChild?: VChild | HtmlProps<"fieldset">, ...children: VChild[]) => VNode;
34
+ declare const legend: (propsOrChild?: VChild | HtmlProps<"legend">, ...children: VChild[]) => VNode;
35
+ declare const datalist: (propsOrChild?: VChild | HtmlProps<"datalist">, ...children: VChild[]) => VNode;
36
+ declare const figure: (propsOrChild?: VChild | HtmlProps<"figure">, ...children: VChild[]) => VNode;
37
+ declare const figcaption: (propsOrChild?: VChild | HtmlProps<"figcaption">, ...children: VChild[]) => VNode;
38
+ declare const img: (propsOrChild?: VChild | HtmlProps<"img">, ...children: VChild[]) => VNode;
39
+ declare const picture: (propsOrChild?: VChild | HtmlProps<"picture">, ...children: VChild[]) => VNode;
40
+ declare const source: (propsOrChild?: VChild | HtmlProps<"source">, ...children: VChild[]) => VNode;
41
+ declare const video: (propsOrChild?: VChild | HtmlProps<"video">, ...children: VChild[]) => VNode;
42
+ declare const audio: (propsOrChild?: VChild | HtmlProps<"audio">, ...children: VChild[]) => VNode;
43
+ declare const iframe: (propsOrChild?: VChild | HtmlProps<"iframe">, ...children: VChild[]) => VNode;
44
+ declare const embed: (propsOrChild?: VChild | HtmlProps<"embed">, ...children: VChild[]) => VNode;
45
+ declare const time: (propsOrChild?: VChild | HtmlProps<"time">, ...children: VChild[]) => VNode;
46
+ declare const mark: (propsOrChild?: VChild | HtmlProps<"mark">, ...children: VChild[]) => VNode;
47
+ declare const p: (propsOrChild?: VChild | HtmlProps<"p">, ...children: VChild[]) => VNode;
48
+ declare const h1: (propsOrChild?: VChild | HtmlProps<"h1">, ...children: VChild[]) => VNode;
49
+ declare const h2: (propsOrChild?: VChild | HtmlProps<"h2">, ...children: VChild[]) => VNode;
50
+ declare const h3: (propsOrChild?: VChild | HtmlProps<"h3">, ...children: VChild[]) => VNode;
51
+ declare const h4: (propsOrChild?: VChild | HtmlProps<"h4">, ...children: VChild[]) => VNode;
52
+ declare const h5: (propsOrChild?: VChild | HtmlProps<"h5">, ...children: VChild[]) => VNode;
53
+ declare const h6: (propsOrChild?: VChild | HtmlProps<"h6">, ...children: VChild[]) => VNode;
54
+ declare const code: (propsOrChild?: VChild | HtmlProps<"code">, ...children: VChild[]) => VNode;
55
+ declare const pre: (propsOrChild?: VChild | HtmlProps<"pre">, ...children: VChild[]) => VNode;
56
+ declare const blockquote: (propsOrChild?: VChild | HtmlProps<"blockquote">, ...children: VChild[]) => VNode;
57
+ declare const var_: (propsOrChild?: VChild | HtmlProps<"var">, ...children: VChild[]) => VNode;
58
+ declare const kbd: (propsOrChild?: VChild | HtmlProps<"kbd">, ...children: VChild[]) => VNode;
59
+ declare const samp: (propsOrChild?: VChild | HtmlProps<"samp">, ...children: VChild[]) => VNode;
60
+ declare const cite: (propsOrChild?: VChild | HtmlProps<"cite">, ...children: VChild[]) => VNode;
61
+ declare const dfn: (propsOrChild?: VChild | HtmlProps<"dfn">, ...children: VChild[]) => VNode;
62
+ declare const abbr: (propsOrChild?: VChild | HtmlProps<"abbr">, ...children: VChild[]) => VNode;
63
+ declare const small: (propsOrChild?: VChild | HtmlProps<"small">, ...children: VChild[]) => VNode;
64
+ declare const strong: (propsOrChild?: VChild | HtmlProps<"strong">, ...children: VChild[]) => VNode;
65
+ declare const em: (propsOrChild?: VChild | HtmlProps<"em">, ...children: VChild[]) => VNode;
66
+ declare const br: (propsOrChild?: VChild | HtmlProps<"br">, ...children: VChild[]) => VNode;
67
+ declare const hr: (propsOrChild?: VChild | HtmlProps<"hr">, ...children: VChild[]) => VNode;
68
+ declare const table: (propsOrChild?: VChild | HtmlProps<"table">, ...children: VChild[]) => VNode;
69
+ declare const caption: (propsOrChild?: VChild | HtmlProps<"caption">, ...children: VChild[]) => VNode;
70
+ declare const colgroup: (propsOrChild?: VChild | HtmlProps<"colgroup">, ...children: VChild[]) => VNode;
71
+ declare const col: (propsOrChild?: VChild | HtmlProps<"col">, ...children: VChild[]) => VNode;
72
+ declare const tbody: (propsOrChild?: VChild | HtmlProps<"tbody">, ...children: VChild[]) => VNode;
73
+ declare const thead: (propsOrChild?: VChild | HtmlProps<"thead">, ...children: VChild[]) => VNode;
74
+ declare const tfoot: (propsOrChild?: VChild | HtmlProps<"tfoot">, ...children: VChild[]) => VNode;
75
+ declare const tr: (propsOrChild?: VChild | HtmlProps<"tr">, ...children: VChild[]) => VNode;
76
+ declare const td: (propsOrChild?: VChild | HtmlProps<"td">, ...children: VChild[]) => VNode;
77
+ declare const th: (propsOrChild?: VChild | HtmlProps<"th">, ...children: VChild[]) => VNode;
78
+ declare const style: (propsOrChild?: VChild | SvgProps<"style">, ...children: VChild[]) => VNode;
79
+ declare const script: (propsOrChild?: VChild | SvgProps<"script">, ...children: VChild[]) => VNode;
80
+ declare const noscript: (propsOrChild?: VChild | HtmlProps<"noscript">, ...children: VChild[]) => VNode;
81
+ declare const template: (propsOrChild?: VChild | HtmlProps<"template">, ...children: VChild[]) => VNode;
82
+ declare const slot: (propsOrChild?: VChild | HtmlProps<"slot">, ...children: VChild[]) => VNode;
83
+ declare const svg: (propsOrChild?: VChild | SvgProps<"svg">, ...children: VChild[]) => VNode;
84
+ declare const g: (propsOrChild?: VChild | SvgProps<"g">, ...children: VChild[]) => VNode;
85
+ declare const path: (propsOrChild?: VChild | SvgProps<"path">, ...children: VChild[]) => VNode;
86
+ declare const circle: (propsOrChild?: VChild | SvgProps<"circle">, ...children: VChild[]) => VNode;
87
+ declare const rect: (propsOrChild?: VChild | SvgProps<"rect">, ...children: VChild[]) => VNode;
88
+ declare const line: (propsOrChild?: VChild | SvgProps<"line">, ...children: VChild[]) => VNode;
89
+ declare const polyline: (propsOrChild?: VChild | SvgProps<"polyline">, ...children: VChild[]) => VNode;
90
+ declare const polygon: (propsOrChild?: VChild | SvgProps<"polygon">, ...children: VChild[]) => VNode;
91
+ declare const ellipse: (propsOrChild?: VChild | SvgProps<"ellipse">, ...children: VChild[]) => VNode;
92
+ declare const defs: (propsOrChild?: VChild | SvgProps<"defs">, ...children: VChild[]) => VNode;
93
+ declare const clipPath: (propsOrChild?: VChild | SvgProps<"clipPath">, ...children: VChild[]) => VNode;
94
+ declare const mask: (propsOrChild?: VChild | SvgProps<"mask">, ...children: VChild[]) => VNode;
95
+ declare const pattern: (propsOrChild?: VChild | SvgProps<"pattern">, ...children: VChild[]) => VNode;
96
+ declare const linearGradient: (propsOrChild?: VChild | SvgProps<"linearGradient">, ...children: VChild[]) => VNode;
97
+ declare const radialGradient: (propsOrChild?: VChild | SvgProps<"radialGradient">, ...children: VChild[]) => VNode;
98
+ declare const stop: (propsOrChild?: VChild | SvgProps<"stop">, ...children: VChild[]) => VNode;
99
+ declare const use: (propsOrChild?: VChild | SvgProps<"use">, ...children: VChild[]) => VNode;
834
100
  //#endregion
835
101
  //#region src/vani/ssr.d.ts
836
102
  type Renderable = Component<any> | ComponentInstance<any>;
@@ -844,4 +110,4 @@ type SvgRenderOptions = {
844
110
  };
845
111
  declare const renderSvgString: (svg: string, options?: SvgRenderOptions) => VNode;
846
112
  //#endregion
847
- export { ClassName, Component, ComponentInput, ComponentInstance, ComponentRef, DataAttribute, DomRef, Handle, HtmlProps, RenderFn, SSRNode, SvgProps, SvgRenderOptions, VChild, VNode, a, abbr, article, aside, audio, blockquote, br, button, caption, circle, cite, classNames, clipPath, code, col, colgroup, component, datalist, dd, defs, details, dfn, div, dl, dt, el, ellipse, em, embed, fieldset, figcaption, figure, footer, form, fragment, g, getRenderMode, h1, h2, h3, h4, h5, h6, header, hr, hydrateToDOM, iframe, img, input, isComponentInstance, isDevMode, kbd, label, legend, li, line, linearGradient, main, mark, mask, meter, mount, nav, noscript, ol, optgroup, option, output, p, path, pattern, picture, polygon, polyline, pre, progress, radialGradient, rect, renderSvgString, renderToDOM, renderToString, samp, script, section, select, slot, small, source, span, startTransition, stop, strong, style, summary, svg, table, tbody, td, template, textarea, tfoot, th, thead, time, tr, ul, use, var_, video, withRenderMode };
113
+ export { ClassName, Component, ComponentInput, ComponentInstance, ComponentRef, DataAttribute, DomRef, ElementProps, Handle, HtmlProps, RenderFn, SSRNode, SvgProps, SvgRenderOptions, VChild, VNode, a, abbr, article, aside, audio, blockquote, br, button, caption, circle, cite, classNames, clipPath, code, col, colgroup, component, datalist, dd, defs, details, dfn, div, dl, dt, el, ellipse, em, embed, fieldset, figcaption, figure, footer, form, fragment, g, getRenderMode, h1, h2, h3, h4, h5, h6, header, hr, hydrateToDOM, iframe, img, input, isComponentInstance, isDevMode, kbd, label, legend, li, line, linearGradient, main, mark, mask, meter, mount, nav, noscript, ol, optgroup, option, output, p, path, pattern, picture, polygon, polyline, pre, progress, radialGradient, rect, renderSvgString, renderToDOM, renderToString, samp, script, section, select, slot, small, source, span, startTransition, stop, strong, style, summary, svg, table, tbody, td, template, textarea, tfoot, th, thead, time, tr, ul, use, var_, video, withRenderMode };