/// import { DefaultReflexBaseProps, VNode } from "./common"; import { IAtom } from "./states"; /** * JSX types are straight stolen from Preact. Thanks Preact core team ✌️ * https://github.com/preactjs/preact/blob/master/src/jsx.d.ts * It has been a bit adapted for Reflex API * * TODO : Missing * - JSX.Element * - JSX.ElementClass * - Default const r = ref() without generics should work * * TODO : Errors * - Disallow a component render function to return a component as main node ! * () => <- Forbidden * - Disallow a component which render an array * () => [
,
] <- Forbidden */ export type ComponentChild = VNode | string | number | null | undefined | boolean | object | bigint | (() => VNode); export interface DefaultReflexJSXAttributes extends DefaultReflexBaseProps { children?: ComponentChild | ComponentChild[]; } type TargetedEvent = TypedEvent; type TargetedAnimationEvent = TargetedEvent; type TargetedClipboardEvent = TargetedEvent; type TargetedCompositionEvent = TargetedEvent; type TargetedDragEvent = TargetedEvent; type TargetedFocusEvent = TargetedEvent; type TargetedKeyboardEvent = TargetedEvent; type TargetedMouseEvent = TargetedEvent; type TargetedPointerEvent = TargetedEvent; type TargetedTouchEvent = TargetedEvent; type TargetedTransitionEvent = TargetedEvent; type TargetedUIEvent = TargetedEvent; type TargetedWheelEvent = TargetedEvent; interface EventHandler { /** * The `this` keyword always points to the DOM element the event handler * was invoked on. See: https://developer.mozilla.org/en-US/docs/Web/Guide/Events/Event_handlers#Event_handlers_parameters_this_binding_and_the_return_value */ (this: never, event: E): void; } type AnimationEventHandler = EventHandler>; type ClipboardEventHandler = EventHandler>; type CompositionEventHandler = EventHandler>; type DragEventHandler = EventHandler>; type FocusEventHandler = EventHandler>; type GenericEventHandler = EventHandler>; type KeyboardEventHandler = EventHandler>; type MouseEventHandler = EventHandler>; type PointerEventHandler = EventHandler>; type TouchEventHandler = EventHandler>; type TransitionEventHandler = EventHandler>; type UIEventHandler = EventHandler>; type WheelEventHandler = EventHandler>; export interface DOMAttributes { onLoad?: GenericEventHandler; onLoadCapture?: GenericEventHandler; onError?: GenericEventHandler; onErrorCapture?: GenericEventHandler; onCopy?: ClipboardEventHandler; onCopyCapture?: ClipboardEventHandler; onCut?: ClipboardEventHandler; onCutCapture?: ClipboardEventHandler; onPaste?: ClipboardEventHandler; onPasteCapture?: ClipboardEventHandler; onCompositionEnd?: CompositionEventHandler; onCompositionEndCapture?: CompositionEventHandler; onCompositionStart?: CompositionEventHandler; onCompositionStartCapture?: CompositionEventHandler; onCompositionUpdate?: CompositionEventHandler; onCompositionUpdateCapture?: CompositionEventHandler; onToggle?: GenericEventHandler; onFocus?: FocusEventHandler; onFocusCapture?: FocusEventHandler; onfocusin?: FocusEventHandler; onfocusinCapture?: FocusEventHandler; onfocusout?: FocusEventHandler; onfocusoutCapture?: FocusEventHandler; onBlur?: FocusEventHandler; onBlurCapture?: FocusEventHandler; onChange?: GenericEventHandler; onChangeCapture?: GenericEventHandler; onInput?: GenericEventHandler; onInputCapture?: GenericEventHandler; onBeforeInput?: GenericEventHandler; onBeforeInputCapture?: GenericEventHandler; onSearch?: GenericEventHandler; onSearchCapture?: GenericEventHandler; onSubmit?: GenericEventHandler; onSubmitCapture?: GenericEventHandler; onInvalid?: GenericEventHandler; onInvalidCapture?: GenericEventHandler; onReset?: GenericEventHandler; onResetCapture?: GenericEventHandler; onFormData?: GenericEventHandler; onFormDataCapture?: GenericEventHandler; onKeyDown?: KeyboardEventHandler; onKeyDownCapture?: KeyboardEventHandler; onKeyPress?: KeyboardEventHandler; onKeyPressCapture?: KeyboardEventHandler; onKeyUp?: KeyboardEventHandler; onKeyUpCapture?: KeyboardEventHandler; onAbort?: GenericEventHandler; onAbortCapture?: GenericEventHandler; onCanPlay?: GenericEventHandler; onCanPlayCapture?: GenericEventHandler; onCanPlayThrough?: GenericEventHandler; onCanPlayThroughCapture?: GenericEventHandler; onDurationChange?: GenericEventHandler; onDurationChangeCapture?: GenericEventHandler; onEmptied?: GenericEventHandler; onEmptiedCapture?: GenericEventHandler; onEncrypted?: GenericEventHandler; onEncryptedCapture?: GenericEventHandler; onEnded?: GenericEventHandler; onEndedCapture?: GenericEventHandler; onLoadedData?: GenericEventHandler; onLoadedDataCapture?: GenericEventHandler; onLoadedMetadata?: GenericEventHandler; onLoadedMetadataCapture?: GenericEventHandler; onLoadStart?: GenericEventHandler; onLoadStartCapture?: GenericEventHandler; onPause?: GenericEventHandler; onPauseCapture?: GenericEventHandler; onPlay?: GenericEventHandler; onPlayCapture?: GenericEventHandler; onPlaying?: GenericEventHandler; onPlayingCapture?: GenericEventHandler; onProgress?: GenericEventHandler; onProgressCapture?: GenericEventHandler; onRateChange?: GenericEventHandler; onRateChangeCapture?: GenericEventHandler; onSeeked?: GenericEventHandler; onSeekedCapture?: GenericEventHandler; onSeeking?: GenericEventHandler; onSeekingCapture?: GenericEventHandler; onStalled?: GenericEventHandler; onStalledCapture?: GenericEventHandler; onSuspend?: GenericEventHandler; onSuspendCapture?: GenericEventHandler; onTimeUpdate?: GenericEventHandler; onTimeUpdateCapture?: GenericEventHandler; onVolumeChange?: GenericEventHandler; onVolumeChangeCapture?: GenericEventHandler; onWaiting?: GenericEventHandler; onWaitingCapture?: GenericEventHandler; onClick?: MouseEventHandler; onClickCapture?: MouseEventHandler; onContextMenu?: MouseEventHandler; onContextMenuCapture?: MouseEventHandler; onDblClick?: MouseEventHandler; onDblClickCapture?: MouseEventHandler; onDrag?: DragEventHandler; onDragCapture?: DragEventHandler; onDragEnd?: DragEventHandler; onDragEndCapture?: DragEventHandler; onDragEnter?: DragEventHandler; onDragEnterCapture?: DragEventHandler; onDragExit?: DragEventHandler; onDragExitCapture?: DragEventHandler; onDragLeave?: DragEventHandler; onDragLeaveCapture?: DragEventHandler; onDragOver?: DragEventHandler; onDragOverCapture?: DragEventHandler; onDragStart?: DragEventHandler; onDragStartCapture?: DragEventHandler; onDrop?: DragEventHandler; onDropCapture?: DragEventHandler; onMouseDown?: MouseEventHandler; onMouseDownCapture?: MouseEventHandler; onMouseEnter?: MouseEventHandler; onMouseEnterCapture?: MouseEventHandler; onMouseLeave?: MouseEventHandler; onMouseLeaveCapture?: MouseEventHandler; onMouseMove?: MouseEventHandler; onMouseMoveCapture?: MouseEventHandler; onMouseOut?: MouseEventHandler; onMouseOutCapture?: MouseEventHandler; onMouseOver?: MouseEventHandler; onMouseOverCapture?: MouseEventHandler; onMouseUp?: MouseEventHandler; onMouseUpCapture?: MouseEventHandler; onSelect?: GenericEventHandler; onSelectCapture?: GenericEventHandler; onTouchCancel?: TouchEventHandler; onTouchCancelCapture?: TouchEventHandler; onTouchEnd?: TouchEventHandler; onTouchEndCapture?: TouchEventHandler; onTouchMove?: TouchEventHandler; onTouchMoveCapture?: TouchEventHandler; onTouchStart?: TouchEventHandler; onTouchStartCapture?: TouchEventHandler; onPointerOver?: PointerEventHandler; onPointerOverCapture?: PointerEventHandler; onPointerEnter?: PointerEventHandler; onPointerEnterCapture?: PointerEventHandler; onPointerDown?: PointerEventHandler; onPointerDownCapture?: PointerEventHandler; onPointerMove?: PointerEventHandler; onPointerMoveCapture?: PointerEventHandler; onPointerUp?: PointerEventHandler; onPointerUpCapture?: PointerEventHandler; onPointerCancel?: PointerEventHandler; onPointerCancelCapture?: PointerEventHandler; onPointerOut?: PointerEventHandler; onPointerOutCapture?: PointerEventHandler; onPointerLeave?: PointerEventHandler; onPointerLeaveCapture?: PointerEventHandler; onGotPointerCapture?: PointerEventHandler; onGotPointerCaptureCapture?: PointerEventHandler; onLostPointerCapture?: PointerEventHandler; onLostPointerCaptureCapture?: PointerEventHandler; onScroll?: UIEventHandler; onScrollCapture?: UIEventHandler; onWheel?: WheelEventHandler; onWheelCapture?: WheelEventHandler; onAnimationStart?: AnimationEventHandler; onAnimationStartCapture?: AnimationEventHandler; onAnimationEnd?: AnimationEventHandler; onAnimationEndCapture?: AnimationEventHandler; onAnimationIteration?: AnimationEventHandler; onAnimationIterationCapture?: AnimationEventHandler; onTransitionEnd?: TransitionEventHandler; onTransitionEndCapture?: TransitionEventHandler; } interface HTMLMarqueeElement extends HTMLElement { behavior?: 'scroll' | 'slide' | 'alternate'; bgColor?: string; direction?: 'left' | 'right' | 'up' | 'down'; height?: number | string; hspace?: number | string; loop?: number | string; scrollAmount?: number | string; scrollDelay?: number | string; trueSpeed?: boolean; vspace?: number | string; width?: number | string; } type DOMCSSProperties = { [key in keyof Omit]?: string | number | null | undefined; }; type AllCSSProperties = { [key: string]: string | number | null | undefined; }; export interface CSSProperties extends AllCSSProperties, DOMCSSProperties { cssText?: string | null; } export type ClassNameItem = string | boolean; export type ClassName = (ClassNameItem | (ClassNameItem | (ClassNameItem[]))[]); type AttributeState = (G | IAtom); export interface HTMLAttributes extends DefaultReflexJSXAttributes, DOMAttributes { accept?: AttributeState; acceptCharset?: AttributeState; accessKey?: AttributeState; action?: AttributeState; allow?: AttributeState; allowFullScreen?: AttributeState; allowTransparency?: AttributeState; alt?: AttributeState; as?: AttributeState; async?: AttributeState; autocomplete?: AttributeState; autoComplete?: AttributeState; autocorrect?: AttributeState; autoCorrect?: AttributeState; autofocus?: AttributeState; autoFocus?: AttributeState; autoPlay?: AttributeState; capture?: AttributeState; cellPadding?: AttributeState; cellSpacing?: AttributeState; charSet?: AttributeState; challenge?: AttributeState; checked?: AttributeState; cite?: AttributeState; class?: AttributeState; className?: AttributeState; inert?: AttributeState; cols?: AttributeState; colSpan?: AttributeState; content?: AttributeState; contentEditable?: AttributeState; contextMenu?: AttributeState; controls?: AttributeState; controlsList?: AttributeState; coords?: AttributeState; crossOrigin?: AttributeState; data?: AttributeState; dateTime?: AttributeState; default?: AttributeState; defaultChecked?: AttributeState; defaultValue?: AttributeState; defer?: AttributeState; dir?: AttributeState<'auto' | 'rtl' | 'ltr'>; disabled?: AttributeState; disableRemotePlayback?: AttributeState; download?: AttributeState; decoding?: AttributeState<'sync' | 'async' | 'auto'>; draggable?: AttributeState; encType?: AttributeState; enterkeyhint?: AttributeState<'enter' | 'done' | 'go' | 'next' | 'previous' | 'search' | 'send'>; form?: AttributeState; formAction?: AttributeState; formEncType?: AttributeState; formMethod?: AttributeState; formNoValidate?: AttributeState; formTarget?: AttributeState; frameBorder?: AttributeState; headers?: AttributeState; height?: AttributeState; hidden?: AttributeState; high?: AttributeState; href?: AttributeState; hrefLang?: AttributeState; for?: AttributeState; htmlFor?: AttributeState; httpEquiv?: AttributeState; icon?: AttributeState; id?: AttributeState; inputMode?: AttributeState; integrity?: AttributeState; is?: AttributeState; keyParams?: AttributeState; keyType?: AttributeState; kind?: AttributeState; label?: AttributeState; lang?: AttributeState; list?: AttributeState; loading?: AttributeState<'eager' | 'lazy'>; loop?: AttributeState; low?: AttributeState; manifest?: AttributeState; marginHeight?: AttributeState; marginWidth?: AttributeState; max?: AttributeState; maxLength?: AttributeState; media?: AttributeState; mediaGroup?: AttributeState; method?: AttributeState; min?: AttributeState; minLength?: AttributeState; multiple?: AttributeState; muted?: AttributeState; name?: AttributeState; nomodule?: AttributeState; nonce?: AttributeState; noValidate?: AttributeState; open?: AttributeState; optimum?: AttributeState; part?: AttributeState; pattern?: AttributeState; ping?: AttributeState; placeholder?: AttributeState; playsInline?: AttributeState; poster?: AttributeState; preload?: AttributeState; radioGroup?: AttributeState; readonly?: AttributeState; readOnly?: AttributeState; referrerpolicy?: AttributeState<'no-referrer' | 'no-referrer-when-downgrade' | 'origin' | 'origin-when-cross-origin' | 'same-origin' | 'strict-origin' | 'strict-origin-when-cross-origin' | 'unsafe-url'>; rel?: AttributeState; required?: AttributeState; reversed?: AttributeState; role?: AttributeState; rows?: AttributeState; rowSpan?: AttributeState; sandbox?: AttributeState; scope?: AttributeState; scoped?: AttributeState; scrolling?: AttributeState; seamless?: AttributeState; selected?: AttributeState; shape?: AttributeState; size?: AttributeState; sizes?: AttributeState; slot?: AttributeState; span?: AttributeState; spellcheck?: AttributeState; spellCheck?: AttributeState; src?: AttributeState; srcset?: AttributeState; srcDoc?: AttributeState; srcLang?: AttributeState; srcSet?: AttributeState; start?: AttributeState; step?: AttributeState; style?: AttributeState; summary?: AttributeState; tabIndex?: AttributeState; target?: AttributeState; title?: AttributeState; type?: AttributeState; useMap?: AttributeState; value?: AttributeState; volume?: AttributeState; width?: AttributeState; wmode?: AttributeState; wrap?: AttributeState; autocapitalize?: AttributeState<'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters'>; autoCapitalize?: AttributeState<'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters'>; disablePictureInPicture?: AttributeState; results?: AttributeState; translate?: AttributeState<'yes' | 'no'>; about?: AttributeState; datatype?: AttributeState; inlist?: AttributeState; prefix?: AttributeState; property?: AttributeState; resource?: AttributeState; typeof?: AttributeState; vocab?: AttributeState; itemProp?: AttributeState; itemScope?: AttributeState; itemType?: AttributeState; itemID?: AttributeState; itemRef?: AttributeState; } export interface SVGAttributes extends HTMLAttributes { accentHeight?: AttributeState; accumulate?: AttributeState<'none' | 'sum'>; additive?: AttributeState<'replace' | 'sum'>; alignmentBaseline?: AttributeState<'auto' | 'baseline' | 'before-edge' | 'text-before-edge' | 'middle' | 'central' | 'after-edge' | 'text-after-edge' | 'ideographic' | 'alphabetic' | 'hanging' | 'mathematical' | 'inherit'>; allowReorder?: AttributeState<'no' | 'yes'>; alphabetic?: AttributeState; amplitude?: AttributeState; arabicForm?: AttributeState<'initial' | 'medial' | 'terminal' | 'isolated'>; ascent?: AttributeState; attributeName?: AttributeState; attributeType?: AttributeState; autoReverse?: AttributeState; azimuth?: AttributeState; baseFrequency?: AttributeState; baselineShift?: AttributeState; baseProfile?: AttributeState; bbox?: AttributeState; begin?: AttributeState; bias?: AttributeState; by?: AttributeState; calcMode?: AttributeState; capHeight?: AttributeState; clip?: AttributeState; clipPath?: AttributeState; clipPathUnits?: AttributeState; clipRule?: AttributeState; colorInterpolation?: AttributeState; colorInterpolationFilters?: AttributeState<'auto' | 'sRGB' | 'linearRGB' | 'inherit'>; colorProfile?: AttributeState; colorRendering?: AttributeState; contentScriptType?: AttributeState; contentStyleType?: AttributeState; cursor?: AttributeState; cx?: AttributeState; cy?: AttributeState; d?: AttributeState; decelerate?: AttributeState; descent?: AttributeState; diffuseConstant?: AttributeState; direction?: AttributeState; display?: AttributeState; divisor?: AttributeState; dominantBaseline?: AttributeState; dur?: AttributeState; dx?: AttributeState; dy?: AttributeState; edgeMode?: AttributeState; elevation?: AttributeState; enableBackground?: AttributeState; end?: AttributeState; exponent?: AttributeState; externalResourcesRequired?: AttributeState; fill?: AttributeState; fillOpacity?: AttributeState; fillRule?: AttributeState<'nonzero' | 'evenodd' | 'inherit'>; filter?: AttributeState; filterRes?: AttributeState; filterUnits?: AttributeState; floodColor?: AttributeState; floodOpacity?: AttributeState; focusable?: AttributeState; fontFamily?: AttributeState; fontSize?: AttributeState; fontSizeAdjust?: AttributeState; fontStretch?: AttributeState; fontStyle?: AttributeState; fontVariant?: AttributeState; fontWeight?: AttributeState; format?: AttributeState; from?: AttributeState; fx?: AttributeState; fy?: AttributeState; g1?: AttributeState; g2?: AttributeState; glyphName?: AttributeState; glyphOrientationHorizontal?: AttributeState; glyphOrientationVertical?: AttributeState; glyphRef?: AttributeState; gradientTransform?: AttributeState; gradientUnits?: AttributeState; hanging?: AttributeState; horizAdvX?: AttributeState; horizOriginX?: AttributeState; ideographic?: AttributeState; imageRendering?: AttributeState; in2?: AttributeState; in?: AttributeState; intercept?: AttributeState; k1?: AttributeState; k2?: AttributeState; k3?: AttributeState; k4?: AttributeState; k?: AttributeState; kernelMatrix?: AttributeState; kernelUnitLength?: AttributeState; kerning?: AttributeState; keyPoints?: AttributeState; keySplines?: AttributeState; keyTimes?: AttributeState; lengthAdjust?: AttributeState; letterSpacing?: AttributeState; lightingColor?: AttributeState; limitingConeAngle?: AttributeState; local?: AttributeState; markerEnd?: AttributeState; markerHeight?: AttributeState; markerMid?: AttributeState; markerStart?: AttributeState; markerUnits?: AttributeState; markerWidth?: AttributeState; mask?: AttributeState; maskContentUnits?: AttributeState; maskUnits?: AttributeState; mathematical?: AttributeState; mode?: AttributeState; numOctaves?: AttributeState; offset?: AttributeState; opacity?: AttributeState; operator?: AttributeState; order?: AttributeState; orient?: AttributeState; orientation?: AttributeState; origin?: AttributeState; overflow?: AttributeState; overlinePosition?: AttributeState; overlineThickness?: AttributeState; paintOrder?: AttributeState; panose1?: AttributeState; pathLength?: AttributeState; patternContentUnits?: AttributeState; patternTransform?: AttributeState; patternUnits?: AttributeState; pointerEvents?: AttributeState; points?: AttributeState; pointsAtX?: AttributeState; pointsAtY?: AttributeState; pointsAtZ?: AttributeState; preserveAlpha?: AttributeState; preserveAspectRatio?: AttributeState; primitiveUnits?: AttributeState; r?: AttributeState; radius?: AttributeState; refX?: AttributeState; refY?: AttributeState; renderingIntent?: AttributeState; repeatCount?: AttributeState; repeatDur?: AttributeState; requiredExtensions?: AttributeState; requiredFeatures?: AttributeState; restart?: AttributeState; result?: AttributeState; rotate?: AttributeState; rx?: AttributeState; ry?: AttributeState; scale?: AttributeState; seed?: AttributeState; shapeRendering?: AttributeState; slope?: AttributeState; spacing?: AttributeState; specularConstant?: AttributeState; specularExponent?: AttributeState; speed?: AttributeState; spreadMethod?: AttributeState; startOffset?: AttributeState; stdDeviation?: AttributeState; stemh?: AttributeState; stemv?: AttributeState; stitchTiles?: AttributeState; stopColor?: AttributeState; stopOpacity?: AttributeState; strikethroughPosition?: AttributeState; strikethroughThickness?: AttributeState; string?: AttributeState; stroke?: AttributeState; strokeDasharray?: AttributeState; strokeDashoffset?: AttributeState; strokeLinecap?: AttributeState<'butt' | 'round' | 'square' | 'inherit'>; strokeLinejoin?: AttributeState<'miter' | 'round' | 'bevel' | 'inherit'>; strokeMiterlimit?: AttributeState; strokeOpacity?: AttributeState; strokeWidth?: AttributeState; surfaceScale?: AttributeState; systemLanguage?: AttributeState; tableValues?: AttributeState; targetX?: AttributeState; targetY?: AttributeState; textAnchor?: AttributeState; textDecoration?: AttributeState; textLength?: AttributeState; textRendering?: AttributeState; to?: AttributeState; transform?: AttributeState; u1?: AttributeState; u2?: AttributeState; underlinePosition?: AttributeState; underlineThickness?: AttributeState; unicode?: AttributeState; unicodeBidi?: AttributeState; unicodeRange?: AttributeState; unitsPerEm?: AttributeState; vAlphabetic?: AttributeState; values?: AttributeState; vectorEffect?: AttributeState; version?: AttributeState; vertAdvY?: AttributeState; vertOriginX?: AttributeState; vertOriginY?: AttributeState; vHanging?: AttributeState; vIdeographic?: AttributeState; viewBox?: AttributeState; viewTarget?: AttributeState; visibility?: AttributeState; vMathematical?: AttributeState; widths?: AttributeState; wordSpacing?: AttributeState; writingMode?: AttributeState; x1?: AttributeState; x2?: AttributeState; x?: AttributeState; xChannelSelector?: AttributeState; xHeight?: AttributeState; xlinkActuate?: AttributeState; xlinkArcrole?: AttributeState; xlinkHref?: AttributeState; xlinkRole?: AttributeState; xlinkShow?: AttributeState; xlinkTitle?: AttributeState; xlinkType?: AttributeState; xmlBase?: AttributeState; xmlLang?: AttributeState; xmlns?: AttributeState; xmlnsXlink?: AttributeState; xmlSpace?: AttributeState; y1?: AttributeState; y2?: AttributeState; y?: AttributeState; yChannelSelector?: AttributeState; z?: AttributeState; zoomAndPan?: AttributeState; } export interface ReflexIntrinsicElements { a: HTMLAttributes; abbr: HTMLAttributes; address: HTMLAttributes; area: HTMLAttributes; article: HTMLAttributes; aside: HTMLAttributes; audio: HTMLAttributes; b: HTMLAttributes; base: HTMLAttributes; bdi: HTMLAttributes; bdo: HTMLAttributes; big: HTMLAttributes; blockquote: HTMLAttributes; body: HTMLAttributes; br: HTMLAttributes; button: HTMLAttributes; canvas: HTMLAttributes; caption: HTMLAttributes; cite: HTMLAttributes; code: HTMLAttributes; col: HTMLAttributes; colgroup: HTMLAttributes; data: HTMLAttributes; datalist: HTMLAttributes; dd: HTMLAttributes; del: HTMLAttributes; details: HTMLAttributes; dfn: HTMLAttributes; dialog: HTMLAttributes; div: HTMLAttributes; dl: HTMLAttributes; dt: HTMLAttributes; em: HTMLAttributes; embed: HTMLAttributes; fieldset: HTMLAttributes; figcaption: HTMLAttributes; figure: HTMLAttributes; footer: HTMLAttributes; form: HTMLAttributes; h1: HTMLAttributes; h2: HTMLAttributes; h3: HTMLAttributes; h4: HTMLAttributes; h5: HTMLAttributes; h6: HTMLAttributes; head: HTMLAttributes; header: HTMLAttributes; hgroup: HTMLAttributes; hr: HTMLAttributes; html: HTMLAttributes; i: HTMLAttributes; iframe: HTMLAttributes; img: HTMLAttributes; input: HTMLAttributes & { defaultValue?: string; }; ins: HTMLAttributes; kbd: HTMLAttributes; keygen: HTMLAttributes; label: HTMLAttributes; legend: HTMLAttributes; li: HTMLAttributes; link: HTMLAttributes; main: HTMLAttributes; map: HTMLAttributes; mark: HTMLAttributes; marquee: HTMLAttributes; menu: HTMLAttributes; menuitem: HTMLAttributes; meta: HTMLAttributes; meter: HTMLAttributes; nav: HTMLAttributes; noscript: HTMLAttributes; object: HTMLAttributes; ol: HTMLAttributes; optgroup: HTMLAttributes; option: HTMLAttributes; output: HTMLAttributes; p: HTMLAttributes; param: HTMLAttributes; picture: HTMLAttributes; pre: HTMLAttributes; progress: HTMLAttributes; q: HTMLAttributes; rp: HTMLAttributes; rt: HTMLAttributes; ruby: HTMLAttributes; s: HTMLAttributes; samp: HTMLAttributes; script: HTMLAttributes; section: HTMLAttributes; select: HTMLAttributes; slot: HTMLAttributes; small: HTMLAttributes; source: HTMLAttributes; span: HTMLAttributes; strong: HTMLAttributes; style: HTMLAttributes; sub: HTMLAttributes; summary: HTMLAttributes; sup: HTMLAttributes; table: HTMLAttributes; tbody: HTMLAttributes; td: HTMLAttributes; textarea: HTMLAttributes; tfoot: HTMLAttributes; th: HTMLAttributes; thead: HTMLAttributes; time: HTMLAttributes; title: HTMLAttributes; tr: HTMLAttributes; track: HTMLAttributes; u: HTMLAttributes; ul: HTMLAttributes; var: HTMLAttributes; video: HTMLAttributes; wbr: HTMLAttributes; svg: SVGAttributes; animate: SVGAttributes; circle: SVGAttributes; animateTransform: SVGAttributes; clipPath: SVGAttributes; defs: SVGAttributes; desc: SVGAttributes; ellipse: SVGAttributes; feBlend: SVGAttributes; feColorMatrix: SVGAttributes; feComponentTransfer: SVGAttributes; feComposite: SVGAttributes; feConvolveMatrix: SVGAttributes; feDiffuseLighting: SVGAttributes; feDisplacementMap: SVGAttributes; feDropShadow: SVGAttributes; feFlood: SVGAttributes; feFuncA: SVGAttributes; feFuncB: SVGAttributes; feFuncG: SVGAttributes; feFuncR: SVGAttributes; feGaussianBlur: SVGAttributes; feImage: SVGAttributes; feMerge: SVGAttributes; feMergeNode: SVGAttributes; feMorphology: SVGAttributes; feOffset: SVGAttributes; feSpecularLighting: SVGAttributes; feTile: SVGAttributes; feTurbulence: SVGAttributes; filter: SVGAttributes; foreignObject: SVGAttributes; g: SVGAttributes; image: SVGAttributes; line: SVGAttributes; linearGradient: SVGAttributes; marker: SVGAttributes; mask: SVGAttributes; path: SVGAttributes; pattern: SVGAttributes; polygon: SVGAttributes; polyline: SVGAttributes; radialGradient: SVGAttributes; rect: SVGAttributes; stop: SVGAttributes; symbol: SVGAttributes; text: SVGAttributes; textPath: SVGAttributes; tspan: SVGAttributes; use: SVGAttributes; } export {};