
import { Tokens } from "../types.js";
import { CSSProperties } from "react";

//#region src/tasty/utils/process-tokens.d.ts
/**
 * Convert HSL to RGB (sRGB).
 * Algorithm from: https://en.wikipedia.org/wiki/HSL_and_HSV#HSL_to_RGB_alternative
 * Same as used in CSS Color 4 spec.
 *
 * @param h - Hue in degrees (0-360)
 * @param s - Saturation (0-1)
 * @param l - Lightness (0-1)
 * @returns RGB values in 0-255 range (may have fractional values)
 */
declare function hslToRgbValues(h: number, s: number, l: number): [number, number, number];
/**
 * Process tokens object into inline style properties.
 * - $name -> --name with parsed value
 * - #name -> --name-color AND --name-color-rgb with parsed values
 *
 * @param tokens - The tokens object to process
 * @returns CSSProperties object or undefined if no tokens to process
 */
declare function processTokens(tokens: Tokens | undefined): CSSProperties | undefined;
/**
 * Stringify tokens for memoization key.
 */
declare function stringifyTokens(tokens: Tokens | undefined): string;
//#endregion
export { hslToRgbValues, processTokens, stringifyTokens };
//# sourceMappingURL=process-tokens.d.ts.map