/// import type { CssFunction } from '../types'; declare type WithConditionalCSSProp = 'className' extends keyof TProps ? string extends TProps['className' & keyof TProps] ? { /** * ## CSS prop * * Style a JSX element. * For further details [read the API documentation](https://compiledcssinjs.com/docs/api-css-prop). * * ### Style with objects * * @example * ``` * import { css } from '@evensix-compiled/react'; * *
* ``` * * ### Style with template literals * * @example * ``` * import { css } from '@evensix-compiled/react'; * *
* ``` * * ### Compose styles with arrays * * @example * ``` * import { css } from '@evensix-compiled/react'; * *
* ``` */ css?: CssFunction | CssFunction[]; } : {} : {}; declare type ReactJSXElement = JSX.Element; declare type ReactJSXElementClass = JSX.ElementClass; declare type ReactJSXElementAttributesProperty = JSX.ElementAttributesProperty; declare type ReactJSXElementChildrenAttribute = JSX.ElementChildrenAttribute; declare type ReactJSXLibraryManagedAttributes = JSX.LibraryManagedAttributes; declare type ReactJSXIntrinsicAttributes = JSX.IntrinsicAttributes; declare type ReactJSXIntrinsicClassAttributes = JSX.IntrinsicClassAttributes; declare type ReactJSXIntrinsicElements = JSX.IntrinsicElements; export declare namespace CompiledJSX { type Element = ReactJSXElement; type ElementClass = ReactJSXElementClass; type ElementAttributesProperty = ReactJSXElementAttributesProperty; type ElementChildrenAttribute = ReactJSXElementChildrenAttribute; type LibraryManagedAttributes = WithConditionalCSSProp

& ReactJSXLibraryManagedAttributes; type IntrinsicAttributes = ReactJSXIntrinsicAttributes; type IntrinsicClassAttributes = ReactJSXIntrinsicClassAttributes; type IntrinsicElements = { [K in keyof ReactJSXIntrinsicElements]: ReactJSXIntrinsicElements[K] & { css?: CssFunction | CssFunction[]; }; }; } export {};