import type { HTMLAttributes, HTMLButtonAttributes, HTMLFieldsetAttributes, HTMLFormAttributes, HTMLInputAttributes, HTMLLabelAttributes } from "svelte/elements"; /** Strips keys containing colons from a type (used to remove Svelte 4 event directive keys such as `on:event`). */ type StripColonKeys = { [K in keyof T as K extends `${string}:${string}` ? never : K]: T[K]; }; type Primitive = StripColonKeys & { id?: string; }>; export type PrimitiveButtonAttributes = Primitive; export type PrimitiveDivAttributes = Primitive>; export type PrimitiveInputAttributes = Primitive; export type PrimitiveSpanAttributes = Primitive>; export type PrimitiveFormAttributes = Primitive; export type PrimitiveFieldsetAttributes = Primitive; export type PrimitiveLegendAttributes = Primitive>; export type PrimitiveParagraphAttributes = Primitive>; export type PrimitiveLabelAttributes = Primitive; export {};