
import { ColorMode, ColorsConfig, ElevationLevel, ElevationPreset, FocusRingConfig, Hue, HueStep, PaletteConfig, PaletteType, ScaleMode } from "../packages/types/dist/index.js";
import { UniversalTokensConfig } from "../packages/config/dist/index.js";

//#region ../tailwind-internal/dist/utils/parseTokens.d.ts
//#region src/utils/parseTokens.d.ts
type ColorModeElevationPresets = Partial<Record<ElevationLevel, ElevationPreset>>;
declare function transformColors(colors: ColorsConfig, elevationPresets: ColorModeElevationPresets, focusRingConfig?: FocusRingConfig): {
  _vars: Record<string, string>;
  _raw: ColorsConfig;
  tailwindConfig: {
    spectrum: Record<Hue, Record<HueStep, string>>;
    palette: { [key in PaletteType]: Record<keyof PaletteConfig[key], string> };
  };
};
declare function transformNumericToPx<T extends Record<string, number>>(prefix: string, config: T): {
  _vars: Record<string, string>;
  _raw: Record<string, number>;
  tailwindConfig: Record<string, string>;
};
type WebTokens = Omit<UniversalTokensConfig, 'colorMode' | 'scaleMode' | 'fontFamily'> & {
  colorMode: Record<ColorMode, ReturnType<typeof transformColors>>;
  scaleMode: Record<ScaleMode, {
    borderRadius: ReturnType<typeof transformNumericToPx>;
    borderWidth: ReturnType<typeof transformNumericToPx>;
    avatarSizes: ReturnType<typeof transformNumericToPx>;
    iconSizes: ReturnType<typeof transformNumericToPx>;
  }>;
};
declare function parseTokens(config: UniversalTokensConfig): WebTokens; //#endregion
//#endregion
export { type WebTokens, parseTokens };