import { Component, Tracked } from 'ripple'; export type Assign = Omit & U; export type Optional = Pick, K> & Omit; export type Accessor = () => T; export type JsxElements = { [E in keyof HTMLElementTagNameMap]: (props: Record & PolymorphicProps) => any; }; export type ElementType = keyof JSX.IntrinsicElements; export type HTMLProps = JSX.IntrinsicElements[E]; type ParentProps = (userProps?: JSX.IntrinsicElements[E]) => HTMLProps; export type PolymorphicProps = { /** * The children snippet of the component. */ children?: Component; /** * Use the provided child element as the default rendered element, combining their props and behavior. */ asChild?: Component>; /** * The element to render. */ element?: E; }; export type MaybeTracked = { [K in keyof T]: T[K] | Tracked; }; export {};