import type { PropertiesHyphen } from "csstype"; export declare function createTheme(def: Def): ThemeResult; export declare function isSchemeValue(value: unknown): value is SchemeValue; export declare function createCSSTheme, L extends Record, Def extends Record>(vars: V, literals: L, def: Def): Record; type CreateThemeDefinition = Record; type ThemeValue = { literals?: Literals; varPrefix?: string; vars: Vars; } | { literals: Literals; varPrefix?: never; vars?: never; }; export type ColorScheme = "light" | "dark"; type SchemeValue = { light: string; dark: string; }; type Literals = Record; type Vars = Record; type ThemeResult = { theme: { [Key in keyof Def]: ThemeResultValue; }; vars: { [Key in keyof Def]: Vars; }; literals: { [Key in keyof Def]: Literals; }; }; type ThemeResultValue = Value["literals"] & { [Key in keyof Value["vars"]]: string; }; export {};