import type { SxProp } from "./types.js"; import type { JSX as ReactJSX } from 'react'; type WithConditionalSxProp

= 'className' extends keyof P ? string extends P['className'] ? P & SxProp : P : P; export declare namespace ThemeUIJSX { type Element = ReactJSX.Element; type ElementType = ReactJSX.ElementType; type ElementClass = ReactJSX.ElementClass; type ElementAttributesProperty = ReactJSX.ElementAttributesProperty; type ElementChildrenAttribute = ReactJSX.ElementChildrenAttribute; type LibraryManagedAttributes = WithConditionalSxProp

& ReactJSX.LibraryManagedAttributes; type IntrinsicAttributes = ReactJSX.IntrinsicAttributes; type IntrinsicClassAttributes = ReactJSX.IntrinsicClassAttributes; type IntrinsicElements = { [K in keyof ReactJSX.IntrinsicElements]: ReactJSX.IntrinsicElements[K] & SxProp; }; } export {};