import type { HTMLAnchorAttributes, HTMLAttributes, HTMLButtonAttributes, HTMLImgAttributes, HTMLInputAttributes, HTMLLabelAttributes, HTMLLiAttributes, HTMLSelectAttributes, HTMLTableAttributes, HTMLTdAttributes, HTMLThAttributes, SVGAttributes } from "svelte/elements"; export type BitsDivAttributes = HTMLAttributes; export type BitsSpanAttributes = HTMLAttributes; export type BitsHeadingAttributes = HTMLAttributes; export type BitsUListAttributes = HTMLAttributes; export type BitsElementAttributes = HTMLAttributes; export type BitsTableSectionAttributes = HTMLAttributes; export type BitsTableRowAttributes = HTMLAttributes; export type BitsSVGElementAttributes = SVGAttributes; export type BitsSelectAttributes = HTMLSelectAttributes; /** * We override the `id` prop type to not allow it to be `null`. We rely on the * `id` heavily in the internals of Bits UI for node references. We also override * children to allow for custom children snippet props. We extend `style` to allow * for either a `StyleProperties` object or a string of CSS properties. */ type BitsPrimitive = Omit & { id?: string; }; export type BitsPrimitiveButtonAttributes = BitsPrimitive; export type BitsPrimitiveDivAttributes = BitsPrimitive; export type BitsPrimitiveInputAttributes = BitsPrimitive; export type BitsPrimitiveSpanAttributes = BitsPrimitive; export type BitsPrimitiveImgAttributes = BitsPrimitive; export type BitsPrimitiveHeadingAttributes = BitsPrimitive; export type BitsPrimitiveLabelAttributes = BitsPrimitive; export type BitsPrimitiveSVGAttributes = BitsPrimitive; export type BitsPrimitiveAnchorAttributes = BitsPrimitive; export type BitsPrimitiveLiAttributes = BitsPrimitive; export type BitsPrimitiveElementAttributes = BitsPrimitive; export type BitsPrimitiveUListAttributes = BitsPrimitive; export type BitsPrimitiveTdAttributes = BitsPrimitive; export type BitsPrimitiveThAttributes = BitsPrimitive; export type BitsPrimitiveTableAttributes = BitsPrimitive; export type BitsPrimitiveTbodyAttributes = BitsPrimitive; export type BitsPrimitiveTrAttributes = BitsPrimitive; export type BitsPrimitiveTheadAttributes = BitsPrimitive; export type BitsPrimitiveHeaderAttributes = BitsPrimitive; export type BitsPrimitiveSelectAttributes = BitsPrimitive; export {};