import type { Properties as CSSProperties } from 'csstype'; import type { ResponsiveValue } from '../components/types/responsiveValue'; import type { ColorType } from '../components/types/utils'; import type { ImageStyle, TextStyle, ViewStyle } from 'react-native'; import type { ITheme } from './index'; import type { StyledPropConfig } from './styled-system'; declare type RNStyles = ViewStyle & ImageStyle & TextStyle; declare type GetThemeScaleValues = 'colors' extends T ? ColorType : ResponsiveValue; declare type GetRNStyles = scale extends keyof ITheme ? GetThemeScaleValues : key extends keyof CSSProperties ? ResponsiveValue : key extends keyof RNStyles ? ResponsiveValue : unknown; declare type AllProps = { [key in Extract]?: T[key] extends boolean ? GetRNStyles : key extends 'shadow' ? GetRNStyles : T[key] extends { property: any; scale: any; } ? GetRNStyles : T[key] extends { properties: any; scale: any; } ? T[key]['properties'] extends { '0': string; } ? GetRNStyles : unknown : unknown; }; export declare type StyledProps = Omit, 'gap' | 'verticalAlign' | 'borderBottom' | 'borderTop' | 'borderLeft' | 'borderRight' | 'wordBreak' | 'justifySelf' | 'overflowWrap' | 'textOverflow' | 'whiteSpace' | 'outline' | 'outlineWidth' | 'cursor' | 'userSelect' | 'order' | 'backgroundSize' | 'backgroundPosition' | 'backgroundRepeat' | 'backgroundAttachment' | 'backgroundBlendMode' | 'bgSize' | 'bgPosition' | 'bgRepeat' | 'bgAttachment' | 'bgBlendMode' | 'bgImage' | 'bgImg' | 'bgPos'>; export {};