export type CssUnit = "px" | "em" | "rem" | "%" | "vh" | "vw" | "s" | "ms" | "deg" | "_"; export type CssValue = string | number | boolean | null | undefined | Readonly<{ value: string | number; unit?: string; }>; export interface CssText { id: string; css: string; } export interface CssRule { id: string; selector: string; body: string; } export type CssProp = Record; export type CssRuleBlock = { selector: string; declarations: CssProp; }; export interface CssRuleBuilder { readonly id: string; readonly selector: string; set(property: string, value: CssValue): CssRuleBuilder; setMany(decls: Record): CssRuleBuilder; remove(): void; } export type CssPseudoKey = "_hover" | "_active" | "_focus" | "_focusWithin" | "_focusVisible" | "_visited" | "_checked" | "_disabled" | "__before" | "__after"; type StringKeys = Extract; type KeysWithStringValues = { [K in StringKeys]: T[K] extends string ? K : never; }[StringKeys]; export type AllowedStyleKey = Exclude, "cssText">; export type CssKey = string; export type CssVarName = `--${string}`; interface CssMapBase_ extends Partial> { [k: string]: CssValue | CssMapBase_ | undefined; } export type CssMapBase = Readonly; export type CssMap = Readonly>>; export {}; //# sourceMappingURL=style.types.d.ts.map