import type { Properties } from 'csstype'; export type CSSTypeProperties = Properties; export type CSSProperties = { [Property in keyof CSSTypeProperties]: CSSTypeProperties[Property] | Array; }; export interface ChildStyleRule extends CSSProperties { [key: `--${string}`]: string; [key: `${string}&${string}`]: ChildStyleRule; [key: `@container ${string}`]: ChildStyleRule; [key: `@layer ${string}`]: ChildStyleRule; [key: `@media ${string}`]: ChildStyleRule; [key: `@supports ${string}`]: ChildStyleRule; } export interface StyleRule extends ChildStyleRule { composes?: string[]; } export interface ChildKeyframeRule extends CSSProperties { variables?: { [key: string]: string; }; } export interface KeyframeRule { [time: string]: ChildKeyframeRule; } export interface VariableRule { inherits?: boolean; initialValue?: string; syntax?: string; } export declare const createStyles: (defs: Record) => Readonly>; export declare const createKeyframes: (defs: Record) => Readonly>; export declare const createVariables: (defs: Record) => Readonly<{ [K in T]: `--${K}`; }>; export declare const join: (...classes: Array) => string;