import { type ITheme, type IThemePalette } from "@gooddata/sdk-model"; import { type CssProperty } from "./cssProperty.js"; export declare function handleUnits(value: string): string; /** * @internal */ export type ParserFunction = { key: string; fn: (value: any, isScoped?: boolean, scopeTo?: HTMLElement, scopeId?: string) => string; }; /** * @internal */ export declare function parseThemeToCssProperties(object: ITheme, parserFunctions?: ParserFunction[], currentKey?: string, isScoped?: boolean, scopeTo?: HTMLElement, scopeId?: string): CssProperty[]; export declare const generateShadowColor: (palette: IThemePalette, isDarkTheme: boolean) => CssProperty[]; export declare const clearCssProperties: (isScoped?: boolean | undefined, scopeTo?: HTMLElement | undefined, scopeId?: string | undefined) => void; /** * Converts properties from theme object into CSS variables and injects them into * * The CSS variable name is defined as a path through the theme object to the given value, e.g.: * ``` * { * palette: { * primary: { * base: #14b2e2; * } * } * } * ``` * is converted to "palette-primary-base" variable with value #14b2e2 * * @internal */ export declare function setCssProperties(theme: ITheme, isDarkTheme: boolean, isScoped?: boolean, scopeTo?: HTMLElement, scopeId?: string): void; //# sourceMappingURL=cssProperties.d.ts.map