import type { CssVarsObject } from '../../ricos-types/index.js';
export declare function toHexFormat(color: string): string;
export declare function canTransformToHex(color: string): boolean;
/**
 * Ricos Brightness standard
 * @param hexColor Color in HEX format
 */
export declare function isBright(hexColor?: string): boolean;
/**
 * Converts a given action color into a default, darker `fallbackColor`
 * if the given one is too bright. else, returns `actionColor`.
 *
 * Use this to prevent "bright-on-bright" content occurrence.
 * @param actionColor HEX Format
 */
export declare function adaptForeground(actionColor?: string, fallbackColor?: string): string | undefined;
/**
 * Creates an RGB tuple based on a given HEX color.
 * (Used for CSS-Vars tuples in `params.scss`).
 * @example
 * toRgbTuple('#FFFFFF') => '255, 255, 255'
 *
 * @param hexColor color in HEX format
 * @returns RGB tuple
 */
export declare function toRgbTuple(hexColor?: string): string | undefined;
/**
 * Converts `hexColor` from HEX format to a CSS RGBA string
 * @example
 * toCssRgbA('#FFFFFF', 0.5) => 'rgba(255, 255, 255, 0.5)'
 *
 * @param hexColor color in HEX format
 * @returns RGB object
 */
export declare function toCssRgbA(hexColor: string | undefined, opacity: number): string | undefined;
export declare function toCssRgb(rgbTuple: string): string;
export declare const toDashedKey: (str: string) => string;
export declare const toVarStrings: (varsObject: CssVarsObject) => string;
export declare const buildCssVars: (parentClass: string, ...varObjects: CssVarsObject[]) => string;
export declare const buildCssVarsObj: (varObject: CssVarsObject) => CssVarsObject;
export declare const anyCssColorToHex: (color: string, element: HTMLElement) => string;
//# sourceMappingURL=theme-utils.d.ts.map