import './astro-jsx'; import type { AstroBuiltinAttributes } from './dist/@types/astro.js'; import type { Simplify } from './dist/type-utils.js'; /** Any supported HTML or SVG element name, as defined by the HTML specification */ export type HTMLTag = keyof astroHTML.JSX.DefinedIntrinsicElements; /** The built-in attributes for any known HTML or SVG element name */ export type HTMLAttributes = Omit< astroHTML.JSX.IntrinsicElements[Tag], keyof Omit >; /** * All the CSS properties available, as defined by the CSS specification */ export type CSSProperty = keyof astroHTML.JSX.KebabCSSDOMProperties; type PolymorphicAttributes

= Omit

, 'as'> & { as?: P['as']; }; export type Polymorphic

= PolymorphicAttributes< Omit & { as: NonNullable } >; export type ComponentProps any> = Simplify[0]>;