function styleVariants<M extends Record<string | number, ComplexStyleRule>>(styleMap: M, debugId?: string): Record<keyof M, string>
function styleVariants<D extends Record<string | number, unknown>, K extends string | number | symbol>(data: D, mapData: (value: D[K], key: K) => ComplexStyleRule, debugId?: string): Record<keyof D, string>
Import
import { styleVariants } from '@modular/sdk/ui';