import type { ColorScheme, Orientation, Platform } from '@/common/consts'; import type { AbsoluteFontWeight, Declaration, GradientItemFor_DimensionPercentageFor_LengthValue, LineDirection, MathFunctionFor_DimensionPercentageFor_LengthValue, MathFunctionFor_Length, MediaFeatureValue, ParsedComponent, Token, TokenOrValue, UnresolvedColor } from 'lightningcss'; export type MediaQueryResolver = { maxWidth: any; minWidth: any; platform: Platform | null; rtl: boolean | null; important: boolean; importantProperties?: Array; colorScheme: ColorScheme | null; theme: string | null; orientation: Orientation | null; disabled: boolean | null; active: boolean | null; focus: boolean | null; dataAttributes: Record | null; }; type TakeArray = T extends Array ? T : never; export type DeclarationValues = Declaration['value'] | TakeArray[number] | TokenOrValue | Token | ParsedComponent | Array | MediaFeatureValue | MathFunctionFor_DimensionPercentageFor_LengthValue | MathFunctionFor_Length | LineDirection | GradientItemFor_DimensionPercentageFor_LengthValue | AbsoluteFontWeight | UnresolvedColor; export type DeclarationProperty = Declaration['property']; export type ProcessMetaValues = { className?: string | null; }; export type StyleSheetTemplate = { [K: string]: Array>; }; export {};