import { Dict } from "@teste-ui/utils"; import * as CSS from "csstype"; import type { BackgroundProps, BorderProps, ColorProps, EffectProps, FilterProps, FlexboxProps, GridProps, InteractivityProps, LayoutProps, ListProps, OtherProps, PositionProps, RingProps, SpaceProps, TextDecorationProps, TransformProps, TransitionProps, TypographyProps, ScrollProps } from "./config"; import { Pseudos } from "./pseudos"; import { ResponsiveValue } from "./utils/types"; export interface StyleProps extends SpaceProps, ColorProps, TransitionProps, TypographyProps, FlexboxProps, TransformProps, GridProps, FilterProps, LayoutProps, BorderProps, EffectProps, BackgroundProps, ListProps, PositionProps, RingProps, ScrollProps, InteractivityProps, TextDecorationProps, OtherProps { } export interface SystemCSSProperties extends CSS.Properties, Omit { } export declare type ThemeThunk = T | ((theme: Dict) => T); declare type PropertyValue = ThemeThunk>; export declare type CSSWithMultiValues = { [K in keyof SystemCSSProperties]?: K extends keyof StyleProps ? StyleProps[K] | PropertyValue : PropertyValue; }; declare type PseudoKeys = keyof CSS.Pseudos | keyof Pseudos; declare type PseudoSelectorDefinition = D | RecursivePseudo; export declare type RecursivePseudo = { [K in PseudoKeys]?: PseudoSelectorDefinition & D; }; declare type CSSDefinition = D | string | RecursiveCSSSelector; export interface RecursiveCSSSelector { [selector: string]: CSSDefinition & D; } export declare type RecursiveCSSObject = D & (D | RecursivePseudo | RecursiveCSSSelector); export declare type CSSObject = RecursiveCSSObject; export declare type SystemStyleObject = CSSObject; export interface FunctionCSSInterpolation { (theme: Dict): CSSObject; } export declare type StyleObjectOrFn = CSSObject | FunctionCSSInterpolation; declare type PseudoProps = { [K in keyof Pseudos]?: SystemStyleObject; }; export interface SystemProps extends StyleProps, PseudoProps { } export {}; //# sourceMappingURL=system.types.d.ts.map