import { RYB_ITTEN } from './itten'; /** * Represents a color in RGB/HSX... space as an array of three numbers. * @typedef {[number, number, number]} ColorCoords */ export type ColorCoords = [number, number, number]; /** * Represents a color cube with exactly 8 RGB colors for RYB to RGB mapping. * The colors are ordered as: white, red, yellow, orange, blue, violet, green, black * @typedef {[ColorCoords, ColorCoords, ColorCoords, ColorCoords, ColorCoords, ColorCoords, ColorCoords, ColorCoords]} ColorCube */ export type ColorCube = [ ColorCoords, ColorCoords, ColorCoords, ColorCoords, ColorCoords, ColorCoords, ColorCoords, ColorCoords ]; /** * Map storing historical and modern color cube definitions with their metadata. * @typedef {Map} CubesMap */ export type CubesMap = ReadonlyMap; /** * The default cube lives in its own module so that importing the main entry * does not pull the whole catalog below into consumer bundles. */ export { RYB_ITTEN }; export declare const cubes: CubesMap;