/** @internal */
export type RGB = [number, number, number];
/** @internal */
export type HSL = [number, number, number];
/** @internal */
export interface ColorTintConfig {
  title: string;
  hsl: HSL;
}
/** @internal */
export interface ColorHueConfig {
  title: string;
  tints: { [key in ColorTintKey]: ColorTintConfig; };
}
/** @internal */
export interface ColorConfig {
  black: ColorTintConfig;
  white: ColorTintConfig;
  gray: ColorHueConfig;
  blue: ColorHueConfig;
  purple: ColorHueConfig;
  magenta: ColorHueConfig;
  red: ColorHueConfig;
  orange: ColorHueConfig;
  yellow: ColorHueConfig;
  green: ColorHueConfig;
  cyan: ColorHueConfig;
}
/** @public */
export interface ColorTint {
  hex: string;
  title: string;
}
/** @public */
export type ColorTintKey = '50' | '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900' | '950';
/** @public */
export type ColorTints = { [key in ColorTintKey]: ColorTint; };
/** @public */
export type ColorHueKey = 'gray' | 'red' | 'orange' | 'yellow' | 'green' | 'cyan' | 'blue' | 'purple' | 'magenta';
/** @public */
export type ColorHues = { [key in ColorHueKey]: ColorTints; };
/** @public */
export interface Color extends ColorHues {
  black: ColorTint;
  white: ColorTint;
}
/** @internal */
export declare function buildTints(options: {
  hueKey: ColorHueKey;
  black: ColorTintConfig;
  color: ColorHueConfig;
}): ColorTints;
/** @public */
export declare const black: ColorTint;
/** @public */
export declare const white: ColorTint;
/** @public */
export declare const gray: ColorTints;
/** @public */
export declare const blue: ColorTints;
/** @public */
export declare const purple: ColorTints;
/** @public */
export declare const magenta: ColorTints;
/** @public */
export declare const red: ColorTints;
/** @public */
export declare const orange: ColorTints;
/** @public */
export declare const yellow: ColorTints;
/** @public */
export declare const green: ColorTints;
/** @public */
export declare const cyan: ColorTints;
/** @public */
export declare const hues: ColorHues;
/** @public */
export declare const color: Color;
/** @internal */
export declare const config: ColorConfig;
/**
 * Color hue keys.
 * @public
 */
export declare const COLOR_HUES: ColorHueKey[];
/**
 * Color tint keys.
 * @public
 */
export declare const COLOR_TINTS: ColorTintKey[];
/** @internal */
export declare function hexToRgb(hex: string): RGB;
/** @internal */
export declare function hslToRgb(hsl: HSL): RGB;
/** @internal */
export declare function rgbToHex([r, g, b]: RGB): string;
/**
 * @see https://css-tricks.com/converting-color-spaces-in-javascript/
 *
 * @internal
 */
export declare function rgbToHsl([r, g, b]: RGB): HSL;
/**
 * Apply the `darken` blend mode
 * Source: https://www.w3.org/TR/compositing-1/#blendingdarken
 *
 * @internal
 */
export declare function darken(b: RGB, s: RGB): RGB;
/** @internal */
export declare function limit(darkest: RGB, lightest: RGB, source: RGB): RGB;
/**
 * Apply the `screen` blend mode
 * Source: https://www.w3.org/TR/compositing-1/#blendingscreen
 *
 * @internal
 */
export declare function screen(b: RGB, s: RGB): RGB;
//# sourceMappingURL=index.d.cts.map