import type { DetailedHTMLProps, ForwardedRef, HTMLAttributes, PropsWithChildren, WeakValidationMap } from "react"; import type ReactElementProps from "../../types/react-element-properties/react-element-properties"; export type PyBoxPropertiesBase = PropsWithChildren, HTMLElement>> & { widths?: string; }>; export type PyBoxProperties = OptionalProperties extends infer OptionalProperties ? OptionalProperties & PyBoxPropertiesBase : PyBoxPropertiesBase; export type PyBoxTag = { (properties: PyBoxProperties, reference?: ForwardedRef): JSX.Element; displayName?: string; defaultProps?: Partial; propTypes?: WeakValidationMap; };